xesn.XData.normalize_inverse

xesn.XData.normalize_inverse#

XData.normalize_inverse(xda, keep_attrs=False)#

Do the inverse operation of normalize(), i.e.,

\[xda * scale + bias\]
Parameters:
  • xda (xarray.DataArray) – with the normalized field to be re scaled

  • keep_attrs (bool) – if True, keep attributes in xda

Returns:

xda (xarray.DataArray) – scaled and biased like original data