https://github.com/robintw/xarrayandrasterio
Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterio
https://github.com/robintw/xarrayandrasterio
gdal python raster science xarray
Last synced: 6 months ago
JSON representation
Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterio
- Host: GitHub
- URL: https://github.com/robintw/xarrayandrasterio
- Owner: robintw
- License: mit
- Created: 2016-07-12T17:09:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-06T16:40:33.000Z (almost 9 years ago)
- Last Synced: 2025-04-01T15:57:20.460Z (6 months ago)
- Topics: gdal, python, raster, science, xarray
- Language: Jupyter Notebook
- Homepage:
- Size: 4.18 MB
- Stars: 23
- Watchers: 3
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# XArrayAndRasterio
Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterioRequirements:
- `xarray`
- `numpy`
- `rasterio`
- `pandas`
Functions provided:
- `xarray_to_rasterio`: Allows you to export an xarray DataArray to a rasterio-compatible file (GeoTIFF mainly)
- `rasterio_to_xarray`: Allows you to read any rasterio-compatible file into an xarray DataArray
- `xarray_to_rasterio_by_band`: Same as `xarray_to_rasterio` but exports one file per bandAuthor: Robin Wilson (robin@rtwilson.com). Experimental code!