Plotweather

From CASA Guides
Jump to navigationJump to search

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')