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

From: Merrill Bean <mrbean_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 15 2012 - 08:41:25 MST

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

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

pdust.png
plt_PressureLevel1.png
pdustovrlay.png
Received on Thu Nov 15 08:42:09 2012

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