- 积分
- 2892
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-7-15
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
这是我的代码,总是第27行有错误,请各位大神指点
; Example script to plot a field from a single metgrid file
2 ; November 2008
3
4 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
5 load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
6
7 begin
8 ;
9 a = addfile("wrfout.d01.2011_03_19_00:00:00.nc","r") ; Open a file
10
11
12 ; We generate plots, but what kind do we prefer?
13 type = "x11"
14 ; type = "pdf"
15 ; type = "ps"
16 ; type = "ncgm"
17 wks = gsn_open_wks(type,"plt_landflux_1")
18
19
20 res = True ; Set up some basic plot resources
21 res@MainTitle = "GROUND LONG WAVELENTH"
22 res@Footer = False
pltres = True
25 mpres = True
26
27 glw = wrf_user_getvar(a,"GLW",0)
28
29
30
31 opts = res ; Set some plotting resources
32 opts@cnFillOn = True
33 opts@ContourParameters = (/ 10. /)
34
35 contour = wrf_contour(a,wks,glw,opts)
36 delete(opts)
37 plot = wrf_map_overlays(a,wks,(/contour/),pltres,mpres)
38
39 end
|
|