<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" ?>
<casaxml xmlns="http://casa.nrao.edu/schema/psetTypes.html"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd
file:///opt/casa/code/xmlcasa/xml/casa.xsd">



<task type="function" name="plotWX">
<shortdescription>Plot elements of the weather table for a given MS</shortdescription>

<input>

<param type="string" name="vis" kind="ms" mustexist="true">
<description>MS name</description>
<value></value>
</param>

<param type="double" name="seasonal_weight">
<description>weight of the seasonal model</description>
<value>0.5</value>
</param>

<param type="bool" name="doPlot">
<description>set this to True to create a plot</description>
<value>True</value>
</param>

</input>

<returns name="plotWX_tauZ">
<value>meanTau_custom</value>
</returns>


<example>
Saves the plot to the following file:  MS name + .plotWX.png
If run as a function, will return the mean zenith opacity per spectral window

example:
myTau = plotWX(vis='myMS.ms',seasonal_weight=0.5, doPlot=True)
</example>


</task>
</casaxml>
