Problems of tick mark for the plots with wrfout files

From: astroqing <astroqing_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 22 2013 - 20:03:26 MDT

Hi,

I use NCL to draw with wrfout files. I want to modified the tick marks for both X and Y axes, and the sentences I used are follows,

   a = addfile("wrfout.nc","r")
   res = True
   wrf_mapres_c(a,res,0)
   res@tmXBMode = "Explicit"
   res@tmXBValues =(/110,115,120,125/)
   res@tmXBLabels =(/"110","115","120","125"/)
   res@tmYLMode = "Explicit"
   res@tmYLValues =(/30,35,40,45/)
   res@tmYLLabels =(/"30","35","40","45"/)
   plot = gsn_csm_contour_map(wks,rain,res)

But those resources seem to work unproperly, and NCL return me the information that as follows,

warning:MapPlotSetValues: tm[XB|XT|YL|YR]Mode resources are not currently enabled for MapPlot tick marks
warning:tmYLValues is not a valid resource in map at this time
warning:tmYLLabels is not a valid resource in map at this time
warning:tmXBValues is not a valid resource in map at this time
warning:tmXBLabels is not a valid resource in map at this time

Could you tell me how to solve this problem, if I want to modify the tick mark for the plots with wrfout files?
Thanks a lot!

Tao


2013-04-23

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 22 19:57:11 2013

This archive was generated by hypermail 2.1.8 : Tue Apr 23 2013 - 12:54:13 MDT