Getting Started¶
Welcome! This page aims to help you gain a foundational understanding of rioxarray.
You can learn how to clip, merge, and reproject rasters in the Usage Examples section of the documentation. Need to export to a raster (GeoTiff)? There is an example for that as well.
Why use rioxarray.open_rasterio()
instead of xarray.open_rasterio?
- It supports multidimensional datasets such as netCDF.
- It stores the CRS as a WKT, which is the recommended format (PROJ FAQ).
- It loads in the CRS, transform, and nodata metadata in standard CF & GDAL locations.
- It supports masking and scaling data with the masked and mask_and_scale kwargs.
- It adds the coordinate axis CF metadata.
- It loads in raster metadata into the attributes.