xarray.DataArray.pint.magnitude

DataArray.pint.magnitude

the magnitude of the data or the data itself if not a quantity.