theta Calculates potential temperature

theta(tk, press, Rd = 287.04, Cp = 1005.7)

Arguments

tk

Numeric; temperature in kelvin

press

Numeric; pressure in hPa or mb

Rd

Numeric; Gas constant dry ar = 287.04 J kg^-1 K^-1

Cp

Numeric; Specific heat dry air at constant pressure 1005.7 kg^-1 K^-1

References

Bolton, D. (1980). The computation of equivalent potential temperature. Monthly weather review, 108(7), 1046-1053.

Examples

# NOT RUN {
#dont run
# }