Re: Question about overlaying WRF plot on non-WRF plot [Was: (no subject)]

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 15 2012 - 13:29:13 MST

Exactly which labels are you talking about, and how are you putting them on the plot? It would help to see some code.

Thanks,

--Mary

On Nov 15, 2012, at 8:41 AM, Merrill Bean wrote:

> Hi Mary,
> Thanks, that was it. Sorry about the no subject line.
> I'm not getting labels on the plots, when I overlay plots, I'm guessing the labels
> need to be on the top layer? I actually put the label on both layers, but its not
> displayed. I'll keep trying, maybe some of the text functions?
> Thanks,
> Merrill
>
> ________________________________________
> From: Mary Haley [haley@ucar.edu]
> Sent: Wednesday, November 14, 2012 2:53 PM
> To: Merrill Bean
> Cc: ncl-talk@ucar.edu; wrfhelp@ucar.edu
> Subject: Re: Question about overlaying WRF plot on non-WRF plot [Was: (no subject)]
>
> Hi Merrill,
>
> The wrf_vector plotting script simply creates a vector plot, and doesn't know anything about lat/lon coordinates. This is because usually you call wrf_vector as a precursor to calling wrf_map_overlays, which then does have the correct map information.
>
> In order to get the overlay right, you need set some special vector resources for defining the lat/lon grid for the vector plot. Try this, and let me know if it doesn't work:
>
> wrflat = wrf_user_getvar(wf,"XLAT",0)
> wrflon = wrf_user_getvar(wf,"XLONG",0)
> . . .
> opts@vfXArray = wrflon
> opts@vfYArray = wrflat
> vector = wrf_vector(wf,wks,u_plane(wtm,lv,:,:),v_plane(wtm,lv,:,:),opts)
>
> --Mary
> <pdust.png><plt_PressureLevel1.png><pdustovrlay.png>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Nov 15 13:29:22 2012

This archive was generated by hypermail 2.1.8 : Wed Nov 21 2012 - 11:16:05 MST