<div dir="ltr">Hi Kyle and other NCL-ers,<div>Thanks for the ideas.</div><div>I had already tried the default values and got tiny arrows.</div><div>I had already tried printing out the default values to see what they were so</div><div>I could tweak them. </div><div>Attached are the data, pared-down program, and resulting plot.</div><div>Let me know if I need to use the NCL ftp site.</div><div><br></div><div>Here's the output from this program:</div><div><p style="margin:0px;font-size:11px;font-family:Menlo">(0)<span class="" style="white-space:pre">        </span>ref len is 0.0106101</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">(0)<span class="" style="white-space:pre">        </span>ref mag is 5.77226e+09</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">(0)<span class="" style="white-space:pre">        </span>ref dist is 0.03</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p></div><div>I'm open to any and all suggestions.</div><div>I suspect I need to scale the Z values and/or do some kind of </div><div>pressure-weighting (my attempts at this so far haven't worked)</div><div>or there's something obvious I'm missing...</div><div>Thanks for any insights!</div><div>-Lesley</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 27, 2015 at 10:12 AM, Kyle Griffin <span dir="ltr"><<a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a>></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>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("Mag: "+calc_ref_mag+" Length: "+calc_ref_length)</div><div><br></div><div><br></div><div>If this doesn'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'm also wondering if there might be some internal limits to vector size settings, but at the moment, I can't think of any good reason why this would be the case (but I'm also not a developer, either).</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Kyle</div></font></span></div><div class="gmail_extra"><span class=""><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></span><div><div class="h5"><div class="gmail_quote">On Mon, Apr 27, 2015 at 10:38 AM, Lesley Smith - NOAA Affiliate <span dir="ltr"><<a href="mailto:lesley.l.smith@noaa.gov" target="_blank">lesley.l.smith@noaa.gov</a>></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'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><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><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 24, 2015 at 7:40 PM, Kyle Griffin <span dir="ltr"><<a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a>></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'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'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't make your vectors large enough, reduce the vcRefMagnitudeF to 1.0 and I'm sure you'll see some EP flux arrows appear. You can always check the max() and min() of your vector field if you aren'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"><<a href="mailto:lesley.l.smith@noaa.gov" target="_blank">lesley.l.smith@noaa.gov</a>></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'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'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'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'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></div></div>
</blockquote></div><br></div>