Skip to content
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

load_stac: omit time interval in STAC API search request if no temporal extent provided #950

Open
bossie opened this issue Nov 26, 2024 · 1 comment

Comments

@bossie
Copy link
Collaborator

bossie commented Nov 26, 2024

If a date-time interval is passed to a STAC API search request, VITO STAC APIs will only consider including items for which the datetime property is set; items that lack a datetime and instead specify a start_datetime/end_datetime will not be returned even if they intersect the given interval.

As discussed, the STAC API will probably be adapted to include these items but seeing as it takes time to include these changes in the upstream repo, a quicker fix would be to omit the time interval from the search request; in this case the STAC API will return all items, as one would expect.

One obstacle is the fact that without a given temporal extent, OpenEO will fall back to ["1970-01-01", "2070-01-01"] pretty early in the process graph evaluation.

@bossie
Copy link
Collaborator Author

bossie commented Nov 26, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant