ClimoAccessor.update_cell_methods¶
- ClimoAccessor.update_cell_methods(methods=None, **kwargs)[source]¶
Update the
cell_methods
attribute on thexarray.DataArray
or on every array in thexarray.Dataset
with the input methods.- Parameters
methods (dict-like, optional) – A cell methods dictionary, whose keys are dimension names. To associate multiple dimensions with a single method, use tuples of dimension names as dictionary keys.
**kwargs – Cell methods passed as keyword args.
Warning
Unlike most other public methods, this modifies the data in-place rather than returning a copy.