add /statistics, /feature, and /bbox endpoints #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
rasterio
backend worked out-of-the-box but thexarray
backend required a few small tweaks to which parameters get passed to the reader. The logic for handling options conditionally for each backend is kind of a mess, I would like to clean that up somehow but I tested the/statistics
endpoint on HLS data and MUR SST data and it works!Right now you can pass
max_size/height/width
to therasterio
backend but those args will be ignored forxarray
backend.Since they are so similar, I added the
/bbox
and/feature
endpoints, too.I was having some trouble reproducing the exact test behavior from my local environment in GH actions so I switched everything to use
uv
for installation/running things in CI and it worked the first time.Resolves #29