rioxarray
rioxarray copied to clipboard
geospatial xarray extension powered by rasterio
Tracking issue. The repo is still WIP in README. Repo: https://github.com/xarray-contrib/datatree Useful when different sized dimensions loaded.
In `xarray.open_dataset`, the optional arguments `mask_and_scale` defaults to `True` [(doc)](https://xarray.pydata.org/en/v0.12.3/generated/xarray.open_dataset.html), which is what I expect almost any user prefers. I was surprised to find out that in `rioxarray.open_rasterio` the same...
Hello, First, thank you so much for this very cool project :). It looks like this is not documented elsewhere but I realized that the `GDAL_CACHEMAX` default can have a...
using rioxarray.open_rasterio and subsequently rio.to_raster to edit a raster file raises a permission denied error. I can't figure out any way make changes to a TIF and then overwrite it...
Can we add a method to check if a given xarray object is compatible with/has all the necessary metadata to use rioxarray? I understand different functions require different pieces of...
Xarray, Rasterio, and rioxarray don't usually have any issue loading an VRT file in place of a real TIF file. However in this case, have a valid VRT file that...
Would be good to add tips for common gotchas: - Singleband rasters: https://github.com/corteva/rioxarray/issues/175 - RGB rasters: https://corteva.github.io/rioxarray/stable/examples/COG.html - Large rasters: https://gis.stackexchange.com/questions/384577/open-and-plot-a-large-raster-with-python-xarray - Preventing spatial_ref = 0 in plot title (#443)
I see reading, but I couldn't find any export. https://corteva.github.io/rioxarray/html/examples/COG.html
Ive been writing COGs using the windowed option `da.rio.to_raster(...... driver="COG",windowed=True)` It works fine but is rather slow. my array is on a set of distributed dask workers that dont share...
Currently, `.rio.to_raster` will generate a single raster, even for chunked DataArrays. In the case of very large Dask Arrays, it might be more useful to instead write many rasters, perhaps...