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.Unitinstance.- Returns:
- dequantifiedDataArray
DataArray whose array data is unitless, and of the type that was previously wrapped by pint.Quantity.