standard_atmosphere: Standard Atmosphere calculations

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/pkgAtmosphere.R

Description

This function calculate Temperature, Pressure and Density of air at a fixed quota, according to ground temperature, density and pressure. The profile is a standard atmospheric profile according to 1976 Standard Atmosphere.

Usage

1
standard_atmosphere(z, vout = 3, T0 = 288.15, P0 = 101325, R0 = 1.225)

Arguments

z

Altitude over see level in meters. It can be Vector, Matrix or scalar value.

vout

possible vaues are: 1 for temperature (output in °K) 2 for pressure (output in Nm^-2 3 for density (output in kgm^-3)

T0

Scalar value. Temperature at see level [°K].

P0

Scalar value. Pressure at see level [Pa].

R0

Scalar value. Density at see level [kgm^-3].

Value

According to input z the function will return a Vector, a Matrix or a Scalar value, according to the specified vout.

Note

This function is general, no latitude-longitude or seasonal specification. It is necessary to evaluate a standard backscatter profile.

Author(s)

Gionata Biavati

References

http://scipp.ucsc.edu/outreach/balloon/atmos/1976 Standard Atmosphere.htm

See Also

betamol_standard

Examples

1
2
3
4
5
z<-100*(0:100)
par(mfrow=c(1,3))
plot(standard_atmosphere(z,vout=1),z,main='Temperature',ylab='Altitude [m]',xlab='[°K]')
plot(standard_atmosphere(z,vout=2),z,main='Pressure',ylab='Altitude [m]',xlab='[N/m2]')
plot(standard_atmosphere(z,vout=3),z,main='Density',ylab='Altitude [m]',xlab='[kg/m3]')

RAtmosphere documentation built on May 29, 2017, 12:08 p.m.