xarray.DataArray.pr.dequantify#
- DataArray.pr.dequantify() DataArray #
Removes units from the DataArray and its coordinates.
Will replace
.attrs['units']
on each variable with a string representation of thepint.Unit
instance.- Returns:
- dequantifiedDataArray
DataArray whose array data is unitless, and of the type that was previously wrapped by pint.Quantity.