hydromt.DataArray.raster.set_spatial_dims#

DataArray.raster.set_spatial_dims(x_dim=None, y_dim=None) None#

Set the geospatial dimensions of the object.

Parameters:
  • x_dim (str, optional) – The name of the x dimension.

  • y_dim (str, optional) – The name of the y dimension.