hydromt.gis_utils.axes_attrs#

hydromt.gis_utils.axes_attrs(crs)[source]#

Provide CF-compliant variable names and metadata for axes.

Parameters:

crs (pyproj.CRS) – coordinate reference system

Returns:

  • x_dim (str - variable name of x dimension (e.g. 'x'))

  • y_dim (str - variable name of y dimension (e.g. 'lat'))

  • x_attr (dict - attributes of variable x)

  • y_attr (dict - attributes of variable y)