wetbulbT: wetbulb Temperature

View source: R/wetbulbT.R

wetbulbTR Documentation

wetbulb Temperature

Description

Calculates the wet-bulb temperature given the pressure, temperature, and dewpoint.

Usage

wetbulbT(P, AT, DPT)

Arguments

P

A numeric representing ambient pressure in hPa

AT

A numeric representing air temperature in deg. C

DP

A numeric representing dewpoint temperature in deg. C.

Details

An interative solution is used, as described here: https://rpubs.com/cooperwilliama/797335 If the known quantities are pressure, temperature, and vapor pressure you can use DPfromE() to find the dewpoint. The input parameters may be vectors, all of the same size, and in that case the result will also be a vector. Be aware, however, that large vectors (like whole flights even at 1 Hz) are likely to give an error resulting from the attempt by nleqslv to allocate too much memory.

Value

A numeric representing the wet-bulb temperature in deg. C

Author(s)

William Cooper


NCAR/Ranadu documentation built on Jan. 27, 2023, 1:09 a.m.