Plotweather: Difference between revisions

From CASA Guides
Jump to navigationJump to search
 
Line 9: Line 9:
<source lang="python">
<source lang="python">
# In CASA
# In CASA
au.plotWeather(vis='',figfile='', station=[], help=True)
au.plotWeather(vis='',figfile='', station=[], asdm='')
</source>
</source>


   * Plots the ambient pressure, temperature, relative humidity, wind speed and direction.
   * Plots the ambient pressure, temperature, relative humidity, wind speed and direction.
   * Station can be a single integer or integer string, or a list of two integers. The default  
   * Station can be a single integer or integer string, or a list of two integers. The default  
     empty list means to plot all data from up to 2 of the stations present in the data
     empty list means to plot all data from up to 2 of the stations present in the data, which
    is typical for ALMA data (WSTB1, WSTB2)
   * The default plot file name will be 'vis'.weather.png.
   * The default plot file name will be 'vis'.weather.png.
  * If the asdm is specified, the plot title will include the station names from the Station.xml table.
  * If the vis is not found, but asdm is found, it will call [https://safe.nrao.edu/wiki/bin/view/ALMA/PlotWeatherFromASDM plotWeatherFromASDM]


==Examples==
==Examples==

Latest revision as of 12:16, 18 January 2013

Return to Analysis Utilities

This page documents the plotWeather function of Python module analysisUtils.

Compiles and plots the major weather parameters from the ALMA (or the EVLA) weather station(s) as recorded in the specified MS, for the duration of the MS. (Note: plotweather and plotWeather are synonyms.)

Usage

# In CASA
au.plotWeather(vis='',figfile='', station=[], asdm='')
  * Plots the ambient pressure, temperature, relative humidity, wind speed and direction.
  * Station can be a single integer or integer string, or a list of two integers. The default 
    empty list means to plot all data from up to 2 of the stations present in the data, which
    is typical for ALMA data (WSTB1, WSTB2) 
  * The default plot file name will be 'vis'.weather.png.
  * If the asdm is specified, the plot title will include the station names from the Station.xml table.
  * If the vis is not found, but asdm is found, it will call plotWeatherFromASDM

Examples

# In CASA
au.plotWeather('X3c1.ms')

X3c1.ms.weather2.png