<div dir="ltr">Hi Michele,<div>You are correct, vcMinMagnitudeF seemingly is not applied when <span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">vcGlyphStyle  = "CurlyVector". (It should state that in the documentation.) The likely reason for this is that CurlyVectors use information from neighboring grids to draw the vector. If neighboring vectors are missing, the vector might not be drawn. </span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I'm modified vector_6.ncl to show what is happening. If you are happy with vcGlyphStyle = "LineArrow", you can use vcMinMagnitudeF as you can see in the first panel. For the third panel, I calculated the magnitude of the vector, and used where to mask those values beneath a threshold. Note that less vectors are draw in panel 3 than in panel 1, and that's because of CurlyVector needing neighboring grid cells. Thus, you will want to play with the where threshold for masking.</span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hope that helps. If you have further questions let ncl-talk know.</span></div><div><span style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Adam  </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 31, 2018 at 3:22 AM, Michele Petrini - CITG <span dir="ltr"><<a href="mailto:M.Petrini@tudelft.nl" target="_blank">M.Petrini@tudelft.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;line-break:after-white-space">
Hi Adam,
<div><br>
</div>
<div>thank you for the reply. </div>
<div><br>
</div>
<div>However, even setting the resource I don’t get rid of the tiny vectors. Below the resources I set for vector plot</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>        res_vc                            = res</div>
<div><br>
</div>
<div>        res_vc@vcRefMagnitudeF           = 20.             ; define vector ref mag</div>
<div>        res_vc@vcRefLengthF              = 0.01          ; define length of vec ref</div>
<div>        res_vc@vcRefAnnoArrowLineColor   = "black"         ; change ref vector color</div>
<div>        res_vc@<wbr>vcRefAnnoArrowUseVecColor = False           ; don't use vec color for ref</div>
<div>        res_vc@vcGlyphStyle            = "CurlyVector"     ; turn on curly vectors</div>
<div>        res_vc@vcLineArrowColor        = "white"           ; change vector color</div>
<div>        res_vc@vcLineArrowThicknessF   = 2.5           ; change vector thickness</div>
<div>        res_vc@vcVectorDrawOrder       = "Draw"        ; draw vectors last</div>
<div>        res_vc@tfDoNDCOverlay         = True</div>
<div>        res_vc@vcMinDistanceF             = 0.017</div>
<div>        res_vc@vcMinFracLengthF         = 0.0</div>
<div><span class="m_2038974229405543465Apple-tab-span" style="white-space:pre-wrap"></span>res_vc@vcMinMagnitudeF            = 300.</div>
</div>
<div><br>
</div>
<div>any thoughts?</div>
<div><br>
</div>
<div>thanks!</div>
<div><br>
<div>
<div dir="auto" style="word-wrap:break-word;line-break:after-white-space">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
******************************<wbr>******************************<wbr>******<br>
Michele Petrini, PhD </div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br>
Department of Geoscience and Remote Sensing, TUDelft<br>
Delft, The Netherlands<br>
<br>
<a href="mailto:M.Petrini@tudelft.nl" target="_blank">M.Petrini@tudelft.nl</a> <br>
+39 3398367372<br>
michele.petrins (Skype alias)<br>
<br>
<br>
</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On 31 May 2018, at 00:48, Adam Phillips <<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>> wrote:</div>
<br class="m_2038974229405543465Apple-interchange-newline">
<div>
<div dir="ltr">Hi <span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Michele,</span>
<div><span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Yes there is. Try setting vcMinMagnitudeF:</span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px"><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcMinMagnitudeF" target="_blank">http://www.ncl.ucar.edu/<wbr>Document/Graphics/Resources/<wbr>vc.shtml#vcMinMagnitudeF</a></span></span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px"><br>
</span></span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px">Three examples use this resource:</span></span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px"><a href="http://www.ncl.ucar.edu/Applications/res_list.shtml#vcMinMagnitudeF" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/res_list.shtml#<wbr>vcMinMagnitudeF</a></span><br>
</span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px"><br>
</span></span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px">Hope that helps!</span></span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px">Adam</span></span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px"><br>
</span></span></div>
<div><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:12.8px"><br>
</span></span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, May 30, 2018 at 4:38 PM, Michele Petrini - CITG <span dir="ltr">
<<a href="mailto:M.Petrini@tudelft.nl" target="_blank">M.Petrini@tudelft.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="word-wrap:break-word;line-break:after-white-space">Dear helpdesk,
<div><br>
</div>
<div>I am trying to plot velocity vectors over a contour (+other stuff, see attached pdf).</div>
<div><br>
</div>
<div>I have a question, is there a way to mask out the small vectors and leave only velocity vectors exceeding some threshold (let’s say 100 m/yr)? </div>
<div><br>
</div>
<div>If I try to mask the u/v variables, I get an error. </div>
<div><br>
</div>
<div>Looking on the internet, I see that there is someone suggesting to overlay two vector contours, but the procedure seems to be a little bit complicated, and I wonder if there exists a simpler way,..</div>
<div><br>
</div>
<div>thanks!</div>
<div>Michele</div>
</div>
<div style="word-wrap:break-word;line-break:after-white-space">
<div></div>
<div><br>
</div>
<div><br>
<div>
<div dir="auto" style="word-wrap:break-word;line-break:after-white-space">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
******************************<wbr>******************************<wbr>******<br>
Michele Petrini, PhD </div>
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br>
Department of Geoscience and Remote Sensing, TUDelft<br>
Delft, The Netherlands<br>
<br>
<a href="mailto:M.Petrini@tudelft.nl" target="_blank">M.Petrini@tudelft.nl</a> <br>
+39 3398367372<br>
michele.petrins (Skype alias)<br>
<br>
<br>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all"><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
-- <br>
<div class="m_2038974229405543465gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div>
<div><span><font color="#888888">Adam Phillips <br>
</font></span></div>
<span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br>
</font></span></div>
</div>
<div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/<wbr>asphilli/</a>  
</font></span><span><font color="#888888">303-497-1726 </font></span></div>
<span><font color="#888888"></font></span>
<div>
<div><span><font color="#888888"><br>
</font></span>
<div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>