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 the pint.Unit instance.

Returns:
dequantifiedDataArray

DataArray whose array data is unitless, and of the type that was previously wrapped by pint.Quantity.