temperature_from_theta: Air temperature.

View source: R/cdtClimate_Humidity_functions.R

temperature_from_thetaR Documentation

Air temperature.

Description

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

Usage

temperature_from_theta(theta, pr)

Arguments

theta

numeric, a vector or matrix of the potential 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.