Added a comment there that should hopefully explain it. Basically it is because each odf file might spans over more than one day, which for the latest one means that it can exceed the time interval...
I went through the example code, and it looks really good! I haven't tried to run it (but I think a part is commented out at the end that is crucial to run it?) I added a bunch of small comments, m...
Why is this step necessary? All observations that cover the unsupported time period should have been filtered out already right? Not saying it needs to go, but it's important to explain why it's here