VirtualTemperature: VirtualTemperature

VirtualTemperatureR Documentation

VirtualTemperature

Description

Calculates the virtual temperature in deg. C

Usage

VirtualTemperature(AT, r)

Arguments

AT

A numeric representing the air temperature in deg. C

r

A numeric representing the water vapor mixing ratio in dimensionless units (*NOT* g/kg)

Details

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

Value

A numeric representing the virtual temperature in deg. C

Author(s)

William Cooper

Examples

Tvir <- VirtualTemperature (20., 0.005) 

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