XArrayAndRasterio
XArrayAndRasterio copied to clipboard
Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterio
trafficstars
XArrayAndRasterio
Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterio
Requirements:
xarraynumpyrasteriopandas
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_rasteriobut exports one file per band
Author: Robin Wilson ([email protected]). Experimental code!