Re: How to plot aaa(lat|0:2400, lon|0:2400) by NCL: plot = gsn_csm_contour_map_ce(wks, aaa, res) efficiently?

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Sun Jul 15 2012 - 08:11:10 MDT

Try

  res@cnFillMode = "CellFill"

On 7/15/12 12:28 AM, ¶ÅÕñ²Ê wrote:
> Dear NCL-Users,
>
> I have a var albedo likes:
>
> dimensions:
> lat = 2400 ;
> lon = 2400 ;
> variables:
> float albedo(lat, lon) ;
>
> When I want to make a plot of it by:
> plot = gsn_csm_contour_map_ce(wks,albedo,res)
>
> It didn't work quickly.
> I was waiting for more than 872 minutes...
> Linux top-command likes:
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 15278 iap 25 0 1262m 1.0g 6716 R 100.0 6.7 872:31.83 ncl ww.season-mean.ncl
>
> However, When the plot changed like:
> plot = gsn_csm_contour_map_ce(wks,albedo(0:10,:) ,res)
> It's ok now.
>
> I changed the ~/.hluresfile file like:
> *wsMaximumSize: 15000000000
> ...
> *wsMaximumSize: 445600000
> but, it didn't work either.
>
> Can anyone tell me how to make such a plot efficiently?
> plot = gsn_csm_contour_map_ce(wks,albedo(0:2399,0:2399),res)
>
> The res I use likes:
> res= True
> res@gsnDraw = True
> res@gsnFrame= True
> res@tiMainOn = False
> res@cnFillOn = True
> res@cnLinesOn = False
> res@lbLabelBarOn = True
> res@lbLabelAutoStride= True
> res@lbLabelPosition = "Right" ;"Bottom" ;
> res@lbOrientation = "Vertical" ;"Horizontal" ;
> res@lbLeftMarginF = -0.17 ;Default: 0.05
> res@mpMinLonF = lon(0)-0.5
> res@mpMaxLonF = lon(2399)+0.5
> res@mpMinLatF = lat(2399)-0.5
> res@mpMaxLatF = lat(0)+0.5
> res@mpFillOn = False
> res@tmXTOn = False
> res@tmXBOn = True
> res@tmYLOn = True
> res@tmYROn = False
> res@tmXTLabelFontHeightF = 0.02 ;0.04
> res@tmXBLabelFontHeightF = 0.02
> res@tmYLLabelFontHeightF = 0.02
> res@tmYRLabelFontHeightF = 0.02
> res@tmXBLabelFontThicknessF = 1.5
> res@tmYLLabelFontThicknessF = 1.5
> res@tmXBLabelDeltaF = -0.65
> res@tmYLLabelDeltaF = -0.65
> res@tmBorderThicknessF = 1.5
> res@tmXBMajorThicknessF = 1.5
> res@tmXTMajorThicknessF = 1.5
> res@tmYLMajorThicknessF = 1.5
> res@tmYRMajorThicknessF = 1.5
>
> res@gsnSpreadColors = True
> res@gsnSpreadColorStart = 22
> res@gsnSpreadColorEnd = 77
> res@cnLevelSelectionMode= "ExplicitLevels"
> res@cnLevels = (/-90,-70,-50,-40,-30,-20,-10,-5,-1,0,1,5,10,20,30,40,50,70,90/)
> res@gsnAddCyclic= False
> res@gsnMaximize= True
>
>
>
> Best regards£¡
> 2012-07-15--12:42:17
> ****************************************************************************
> DU ZhenCai
> Ph.D., Meteorology, Graduate University of Chinese Academy of Sciences, Beijing, China, 2011.
> Center for Monsoon System Research£¨CMSR£©,
> Institute of Atmospheric Physics£¨IAP£©,
> Chinese Academy of Sciences£¨CAS£©
> http://cmsr.iap.ac.cn
> Add:
> P.O. Box 2718
> Zhongguancun Avenue
> Haidian District, Beijing, 100190
> People's Republic of China
> Email£º duzhc@mail.iap.ac.cn
> ****************************************************************************
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Jul 15 08:11:20 2012

This archive was generated by hypermail 2.1.8 : Wed Jul 18 2012 - 14:33:00 MDT