hydromt.DataArray.vector.set_crs#

DataArray.vector.set_crs(input_crs=None, write_crs=True) CRS#

Set the Coordinate Reference System.

Parameters:
  • input_crs (int, dict, or str, optional) – Coordinate Reference System. Accepts EPSG codes (int or str) and proj (str or dict)

  • write_crs (bool, optional) – If True (default), write CRS to attributes.