Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterio
Requirements:
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 DataArrayxarray_to_rasterio_by_band
: Same asxarray_to_rasterio
but exports one file per band
Author: Robin Wilson ([email protected]). Experimental code!