sloop.cf

CF utilities

Functions

get_dim_name_from_axis(ds, axis)

Get a dimension name from its axis attribute in a xarray.Dataset

get_lat_coord_name(ds)

Get the latitude name in a xarray.Dataset or a xarray.DataArray

get_lon_coord_name(ds)

Get the longitude name in a xarray.Dataset or a xarray.DataArray

get_name_from_specs(ds, specs[, check, first])

Get the name of a xarray.DataArray according to search specifications

get_t_dim_name(ds)

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

get_time_coord_name(ds)

Get the time coordinate name from its dtype

get_x_dim_name(ds)

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

get_y_dim_name(ds)

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

rename_from_standard_name(ds, ...[, mapping])

Rename coords and variables according to their standard_name attribute