xarray.DataArray.cf.__le__¶
- DataArray.cf.__le__(other)¶
Compare flag values against
other
.other
must be in the ‘flag_meanings’ attribute.other
is mapped to the corresponding value in the ‘flag_values’ attribute, and then compared.- Parameters:
- otherDataArray
DataArray to compare to.
- Returns:
- bool
True if self is less than or equal to other.