xarray.Dataset.pr.dequantify

xarray.Dataset.pr.dequantify#

Dataset.pr.dequantify() Dataset#

Removes units from the Dataset and its coordinates.

Will replace .attrs['units'] on each variable with a string representation of the pint.Unit instance.

Returns:
dequantified: Dataset

Dataset whose data variables are unitless, and of the type that was previously wrapped by pint.Quantity.