esat: Calculate Saturation Vapour Pressure

View source: R/lwbgt.R

esatR Documentation

Calculate Saturation Vapour Pressure

Description

Calls the native Liljegren saturation-pressure calculation. Missing inputs propagate to NA; invalid non-missing inputs produce NA and one warning per call.

Usage

esat(temperature_k, phase = 0L)

Arguments

temperature_k

Numeric temperatures in kelvin.

phase

Zero for liquid water or one for ice.

Value

A numeric vector of saturation vapour pressures in hectopascals.

Examples

esat(c(263.15, 273.15, 303.15))
esat(263.15, phase = 1L)

lwbgt documentation built on Sept. 29, 2026, 5:09 p.m.