saturation_vapour_pressure: Function to calculate the saturation vapour pressure of water...

View source: R/calculate_vapour_pressure.R

saturation_vapour_pressureR Documentation

Function to calculate the saturation vapour pressure of water vapour.

Description

The saturation vapour pressure is the pressure at which water vapour is in thermodynamic equilibrium with its condensed state.

Usage

saturation_vapour_pressure(temp, type = 1L)

Arguments

temp

Air temperature in degrees Celsius.

type

What type of saturation vapour pressure should be calculated? Type 1 uses the Tetens equation with different logic for temperatures below and above zero degrees and type 2 uses the August-Roche-Magnus formula.

Value

Numeric vector, vapour pressure in hectopascals (hPa).

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.