xscape.utils.get_vert_coordname

xscape.utils.get_vert_coordname(var_da)

Gets the name of the coordinate representing the vertical dimension.

Parameters:

var_da (xr.DataArray) – Gridded data array.

Returns:

Name of the dimension if it exists.

Return type:

str | None