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

Fail more descriptively when time is not found #36

Open
j08lue opened this issue Oct 24, 2024 · 1 comment
Open

Fail more descriptively when time is not found #36

j08lue opened this issue Oct 24, 2024 · 1 comment

Comments

@j08lue
Copy link
Member

j08lue commented Oct 24, 2024

A request like

https://dev-titiler-cmr.delta-backend.com/tiles/WebMercatorQuad/0/0/0@1x?datetime=2024-10-20T22%3A00%3A00.000Z&resampling=bilinear&variable=precipitation&colormap_name=gnbu&rescale=0%2C46&concept_id=C2723754864-GES_DISC&backend=xarray

where the dataset only has time steps until say 2022-01-01

currently fails with a 500 error and

{"detail":"list index out of range"}

Error code and message could be more descriptive when the requested datetime is not found.

@abarciauskas-bgse
Copy link
Contributor

Thank you for opening this @j08lue - I'm going to move it to titiler-cmr

@abarciauskas-bgse abarciauskas-bgse transferred this issue from developmentseed/titiler-xarray Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants