sloop.cf.rename_from_standard_name

sloop.cf.rename_from_standard_name(ds, standard_name_to_name, mapping=None)[source]

Rename coords and variables according to their standard_name attribute

Parameters
  • ds (xarray.Dataset) –

  • standard_name_to_name (dict) – Key are standard_names and values are names.

Return type

xarray.Dataset