Re: overlay trajectory on satellite mapț

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 21 2011 - 09:45:52 MDT

Try moving your gsn_polyline call to after the overlay call:

gsn_define_colormap(xwks,"amwg") ; define colormap
plot = gsn_csm_map(xwks,res)
plot_rad = gsn_csm_contour_map(xwks,data_4,res)
overlay(plot, plot_rad)

Note also that you are using your regular plotting resource list (res)
in your gsn_csm* calls and your gsn_polyline call. It is highly
recommended that you develop a separate resource list for gsn_polyline:

resp = True
resp@tfPolyDrawOrder = "PostDraw" ; draw the trajectory at the end

Finally, you are also setting the following:
res@mpFillDrawOrder = "PostDraw" ; draw continental outline last
res@mpOutlineDrawOrder = "PostDraw" ; draw the map outline last
res@mpGridAndLimbDrawOrder= "PostDraw" ; areas before map gets set
res@mpPerimDrawOrder = "PostDraw" ; areas before map gets set

These might conflict with the drawing of the trajectory. Thus, you might
have to alter some (or all) of these to Draw if you continue to have
difficulty getting the trajectory on there...
Good luck, Adam

On 04/21/2011 01:36 AM, Avel O wrote:
> Thanks,
> I changed it to gsn_csm_contour but the trajectory is now plotted
> "behind" the satellite radiances. I would like both radiances and
> trajectory to be clearly visible.
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

Adam Phillips
National Center for Atmospheric Research   tel: (303) 497-1726
Climate and Global Dynamics Division         fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Apr 21 09:46:16 2011

This archive was generated by hypermail 2.1.8 : Tue May 03 2011 - 14:47:35 MDT