sloop.cf.get_y_dim_name

sloop.cf.get_y_dim_name(ds)[source]

Get the Y dimension name in a xarray.Dataset or a xarray.DataArray

Parameters

ds (xarray.DataArray or xarray.Dataset) –

Returns

str

Return type

Name of Y dimension