xoa.cf.CFSpecs.reloc#
- CFSpecs.reloc(obj, **locs)[source]#
Convert given staggered grid locations to other locations
Note
It only changes the names, not the attributes.
- Parameters:
obj (xarray.Dataset, xarray.DataArray)
locs (dict) – Keys are locations, values are new locations. A value of False or None, remove the location.
- Returns:
xarray.Dataset, xarray.DataArray
See also