rioxarray
rioxarray copied to clipboard
geospatial xarray extension powered by rasterio
Geopandas provides a handy [explore function](https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoDataFrame.explore.html) that creates an interactive folium-map and displays the GeoDataFrame on it. This function is particularly useful when working with Jupyter notebooks. Since I frequently...
There is some confusion around when to use `write_crs` versus `set_crs`. This adds a small note to generally prefer write_crs when CRS persistence is needed. Fixes #743 - [x] Closes...
Fixes a typo which caused code block rendering to fail. Also adds quotes around `.[all]` as `pip install -e .[all]` fails in some environments. E.g.: ```console $ python -m pip...
#### Code Sample, a copy-pastable example if possible Context: maintaining the `python311Packages.rioxarray` package on nixpkgs: https://github.com/NixOS/nixpkgs/pull/320524 A few tests fail on `aarch64-linux` with `AssertionError`. No issue was found on `x86_64-linux`....
I was happy to find out that `rioxarray` is able to read a zipped GeoTIFF file using the same syntax as `rasterio` ```python xda = xarray.open_dataarray('zip:file.zip/image.tif') ``` However, the CRS...
rioxarray is offerring a geospatial binding of xarray the same way geopandas provide a binding to `pandas`. So I was asking myself if this lib could follow the same logo...
#### Problem description The Debian package CI shows test failures with rasterio 1.4: ``` 103s =================================== FAILURES =================================== 103s _______________________ test_merge__different_crs[True] ________________________ 103s 103s dataset = True 103s 103s @pytest.mark.parametrize("dataset",...
I was recently comparing the performance of point sampling from a raster in xvec (https://github.com/xarray-contrib/xvec/issues/81) and learned that when using xarray's `sel`, the sampling is about 40x slower than if...
I was working on adding GDAL Metadata to a GeoTiff file, as it is needed for getting the minimum and maximum values when using Geotiff.js. I tried adding the `STATISTICS_MINIMUM`...
I use the `rioxarray.merge.merge_arrays` function to merge 4 tiles into a single DataArray. When I use the `bounds` argument I get an incorrectly merged DataArray. Please sea code and figures...