wip: Start brainstorming zarr integration#1179
Draft
kylebarron wants to merge 3 commits into
Draft
Conversation
Designs a Python-proxied Zarr tile pipeline via RasterLayer.from_zarr and RasterLayer.from_xarray, reusing the existing GeoTIFF model. Async per-tile fetching via zarr-python 3 directly or xarray.load_async. JS-side raster model gains a generic TilesetDescriptor trait; TileMatrixSet becomes one descriptor shape. Scope narrowly to Python-rendered PNGs; WebGL rendering, animation, and RasterTileLayer refactor are deferred. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Reorder CRS discovery priority: GeoZarr attrs now come first (before rioxarray and CF), since the primary from_xarray use case is xr.open_zarr on a GeoZarr store. - State more forcefully that rioxarray stays an optional dep; Lonboard must not pull GDAL transitively. - Replace "wait for first-tile error" with a construction-time BackendArray.async_getitem introspection, falling back to first-tile error only when the wrapped-array chain is opaque (dask, etc.). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Member
Author
|
Does xarray define any chunking natively? Lonboard needs to know the internal chunk size of the input dataset, or the user needs to pass them in. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Designs a Python-proxied Zarr tile pipeline via RasterLayer.from_zarr and RasterLayer.from_xarray, reusing the existing GeoTIFF model. Async per-tile fetching via zarr-python 3 directly or xarray.load_async. JS-side raster model gains a generic TilesetDescriptor trait; TileMatrixSet becomes one descriptor shape. Scope narrowly to Python-rendered PNGs; WebGL rendering, animation, and RasterTileLayer refactor are deferred.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
What I am changing
How I did it
How you can test it
Related Issues