cordex.preprocessing.attr_to_coord

Contents

cordex.preprocessing.attr_to_coord#

attr_to_coord(ds, attr, expand=True)[source]#

Promote a dataset attribute to a coordinate.

Parameters:

ds (xr.Dataset) – CORDEX like dataset.

Returns:

ds (xr.Dataset) – Dataset with new coordinate.