sloop.cf.get_dim_name_from_axis
- sloop.cf.get_dim_name_from_axis(ds, axis)[source]
Get a dimension name from its axis attribute in a xarray.Dataset
- Parameters
ds (xarray.Dataset) –
axis (str) – X, Y, Z or T
- Return type
str
Get a dimension name from its axis attribute in a xarray.Dataset
ds (xarray.Dataset) –
axis (str) – X, Y, Z or T
str