STDATMS
Sections
NAME
stdatms - Standard atmosphere computation program
SYNOPSIS
stdatms [parameters] [value]
PARAMETERS
| Command Line | Resource | Default | Description |
| -h | help | No | Lists basic help information. |
| -df=filename | default | .wxpdef | Sets the name of the resource file. |
| -na=name | name | stdatms | Specifies the name used in resource file parsing. |
| -ba | batch | No | Run program in batch mode |
| -me=level | message | out2 | Specifies level of messages to be displayed
|
| -va=units | variable | none User prompt |
Specifies which input variable and its units: Hm, Hft, PmmHg, PinHg, Pmb, Ppsi, Ppas, Patm |
| -pa=parameter | parameter | none | Specifies additional parameters. |
| value | value | none User prompt |
Specifies the input value. |
DESCRIPTION
The standard atmosphere calculation program relates pressure, height and temperature. The user is prompted for a height or pressure in one of the following units:
| Variable/Type | Explanation |
| Hm | Height in meters |
| Hft | Height in feet |
| PmmHg | Pressure in mm mercury |
| PinHg | Pressure in inches mercury |
| Pmb | Pressure in millibars |
| Ppsi | Pressure in pounds per square inch |
| Ppas | Pressure in Pascals |
| Patm | Pressure in atmospheres |
Valid ranges include: -100 meters < height < 20000 meters, 1050 mb > pressure > 55 mb. Then, you enter one of the above parameters and units through a menu listing.
The program then calculates the height, pressure and temperature (in various units) at that specific level for a standard atmosphere. The output appears as:
Standard Atmosphere Data
Height : 3000.0000 meters
9842.5197 feet
Pressure : 701.0852 mb
70108.5156 pascals
525.8822 mm (Hg)
20.7032 in (Hg)
10.1684 PSI
0.6919 atmospheres
Temperature : -4.5000 Celsius
23.9000 Fahrenheit
FILES
SEE ALSO
Last updated Aug 30, 1997