xray.DataArray.min¶
- DataArray.min(dimension=None, axis=None, **kwargs)¶
Reduce this DataArray’s data’ by applying numpy.min along some dimension(s).
Parameters: dimension : str or sequence of str, optional
Dimension(s) over which to apply numpy.min.
axis : int or sequence of int, optional
Axis(es) over which to apply numpy.min. Only one of the ‘dimension’ and ‘axis’ arguments can be supplied. If neither are supplied, then numpy.min is calculated over the flattened array (by calling numpy.min(x) without an axis argument).
**kwargs : dict
Additional keyword arguments passed on to numpy.min.
Returns: reduced : DataArray
New DataArray object with numpy.min applied to its data and the indicated dimension(s) removed.