<div dir="ltr"><div><b>wrf_vector</b>:</div><div><br></div><div>Most 'high-level' graphical interfaces set parameters and resources *internally*. <br></div><div>Hence, it is quite possible that parameters set outside of the function may not have any effect.</div><div>===</div><div><br></div><div>Perhaps ... untested<br></div><div><br></div><div>[1] Draw the map or a scalar over a map with gsnFrame=False</div><div>[2] Use <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/wmbarbmap.shtml"><strong>wmbarbmap</strong></a>
</div><div><pre>  ... drwa scaler
  <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/wmsetp.shtml"><strong>wmsetp</strong></a>("col", 2)    ; Draw in red.
;;<a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/wmsetp.shtml"><strong>wmsetp</strong></a>("wbs", .06)  ; Increase the size of the barb.
  <strong>wmbarbmap</strong>(wks, lat, lon,  u, v)  ; Plot barbs.
  <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/frame.shtml"><strong>frame</strong></a>(wks)          ; Advance the <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/frame.shtml"><strong>frame</strong></a>.</pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 2, 2019 at 1:37 PM Zilore Mumba <<a href="mailto:zmumba@gmail.com">zmumba@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Rick,Thank you very much. That command has no effect. The ncl command I am using is: vector = wrf_vector(a,wks,u_plane,v_plane,opts). I have tried the plotting commands used in <a href="https://www.ncl.ucar.edu/Applications/Scripts/barb_1.ncl" target="_blank">barb_1.ncl</a> and <a href="https://www.ncl.ucar.edu/Applications/Scripts/barb_1.ncl" target="_blank">barb_2.ncl</a>, both give errors. This is because the way these two extract the u- and v-wind components differs from the function I use.</div><div>I think the plotting funcion could be at the heart of my problem. I will see how I can modify my script to use the barb_1.ncl plotting function.</div><div><br></div><div><br></div><div>Thank you very much for your time, and for the hint.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 1, 2019 at 10:36 PM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Zilore,</div><div><br></div><div>Yes, as cryptic as the line "<a href="http://www.ncarg.ucar.edu//supplements/wmap/index.html#HEADING1-225" target="_blank"><b>wmsetp</b></a>("wba",-62.0)" seems, perhaps try that if you haven't already. I personally am not sure how that's supposed to work, but Dennis must have some insight on that.  To answer your question about what it all means, parts of NCL make use of a lower-level software package called WMAP. NCL does a pretty good job of setting parameters to that package, but wmsetp() is a means by which a user can override those settings and control WMAP directly. The parameters that one can override -- and the meaning of the "wba" parameter -- can be found here:</div><div><br></div><div>    <a href="http://www.ncarg.ucar.edu//supplements/wmap/index.html#HEADING1-225" target="_blank">http://www.ncarg.ucar.edu//supplements/wmap/index.html#HEADING1-225</a></div><div><br></div><div>and general information about WMAP can be found here:</div><div><br></div><div>    <a href="http://www.ncarg.ucar.edu//supplements/wmap/index.html" target="_blank">http://www.ncarg.ucar.edu//supplements/wmap/index.html</a></div><div><br></div><div>BTW: what NCL function are you calling to draw the wind barbs?</div><div><br></div><div>--Rick<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 1, 2019 at 10:57 AM Zilore Mumba <<a href="mailto:zmumba@gmail.com" target="_blank">zmumba@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">I have rerun my WRF over a domain which goes across the equator. There is no change in the barbs north and south of the equator. I am interested in the command: <a href="http://www.ncarg.ucar.edu//supplements/wmap/index.html#HEADING1-225" target="_blank"><b>wmsetp</b></a>("wba",-62.0)                    ; NH (default) is 62.0</div><div>How is it used? Is it simply that line?</div><div>Thanks<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 31, 2019 at 9:37 PM Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hopefully, somebody who knows about WRF graphics will respond.</div><div><br></div><div>--</div><div>Perhaps, <b>before calling the WRF graphics</b>, try the low level NCAR Graphics option:<br></div><div><br></div><div>   <a href="http://www.ncarg.ucar.edu//supplements/wmap/index.html#HEADING1-225" target="_blank"><b>wmsetp</b></a>("wba",-62.0)                    ; NH (default) is 62.0</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 31, 2019 at 1:20 PM Zilore Mumba <<a href="mailto:zmumba@gmail.com" target="_blank">zmumba@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dennis,</div><div>Thanks very much. I have seen that barbs are drawn correctly for he southern and northern hemispheres on the link you gave.</div><div> I am drawing WRF output. My domain is entirely in the southern hemisphere but barbs are on the left. I use one of the sample wrf scripts which plots several levels in one script, though now I cannot remember which one.</div><div>The barb color change works.</div><div>Once more, thank you very much.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 31, 2019 at 4:14 PM Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div><div>[1]<a href="http://www.ncl.ucar.edu/Applications/barb.shtml" target="_blank"><b> http://www.ncl.ucar.edu/Applications/barb.shtml</b></a></div><div><br></div><div>If you are plotting over  grid, the Northern/Southern Hemisphere wind barbs are <b>automatically</b> drawn to the left/right.</div><div>See the main figure, entitled "Default Wind Barbs"</div><div><br></div><div>[2] vc resources:</div><div><br></div><div>     vcMonoWindBarbColor=True  ; this is the default</div><div>     <strong>vcWindBarbColor="red"      ; wind barb color<br></strong></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 31, 2019 at 4:48 AM Zilore Mumba <<a href="mailto:zmumba@gmail.com" target="_blank">zmumba@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear all,</div><div>especially the managers at ncl, I have two questions:</div><div>1. My wind barbs are drawn to the left of the wind, facing downstream. I am in the southern hemisphere where we have to have barbs to the right.</div><div>2. Is it possible to have barbs all red, or all any color. I have only seen colored by a scalar.</div><div>hank you.<br></div></div>
_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>