rioxarray
rioxarray copied to clipboard
geospatial xarray extension powered by rasterio
👋🏽 Hoping someone on the team can help us figure out how to use fsspec filecache with netcdf data when we need to modify the xarray data array object with...
#### Problem description I am working with CMIP6 data and looking at utilizing `rioxarray` for possibly combining different data streams, so I am looking for a general approach through rioxarray....
```python auscan = merge_arrays(dataarrays = [aus, can], res = can.rio.resolution(), crs="EPSG:4326") ``` #### Problem description Looking at the merge code there are some abs() checks in there - but are...
Consider the following workflow: ```python import rioxarray as rxr raster_files = glob.glob("/path/to/files") # 50 raster files for f in raster_files: with rxr.open_rasterio(f) as ds: # perform some operations and write...
#### Code Sample, a copy-pastable example if possible ```python import rioxarray import geopandas as gpd roi_shapefile = "C:/Datasets/Geo/HB/HB.shp" rgb_file = "C:/Datasets/RS/Landsat9-OLI-SP-30M/rgb.wgs84.tif" shp_obj = gpd.read_file(roi_shapefile) rio_geometry = shp_obj.geometry.values rgb_xds = rioxarray.open_rasterio(rgb_file)...
When writing GeoTIFF files from an `xarray.DataArray`, the possibility to write colourmaps is currently not provided (if I have not overseen sth.): https://rasterio.readthedocs.io/en/stable/topics/color.html#writing-colormaps Adding an additional keyword to the `profile_kwargs`...
It'd be nice to experiment some with this prototype [CRSIndex](https://github.com/dcherian/crsindex/blob/main/crsindex.ipynb) (though there are still [bugs](https://github.com/pydata/xarray/issues/7162) and [work to do](https://github.com/pydata/xarray/issues/6293)) We could experiment with optionally adding such an index through `rioxarray.open_dataset(...,...
Hi all, We are planning to build on top of `rioxarray` for end-users focusing on analysis of EO data by building accessor in our packages GeoUtils and xDEM for raster/vector...
- [x] Closes https://github.com/corteva/rioxarray/issues/646 - [ ] Tests added - [x] Fully documented, including `docs/history.rst` for all changes and `docs/rioxarray.rst` for new API I have not written any tests related...
From the [visualization gallery](https://docs.xarray.dev/en/stable/examples/visualization_gallery.html#imshow()-and-rasterio-map-projections) The data is [here](https://github.com/rasterio/rasterio/raw/1.2.1/tests/data/RGB.byte.tif) ----- ## `imshow()` and rasterio map projections Using rasterio's projection information for more accurate plots. This example extends `recipes.rasterio` and plots the...