NRAO Home > CASA > CASA Toolkit Reference Manual
atmosphere.updateAtmProfile - Function

4.1.1 Update basic atmospheric parameters of atmosphere tool


Description

This is used to update the atmosphere tool when basic atmospheric parameters.change.

Arguments





Inputs

altitude

m

Site altitude - Quantity with units of altitude, meter

allowed:

doublem

Default:

5000.

temperature

K

Ambient ground temperature - Quantity with units of temperature, K

allowed:

doubleK

Default:

270.0

pressure

mbar

Ambient ground pressure - Quantity with units of pressure, mbar

allowed:

doublembar

Default:

560.0

humidity

Relative humidy used to guess water (0-100)

allowed:

double

Default:

20.0

dTem_dh

K/km

Tropospheric Lapse Rate - the derivative of temperature with respect to height - Quantity with units of K/km

allowed:

doubleK/km

Default:

-5.6

h0

km

scale height for water( exp distribution ) - Quantity with the dimension of length, and units of kilometer

allowed:

doublekm

Default:

2.0

Returns
string

Example

 
 
new_tmp = qa.quantity(275.0, ’K’)  
print at.updateAtmProfile(alt, new_tmp, pre, hum, wvl, h0)  
# UPDATED BASIC ATMOSPHERIC PARAMETERS TO GENERATE REFERENCE ATMOSPHERIC PROFILE  
#  
# Ground temperature T:         275 K  
# Ground pressure P:            560 mb  
# Relative humidity rh:         20 %  
# Scale height h0:              2 km  
# Altitude alti:                5000 m  
# Tropospheric lapse rate:      -5.6 K/km  
 

__________________________________________________________________


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