cf.DimensionCoordinate.clip

DimensionCoordinate.clip(a_min, a_max, units=None)[source]

Clip (limit) the values in the data array and its bounds 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 Units

Returns :None

Examples

Previous topic

cf.DimensionCoordinate.chunk

Next topic

cf.DimensionCoordinate.close

This Page