sloop.cf.get_time_coord_name

sloop.cf.get_time_coord_name(ds)[source]

Get the time coordinate name from its dtype

Parameters

ds (xarray.DataArray or xarray.Dataset) –

Returns

str

Return type

Name of the xarray.DataArray