hydromt.DataArray.vector.set_spatial_dims#

DataArray.vector.set_spatial_dims(x_dim=None, y_dim=None, index_dim=None)#

Set the spatial and index dimensions of the object.

Parameters:
  • x_dim (str, optional) – The name of the x, y and index dimensions.

  • y_dim (str, optional) – The name of the x, y and index dimensions.

  • index_dim (str, optional) – The name of the x, y and index dimensions.