<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns="http://casa.nrao.edu/schema/psetTypes.html" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<task type="function" name="plotweather" category="visualization">
<shortdescription>Plot elements of the weather table; estimate opacity.</shortdescription>
<param type="path" name="vis" kind="ms" mustexist="true"><shortdescription>MS name</shortdescription><description>MS name</description>
<param type="double" name="seasonal_weight"><shortdescription>weight of the seasonal model</shortdescription><description>weight of the seasonal model</description>
<param type="bool" name="doPlot"><shortdescription>set this to True to create a plot</shortdescription><description>set this to True to create a plot</description>
<param type="string" name="plotName"><shortdescription>(Optional) the name of the plot file</shortdescription><description>(Optional) the name of the plot file</description>
Generates opacity estimates from both the weather data and a seasonal model; intended for VLA use only.
By default the returned opacity is the mean of these predictions, but this can be adjusted with seasonal_weight.
These methods and models are described in detail in EVLA Memo 143, VLA Test Memo 232, VLA Scientific Memo 176, and references therein.
Saves the plot to the following default file: MS name + .plotweather.png
Custom plot filenames must end in one of: .png, .pdf, .ps, .eps or .svg
If run as a function, will return the mean zenith opacity per spectral window.
The wind direction is defined as the direction where the wind is coming from.
The wind direction is thus in the opposite side of the arrow, with north at
the top and counterclockwise through west, south, and east.
Written by Josh Marvil, revised 02/06/12
myTau = plotweather(vis='myMS.ms',seasonal_weight=0.5, doPlot=True)
<returns>void</returns></task>