VirtualPotentialTemperature: VirtualPotentialTemperature

VirtualPotentialTemperatureR Documentation

VirtualPotentialTemperature

Description

Calculates the virtual potential temperature in kelvin

Usage

VirtualPotentialTemperature(Tvir, P, E = 0)

Arguments

Tvir

A numeric representing the virtual temperature in deg. C

P

A numeric representing the pressure in hPa

E

A numeric representing the water vapor pressure in hPa. This is not used to calculate the virtual temperature but is used for the adiabatic calculation to 1000 hPa total pressure

Details

The potential virtual temperature is calculated from the air temperature, pressure, and mixing ratio of water vapor

Value

A numeric representing the virtual potential temperature in kelvin

Author(s)

William Cooper

Examples

THETAV <- VirtualPotentialTemperature (10., 850.)
THETAV <- VirtualPotentialTemperature (20., 900., 12.)

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