python
-
4 ways to find out Coordinate Reference System information (CRS) and set it in a xarray
When you want to process raster data (arrays with geo-coordinates) with Python, there are several options. It was the most straightforward for me to use Python, read all the data in xarray and process it with rasterio using rioxarray (tutorial by University of Colorado Boulder here). Rioxarray requires data arrays, x-y coordinate array, and coordinate…