potential_temperature: Potential temperature.

View source: R/cdtClimate_Humidity_functions.R

potential_temperatureR Documentation

Potential temperature.

Description

Compute the potential temperature from the air temperature and surface pressure using the Poisson equation.

Usage

potential_temperature(tm, pr)

Arguments

tm

numeric, a vector or matrix of the air temperature in degree Celsius.

pr

numeric, a vector or matrix of the surface pressure in hPa.

Value

Returns a vector or matrix, the units are in degree Celsius.


rijaf-iri/CDT documentation built on July 3, 2024, 2:54 a.m.