ufs2arco.Layers2Pressure.calc_geopotential#
- Layers2Pressure.calc_geopotential(hgtsfc: DataArray, delz: DataArray) DataArray#
Compute geopotential field
Note
If
delzis computed bycalc_delz(), then a hydrostatic approximation is used. This may be inconsistent with the original simulation/dataset.- Parameters:
hgtsfc (xr.DataArray) – surface/orographic height, and vertical layer thickness
delz (xr.DataArray) – surface/orographic height, and vertical layer thickness
- Returns:
geopotential (xr.DataArray) – height in [m^2 / s^2] (i.e. height * gravity)