ClimoDataArrayAccessor.quantify¶
- ClimoDataArrayAccessor.quantify()[source]¶
Return a copy of the
xarray.DataArraywith underlying data converted topint.Quantityusing the'units'attribute. If the data is already quantified, nothing is done. If the'units'attribute is missing, a warning is raised. Units are parsed withparse_units.