xarray.DataArray.pr.convert_to_gwp_like

xarray.DataArray.pr.convert_to_gwp_like#

DataArray.pr.convert_to_gwp_like(like: DataArray) DataArray#

Convert to a global warming potential in the units of a reference array.

Uses the gwp_context of the reference array.

Parameters:
like: xr.DataArray

Other DataArray containing a global warming potential.

Returns:
convertedxr.DataArray