Calculates the density of water at a given temperature and pressure. Adopted from implementation by Davis et al. (2017).

calc_density_h2o(tc, patm)

Arguments

tc

Air temperature (degrees Celsius)

patm

Atmospheric pressure (Pa)

Details

Returns the density of water (kg m-3)

References

Chen et al. (1977)

Davis, T. W., Prentice, I. C., Stocker, B. D., Thomas, R. T., Whitley, R. J., Wang, H., Evans, B. J., Gallego-Sala, A. V., Sykes, M. T., & Cramer, W. (2017). Simple process-led algorithms for simulating habitats (SPLASH v.1.0): Robust indices of radiation, evapotranspiration and plant-available moisture. Geoscientific Model Development, 10(2), 689–708. https://doi.org/10.5194/gmd-10-689-2017