Re: Drawing wind barbs on a map

From: Correia, James <james.correia_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 03 2010 - 18:26:30 MST

Hi-
Updated:
I think the issue is that wmbarbmap needs to be associated with the
gsn_csm_contour_map call. However, when I change that I have to turn off
gsnMaximize to get it to fit the map, but it still doesn't like to be
paneled. So I guess I need to use the vpXF and vpYF and associated
resources.

jimmyc

On 3/3/10 3:39 PM, "Correia, James" <james.correia@pnl.gov> wrote:

> Hi-
> I am trying to draw wind barbs on a map.
>
> I am making a panel plot of station data, like so:
> res@gsnDraw = False
> res@gsnFrame = False
> plot(0) = gsn_csm_contour_map(wks,var(:,0),res)
> ...
>
> The calling the overlay and barb routine:
> wmsetp("col",1)
> wmsetp("wbs",.05)
> res1@gsnDraw = False
> res1@gsnFrame = False
>
> plt = gsn_csm_contour(wks,frq(0,:),res1)
> wmbarbmap(wks,nlat,nlon,mu,mv)
> overlay(plot(0),plt)
> ...
>
> Then call gsn_panel.
>
> According to the examples on weather symbols this *should* work. But, alas, no
> wind barbs on my map, and no errors to report. I thought maybe I had the order
> of nlat and nlon incorrect but I tried it both ways and still nothing.
>
> So do I need to somehow draw it first or should it be already overlaid on plt?
> Thanks for any insight...
> jimmyc

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 3 18:25:59 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 04 2010 - 15:07:06 MST