z2p: Altitude to pressure

Description Usage Arguments Value Author(s) References Examples

View source: R/z2p.R

Description

Computes air pressure for a given altitude according to the standard atmosphere.

Usage

1
z2p(z, P0 = 101325, T0 = 288.15)

Arguments

z

altitude above sea level in metres [0:10000].

P0

Pressure at sea level.

T0

Temperature at sea level.

Value

Pressure in hPa.

Author(s)

Javier G. Corripio

References

U.S. NOAA: 1976, U.S. standard atmosphere, 1976, NOAA-S/T; 76-1562, U.S. National Oceanic and Atmospheric Administration, National Aeronautics and Space Administration, United States Air Force, Washington. 227 pp.

Examples

1
2
# Plot pressure form sea level to the top of Mt. Everest
plot(z<-0:8848,z2p(z),'l',xlab='Altitude [m]',ylab='Pressure [hPa]')

insol documentation built on May 29, 2017, 3:22 p.m.