lair.geo.write_rio_crs#

lair.geo.write_rio_crs(data, crs)[source]#

Write the CRS and coordinate system to the rioxarray accessor.

Parameters:
  • data (DataArray | Dataset) – The data to write the CRS to.

  • crs (Any) – The CRS to write to the data.

Returns:

DataArray | Dataset – The data with the CRS written to the rioxarray accessor.

Return type:

_XarrayT