- plotweather(vis, seasonal_weight=0.5, doPlot=True, plotName='')
Plot elements of the weather table; estimate opacity
tau (list[float]) - opacity per SPW, as a mean of the estimates based on weather data and a seasonal model
This task is intended for VLA use only. Plots elements of the weather table; estimates opacity.
Generates opacity estimates from both the weather data and a seasonal model. By default the returned opacity is the mean of these predictions, but this can be adjusted with seasonal_weight. Please note that the opacity determined in this manner is only a rough estimate which could propagate to an error when bootstrapping the flux density.
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 arrow points into the wind), with north at the top and counterclockwise through west, south, and east.
To generate and plot opacity estimates, using the mean between predictions based on the weather data and seasonal model:
myTau = plotweather(vis='myMS.ms', seasonal_weight=0.5, doPlot=True)
No additional development details
- Parameter Details
Detailed descriptions of each function parameter
vis (path)- MS name
seasonal_weight (double=0.5)- weight of the seasonal model
doPlot (bool=True)- set this to True to create a plot
plotName (string='')- (Optional) the name of the plot file