You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.to_rioxarray method for async_geotiff._array.Array #93
We've discussed internally whether to add an xarray BackendEntrypoint (answer is: not sure 😆). We would need to be careful to add xarray as an optional dependency so that the core package remains unbloated.
Activity
weiji14 commentedon Feb 18, 2026
We've discussed internally whether to add an xarray BackendEntrypoint (answer is: not sure 😆). We would need to be careful to add xarray as an optional dependency so that the core package remains unbloated.
And just in case you're interested, I wrote a similar
to_xarray()method at https://github.com/developmentseed/pixelverse/pull/24/changes#diff-8feec44dae0c09e9044a272dadfb9775d686299a5822d4ca7c62bc8531f7a2dd, though this was using async-tiff instead of async-geotiff (haven't got around to rewrite it yet), and the coordinates was using rasterix (for some lazy indexing).kylebarron commentedon Feb 18, 2026
I think without adding a whole
BackendEntrypoint, having ato_xarraymethod onArraycould be in scope (xarray would be a conditional dependency)kylebarron commentedon Feb 18, 2026
rasterix looks really nice. Thanks @dcherian!
So it should be one line of code to create an xarray indexer from an
Array:Then one line of code to assign that to your array
dcherian commentedon Feb 18, 2026
ahem... it looks.... rasterized. 🥁
kylebarron commentedon Feb 20, 2026
Put up one thought here: #95
kylebarron commentedon May 5, 2026
One way to manage async-geotiff - xarray integration is to offload it to other tools, like lazycogs, which is exploring rasterix integration