>  Docs Center  >  Libraries  >  Daithi  >  STANDARD_ATM
Libraries

STANDARD_ATM

STANDARD_ATM

Name


STANDARD_ATM

Purpose


This function calculates the pressure at a given altitude in the
troposphere, assuming a uniform, dry atmosphere.

Category


PHYSICS

Calling Sequence


Result = STANDARD_ATM( Input )

Inputs


Input: The altitude, in metres, at which the pressure should be
calculated. Of type floating point. If ALTITUDE is set, this
is instead the pressure at which the altitude should be
calculated.

Keyword Parameters


ALTITUDE: If set, the function calculates the altitude of a given
pressure level. The default is the reverse.
BAR: If set, the pressure unit is a bar. The default is Pa.
CELSIUS: If set, the temperature units are in degrees Celsius. The
default is Kelvins.
HPA: If set, the pressure unit is a hPa. The default is Pa.
KILO: If set, the units are kPa and km. The default is Pa and m.
TEMPERATURE: If set, the function returns the average temperature, in
K, at the given altitude.

Outputs


Result: Returns the pressure at the given altitude.

Uses


CONSTANTS.pro

Procedure


This function is modelled after StdAtm at
http://hurri.kean.edu/~yoh/calculations/hydrostatic/hydrostatic.html.

Example


Calculate the pressure, in kPa, at 2757m altitude.
result = STANDARD_ATM( 2.757, /KILO )

Modification History


  Written by: Daithi A. Stone (stoned@uvic.ca), 2001-08-13
Modified: DAS, 2002-05-16 (fixed bugs in GAMMA and unit options)
Modified: DAS, 2002-08-12 (complies with CONSTANTS.pro revision)



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us