-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue421 improvements for specifying temporal extent with single string #468
Issue421 improvements for specifying temporal extent with single string #468
Conversation
…a year or a month
…can be a year or a month
…n and improve docstrings
…ube.filter_temporal
Closed accidentally, I hit the wrong button or something. So I reopened it. |
…stead of tuple in load_collection and filter_temporal
…ndling available sinche v0.23.0
…ral-extent-with-single-string
…ral-extent-with-single-string
FYI: I pushed a commit on this feature branch to further finetune the docs (improve hierarchy a bit, moved some things around and tried to make some things more compact). Doing it a commit seemed easier than trying to explain it as PR review :) |
While reading the new docs and going through the tests, I'm starting to think that my suggestion from #421 (comment)
was a bad idea. As you note in the docs and code comments, the behavior is now inconsistent and confusing I think:
I think we should work "left-closed" style everywhere. As I'm knee-deep in the code already, I'm going to give it a go: starting with updating/extending the tests to make the outcomes more consistent, and then seeing if I can fix the implementation as well |
…tency The "round up" end_date feature as originally proposed turned out to conflict too much with existing behavior and openEO spec. Still, the idea can still be provided through single string `extent`: "2022" -> ("2022-01-01", "2023-01-01")
… better consistency
… better consistency
Much better indeed. With your improvements, I find the usage a lot easier to understand. |
ok thanks for the review, |
rebased and merged in b734ea8 |
More improvements for issue #421
Follow up after PR #461
Overview of Changes