-
Notifications
You must be signed in to change notification settings - Fork 27
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
sketch XarrayTiler #152
base: main
Are you sure you want to change the base?
sketch XarrayTiler #152
Conversation
zarr.zarr_factory.router, | ||
prefix=settings.zarr_endpoint_prefix, | ||
tags=["Preview"], | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should create /zarr/tiles/...
endpoints
Most of endpoints needs a URL (of a zarr dataset), a variable name (you can get the list of variable with /zarr/variables?url=...
) and optionaly a time_slice={num of time slice}
(will default to 0, the first one)
Preview of the endpoints:
|
Add a
XarrayTilerFactory
to add tiling endpoints for zarr (xarray readable) datasetThis is mostly inspired from cogeotiff/rio-tiler#530 (comment)
TODO