sloop.cf.get_t_dim_name

sloop.cf.get_t_dim_name(ds)[source]

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

Parameters

ds (xarray.DataArray or xarray.Dataset) –

Returns

str

Return type

Name of time dimension