FW: clmMeanTLL assignment type mismatch error.

From: toimoi <atoiamoi_at_nyahnyahspammersnyahnyah>
Date: Thu, 12 Feb 2009 15:45:33 +0800

From: atoiamoi_at_live.cnTo: ncl-talk_at_ucar.eduSubject: clmMeanTLL assignment type mismatch error.Date: Thu, 12 Feb 2009 12:27:36 +0800

hi all! I use clmMeanTLL function to compute long term mean of uwind and vwind from 1971-2000 with ncep reanalysis data-uwnd(vwnd).mon.mean.nc ,but get assignment type mismatch error. The script is: load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" begin uw=addfile("/home/zyz/data/uwnd.mon.mean.nc","r") ;1000,925,850,700,600,500,400,300,250,200,150,100,70,50,30,20,10 u1=uw->uwnd(276:635,5,:,:) uave=clmMonTLL(u1) ;printVarSummary(clmMonTLL(u1)) vw=addfile("/home/zyz/data/vwnd.mon.mean.nc","r") ;1000,925,850,700,600,500,400,300,250,200,150,100,70,50,30,20,10 v1=vw->vwnd(276:635,5,:,:) vave = clmMonTLL(v1 ) u08=uw->uwnd(720:731,5,:,:) v08=vw->vwnd(720:731,5,:,:) uanom=u08-uave vanom=v08-vave copy_VarCoords(u08,uanom) copy_VarCoords(v08,vanom) wks = gsn_open_wks("x11","0812_500wnd_anom") ; open an ps plot gsn_define_c
 olormap(wks,"BlAqGrYeOrReVi200") res = True res_at_lbOrientation = "Vertical" ; vertical label bar res_at_lbLabelAutoStride = True ; optimal label stride res_at_gsnSpreadColors = True ; use full range of colors res_at_gsnSpreadColorEnd = -3 ; don't use added gray ;res_at_cnFillOn = True ; turn on color fill res_at_mpFillOn = False ; turn off continent gray ;res_at_cnLevelSelectionMode = "ManualLevels" ;res_at_cnLevelSpacingF = 2. ;res_at_vcGlyphStyle = "WindBarb" ; choose wind barbs ;res_at_vcMonoWindBarbColor = False ; color barbs by scalar ;res_at_vcMinDistanceF = 0.025 ; thin out windbarbs plot=gsn_csm_vector_map_ce(wks,uanom,vanom,res)end who can give a clue how to solve the problem? Th
 anks

使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载!
_________________________________________________________________
上Windows Live 中国首页,下载最新版 MSN!
http://im.live.cn/

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 12 2009 - 00:45:33 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 12 2009 - 10:16:44 MST