xoa.cf.CFSpecs.to_loc¶
- CFSpecs.to_loc(obj, **locs)[source]¶
Set the staggered grid location for specified names
Note
It only changes the names, not the attributes.
- Parameters
obj (xarray.Dataset, xarray.DataArray) –
locs (dict) – Keys are root names, values are new locations. A value of False, remove the location. A value of None left it as is.
- Returns
xarray.Dataset, xarray.DataArray
See also