<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi All,<br>
&nbsp;I *think* I may have found a bug. For reference, I'm using NCL 6.3. Long story short, I make a complex plot in real time with lots of overlays of various variables, mostly for aid in severe weather prediction/detection, using NY Mesonet data. I denote strong
 wind gusts, and change their opacity to reflect how long ago they occurred. Here is a sample loop from today:&nbsp;<a href="http://www.atmos.albany.edu/facstaff/nbassill/live/NCLexample.gif" class="OWAAutoLink" id="LPlnk485893" previewremoved="true">http://www.atmos.albany.edu/facstaff/nbassill/live/NCLexample.gif</a><br>
<br>
You'll notice the winds gusts&nbsp;(properly) change their opacity with time. The weird thing is that the reference vector changes its opacity with time as well, despite the fact I'm not instructing it to. The code is very long, so I'll just send the important parts
 of the script, below:</p>
<p><br>
</p>
<p>....</p>
<p>;;;; this part plots the site winds, and determines opacity based on time</p>
<p></p>
<div><br>
</div>
<div>size = dimsizes(sitewindtime)-1</div>
<div>tres &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div>
<div>tres@tfPolyDrawOrder &nbsp;= &quot;PostDraw&quot;</div>
<div>tres@txFont = &quot;helvetica-bold&quot;</div>
<div>tres@txFontHeightF &nbsp; &nbsp; &nbsp; &nbsp;= 0.013</div>
<div>;tres@txFontThicknessF = 3</div>
<div>do n=0,size(0)-1,1</div>
<div>&nbsp; &nbsp; &nbsp; if sitewinds(n).gt.25</div>
<div>&nbsp; &nbsp; &nbsp; tres@txFontOpacityF = 1-(sitewindtime(n)/35)</div>
<div>&nbsp; &nbsp; &nbsp; stationtext &nbsp;= &nbsp; &nbsp; gsn_add_text(wks,plot,round(sitewinds(n),3),sitewindlons(n),sitewindlats(n),tres)</div>
<div>&nbsp; &nbsp; &nbsp; end if</div>
<div>end do</div>
<div><br>
</div>
....&nbsp;
<p></p>
<p><br>
</p>
<p></p>
<div>;;;; vector stuff</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= res</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcGlyphStyle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &quot;LineArrow&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcLineArrowThicknessF &nbsp; &nbsp; &nbsp;= 5</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcMinDistanceF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0.01</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefLengthF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0.03</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefAnnoOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = True</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefMagnitudeF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 25&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefAnnoString1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= &quot;25 mph&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefAnnoSide &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &quot;Top&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefAnnoString2On &nbsp; &nbsp; &nbsp; &nbsp;= False</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefAnnoPerimOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefAnnoOrthogonalPosF &nbsp; = -0.76 &nbsp; &nbsp;; more positive moves up</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefAnnoParallelPosF &nbsp; &nbsp; = 0.94 &nbsp; &nbsp;; more positive moves to right</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcRefAnnoBackgroundColor &nbsp;= &quot;SkyBlue&quot;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcVectorDrawOrder &nbsp; &nbsp; &nbsp; &nbsp; = &quot;PreDraw&quot;</div>
<div></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcMinAnnoFontHeightF &nbsp; &nbsp; &nbsp;= .012</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@vcGlyphOpacityF &nbsp; = 1&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; res_vc@txFontOpacityF = 1</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; vector &nbsp;= gsn_csm_vector(wks,udata,vdata,res_vc)</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; overlay(plot,vector)</div>
<div><br>
</div>
<p>....</p>
<p><br>
</p>
<p></p>
<div>;;; next two lines were my attempt to try resetting things before drawing</div>
<div>tres &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div>
<div>tres@txFontHeightF &nbsp; &nbsp; &nbsp; &nbsp;= 0.01 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div>
<div><br>
</div>
<div>draw(plot)</div>
<div><br>
</div>
<p>-----------------</p>
<p><br>
</p>
<p>If anyone has any suggestions, please let me know.&nbsp;</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols;">
<p><span style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Nick Bassill, PhD</span></p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
Modeler &amp;&nbsp;Meteorologist, New York State Mesonet</p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
LC SB-28, 1400 Washington Ave.,</p>
<p style="color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
SUNY, University at Albany, NY 12222</p>
(518) 442-6375
<p></p>
<p>http://nysmesonet.org/<br>
</p>
</div>
</div>
</div>
</body>
</html>