atmosphere.getNumLayers - Function

4.1.1 Returns the number of layers in the atmospheric profile.
Arguments





Returns
int

Example

p = at.getProfile()  
for i in range(at.getNumLayers()):  
        print p[’thickness’].value[i],p[’temperature’].value[i],p[’water’].value[i],p[’pressure’].value[i]

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.