rioxarray
rioxarray copied to clipboard
geospatial xarray extension powered by rasterio
Hi all! I was wondering if it could be considered to improve the typings for [`rioxarray.open_rasterio`](https://corteva.github.io/rioxarray/stable/rioxarray.html#rioxarray-open-rasterio). Indeed, the returned typings are ``` xarray.Dataset | xarray.DataArray | list[xarray.Dataset] ``` Creating so...
- [x] Supersedes #846 - [ ] Tests added - [ ] Fully documented, including `docs/history.rst` for all changes and `docs/rioxarray.rst` for new API Optionally generates the spatial x/y coordinates...
#### Problem description Hey! I have a Geotiff that I'm reading in using `rioxarray.open_rasterio()`. When calculating the bounds using `.rio.bounds()`, I spotted that the returned bounds are not correct for...
I'm trying to reproject [ERA5 data](https://cds.climate.copernicus.eu/datasets/reanalysis-era5-single-levels?tab=overview) from lon/lat (EPSG:4326) to New Zealand Transverse Mercator (EPSG:2193). I'm getting "TypeError: only length-1 arrays can be converted to Python scalars" from [reproject](https://corteva.github.io/rioxarray/stable/rioxarray.html#rioxarray.raster_array.RasterArray.reproject). As...
Hi there, Currently, the RPCs are not stored into `xarray` (whereas the GCPs since #376). Moreover, `rasterio` offers the possibility to retrieve them. So even if I have opened the...
I was handling missing CRS information in my Zarr files, but I was dealing with a missing `grid_mapping` in `attrs` when it really was in `encoding`. [CRS Management page](https://github.com/corteva/rioxarray/blob/master/docs/getting_started/crs_management.ipynb) says...
#### Code Sample, a copy-pastable example if possible ```python import rioxarray as rxr da = rxr.open_rasterio("https://huggingface.co/datasets/Zeel/tmp/resolve/main/1524-1184.tif") # save locally da.rio.to_raster("tmp.tif") # Load da = rxr.open_rasterio("tmp.tif") print("Original values", da.x.values[:5]) da =...
#### Code Sample, a copy-pastable example if possible A "Minimal, Complete and Verifiable Example" will make it much easier for maintainers to help you: http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports We used to open the...
#### Code Sample, a copy-pastable example if possible The code sample below raises a warning with an HTTP response 403. Note that key and secret for AWS bucket can be...
Draft for Zarr conventions support according to plan in #882 - [x] Closes #882 - [x] Tests added - [x] Fully documented, including `docs/history.rst` for all changes and `docs/rioxarray.rst` for...