Clip (limit) the values in the data array in place.
Given an interval, values outside the interval are clipped to the
interval edges.
Parameters :
a_min: scalar
a_max: scalar
units: str
or cf.Units
- i:
bool
, optional
- If True then update the field in place. By default a new
field is created. In either case, a field is
returned.