oceanspy.compute.heat_budget

oceanspy.compute.heat_budget(od)[source]

Compute terms to close heat budget as explained by [Pie17].

\[\text{tendH = adv_hConvH + adv_vConvH + dif_vConvH + kpp_vConvH + forcH}\]
Parameters used:
c_p
rho0
Parameters:
od: OceanDataset

oceandataset used to compute

Returns:
ds: xarray.Dataset
tendH: Heat total tendency
adv_hConvH: Heat horizontal advective convergence
adv_vConvH: Heat vertical advective convergence
dif_vConvH: Heat vertical diffusive convergence
kpp_vConvH: Heat vertical kpp convergence
forcH: Heat surface forcing

Notes

This function is currently suited for the setup by [AHPM17]: e.g., z* vertical coordinates, zero explicit diffusive fluxes, KPP.

References

[AHPM17]

Almansi, M., T.W. Haine, R.S. Pickart, M.G. Magaldi, R. Gelderloos, and D. Mastropole, 2017: High-Frequency Variability in the Circulation and Hydrography of the Denmark Strait Overflow from a High-Resolution Numerical Model. J. Phys. Oceanogr., 47, 2999–3013, https://doi.org/10.1175/JPO-D-17-0129.1