|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
atmosphere.getBasicAtmParms - Function
4.1.1 Gets the current basic atmospheric parameters of the model.
Arguments
Outputs |
| ||
altitude | m | Site altitude - Quantity with units of altitude, meter
| |
| allowed: | doublem | |
| Default: | ||
temperature | K | Ambient ground temperature - Quantity with units of
temperature, K
| |
| allowed: | doubleK | |
| Default: | ||
pressure | mbar | Ambient pressure - Quantity with units of pressure,
mbar | |
| allowed: | doublembar |
|
| Default: |
| |
maxAltitude | km | altitude of the top pf the modelled atmosphere -
Quantity with dimension of length, and units of
kilometer | |
| allowed: | doublekm |
|
| Default: |
|
|
humidity |
| Ground relative humidity used to guess water (0-100)
| |
| allowed: | double | |
| Default: | ||
dTem_dh | K/km | Current Tropospheric Lapse Rate (the derivative of
temperature with respect to height) - Quantity with
units of K/km
| |
| allowed: | doubleK/km |
|
| Default: |
|
|
dP | mbar | initial pressure step - Quantity with the units of
pressure, mb
| |
| allowed: | doublembar |
|
| Default: |
|
|
dPm |
| pressure multiplicative factor for steps
| |
| allowed: | double |
|
| Default: |
|
|
h0 | km | Water vapor scale height ( exp distribution ) - Quantity
with the dimension of length, and units of kilometer
| |
| allowed: | doublekm |
|
| Default: |
|
|
atmType |
| atmospheric type used to describe the behaviour above
the tropopause. 1(tropical),2(mid
latitude summer),3(mid latitude winter), 4(subarctic
summer),5(subarctic winter), dimensionless
| |
| allowed: | string |
|
| Default: |
|
|
string
Example
p = at.getBasicAtmParms()
# returns a tuple of
# 0 - string listing of parameters, 1 - altitude, 2 - temperature,
# 3 - pressure, 4 - maxAltitude, 5 - humidity, 6 - dTem_dh,
# 7 - dP, 8 - dPm. 9 - h0, and 10 - atmType
print "Atmospheric type: ", p[10]
# Atmospheric type: TROPICAL
print "Ground temperature: ", p[2][’value’][0], p[2][’unit’]
# Ground temperature: 288.16 K
print p[0] # a "pretty" listing of all the parameters
# CURRENT ATMOSPHERIC PARAMETERS OF REFERENCE ATMOSPHERIC PROFILE
#
# Ground temperature T: 275 K
# Ground pressure P: 560 mbar
# Relative humidity rh: 20 %
# Scale height h0: 2 km
# Pressure step dp: 10 mbar
# Altitude alti: 5000 m
# Attitude top atm profile 48 km
# Pressure step factor 1.2
# Tropospheric lapse rate -5.6 K/km
# Atmospheric type: TROPICAL
#
# Atmospheric profile has 20 layers.
__________________________________________________________________
More information about CASA may be found at the
CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search