<div dir="ltr">Hi Lesley,<div><br></div><div>First, please make sure ncl-talk is included in future replies, as others may also have useful insights.</div><div><br></div><div>My next suggestion would be to try unsetting the vcRefMagnitudeF and vcRefLenghtF - NCL has the ability to calculate these by default to create a plot that at least looks somewhat reasonable. Although the resultant plot is not likely to be the results you actually want, you can look at the settings it chooses and use that as guidance.</div><div><br></div><div>Some code like this after the plot is drawn might be insightful:</div><div><br></div><div>getvalues plot   ; plot is whatever you have saved your vector plot as, e.g. plot=gsn_csm_vector(....)</div><div>  vcRefMagnitueF : calc_ref_mag</div><div>  vcRefLengthF : calc_ref_length</div><div>end getvalues</div><div><br></div><div>print(&quot;Mag: &quot;+calc_ref_mag+&quot;   Length: &quot;+calc_ref_length)</div><div><br></div><div><br></div><div>If this doesn&#39;t provide the insight you are looking for, please include your code (even if simplified) and data in a response if you can, using the NCL FTP site if necessary, and someone can take a look at it. I&#39;m also wondering if there might be some internal limits to vector size settings, but at the moment, I can&#39;t think of any good reason why this would be the case (but I&#39;m also not a developer, either).</div><div><br></div><div><br></div><div>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">----------------------------------------<div>Kyle S. Griffin</div><div>Department of Atmospheric and Oceanic Sciences</div><div>University of Wisconsin - Madison</div><div>Room 1421</div><div>1225 W Dayton St, Madison, WI 53706</div><div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div></div>
<br><div class="gmail_quote">On Mon, Apr 27, 2015 at 10:38 AM, Lesley Smith - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:lesley.l.smith@noaa.gov" target="_blank">lesley.l.smith@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Kyle,<div>I appreciate you writing me back.</div><div>I&#39;m plotting meridional and vertical EP flux with my arrows, not winds.</div><div>The values are of magnitude 1.e10 and 1.e8</div><div>For example, <span style="font-family:Menlo;font-size:11px">meridional_EP_flux: min=-1.6812e+10 </span><span style="font-family:Menlo;font-size:11px">  </span><span style="font-family:Menlo;font-size:11px">max=1.07296e+10</span></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">vertical_EP_flux: min=-1.53672e+08   max=1.33486e+08</p><p style="margin:0px;font-size:11px;font-family:Menlo">Thus, my values <b>are</b> on the order of <span style="font-size:13px;font-family:arial,sans-serif"> </span><span style="font-size:13px;font-family:arial,sans-serif">2,000,000,000</span></p><p style="margin:0px;font-size:11px;font-family:Menlo"><span style="font-size:13px;font-family:arial,sans-serif"><br></span></p><p style="margin:0px;font-size:11px;font-family:Menlo">Your suggestions result in:</p><span class=""><p style="margin:0px;font-size:11px;font-family:Menlo">fatal:VectorPlotDraw: VVECTR - VECTOR NDC LENGTH TOO GREAT</p><p style="margin:0px;font-size:11px;font-family:Menlo">fatal:VectorPlotDraw: error drawing vectors</p><p style="margin:0px;font-size:11px;font-family:Menlo">fatal:VectorPlotDraw: draw error</p><p style="margin:0px;font-size:11px;font-family:Menlo">fatal:PlotManagerDraw: error in plot draw</p><p style="margin:0px;font-size:11px;font-family:Menlo">



</p><p style="margin:0px;font-size:11px;font-family:Menlo">fatal:_NhlPlotManagerDraw: Draw error</p></span></div><div><br></div><div>Do you have any other suggestions?</div><div>Thanks,</div><div>-Lesley</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 24, 2015 at 7:40 PM, Kyle Griffin <span dir="ltr">&lt;<a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Lesley,<div><br></div><div>I think you&#39;ve switched your reference vector settings around. You should be either making vcRefMagnitudeF *smaller* or making vcRefLengthF *larger*. These act in concert to control the size of the vectors in your plot. Each actually controls the magnitude and length of the vector in the reference vector box in the bottom right of your attached image. You&#39;ll note that in this current setting, you would need a wind speed of 2,000,000,000 m/s to have a vector plotted at that size. In reality, you might want to set vcRefMagnitudeF to a value somewhere between 10.0 and 50.0. If this still doesn&#39;t make your vectors large enough, reduce the vcRefMagnitudeF to 1.0 and I&#39;m sure you&#39;ll see some EP flux arrows appear. You can always check the max() and min() of your vector field if you aren&#39;t sure the actual magnitudes you are dealing with.</div><div><br></div><div>Let us know if you have any more questions.</div><div><br></div><div><br></div><div>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">----------------------------------------<div>Kyle S. Griffin</div><div>Department of Atmospheric and Oceanic Sciences</div><div>University of Wisconsin - Madison</div><div>Room 1421</div><div>1225 W Dayton St, Madison, WI 53706</div><div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div></div>
<br><div class="gmail_quote"><div><div>On Fri, Apr 24, 2015 at 4:20 PM, Lesley Smith - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:lesley.l.smith@noaa.gov" target="_blank">lesley.l.smith@noaa.gov</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi gang,<div>I&#39;m using <span style="font-family:Menlo;font-size:11px">gsn_csm_pres_hgt_vector to make a plot.</span></div><div><span style="font-family:Menlo;font-size:11px">In the past it has worked great for me.</span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">This time, I can&#39;t seem to make my arrows big enough to see </span></div><div><span style="font-family:Menlo;font-size:11px">anything.  I attach a plot of contoured EP Divergence with the</span></div><div><span style="font-family:Menlo;font-size:11px">corresponding 2 EP components in vector form overlaid. The components are many orders of magnitude greater than the divergence.  </span></div><div><span style="font-family:Menlo;font-size:11px">I&#39;ve tried changing </span><span style="font-family:Menlo;font-size:11px">vcRefMagnitudeF and </span><span style="font-family:Menlo;font-size:11px">vcRefMagnitudeF to</span></div><div><span style="font-family:Menlo;font-size:11px">a variety of values and the arrows look the same.  </span></div><div><span style="font-family:Menlo;font-size:11px">I tried scaling the vertical component (like one of the examples on the NCL website) to no effect.</span></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-family:Menlo;font-size:11px">Eventually when I make </span><span style="font-family:Menlo;font-size:11px">vcRefMagnitudeF too small it suddenly gives the error:</span></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">fatal:VectorPlotDraw: VVECTR - VECTOR NDC LENGTH TOO GREAT</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">fatal:VectorPlotDraw: error drawing vectors</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">fatal:VectorPlotDraw: draw error</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">fatal:PlotManagerDraw: error in plot draw</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">fatal:_NhlPlotManagerDraw: Draw error</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">I&#39;d love any suggestions!</p><p style="margin:0px;font-size:11px;font-family:Menlo">Thanks!</p><span><font color="#888888"><p style="margin:0px;font-size:11px;font-family:Menlo">-Lesley</p></font></span></div></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>