- 积分
- 423
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-10-9
- 最后登录
- 1970-1-1
|
发表于 2016-8-1 22:13:32
|
显示全部楼层
楼主,您好,我用的grib2数据改了相应的变量名,但是出现了错误,能否帮我看看问题出在哪里?
plot=new(2,graphic)
diri = "/home/tl/ncl/data/2016/" ; input directory
fili = "fnl_20160626_18_00.grib2" ; file paths
grb_file = addfile(diri+fili, "r")
;500hgt*********************************************************************
tt = grb_file->TMP_P0_L100_GLL0 (7,:,:)
rhprs = grb_file->RH_P0_L100_GLL0 (7,:,:)
u = grb_file->UGRD_P0_L100_GLL0(7,:,:)
v = grb_file->VGRD_P0_L100_GLL0(7,:,:)
tc = tt-273.16
lev = tt@lv_ISBL0
出现错误如下:
warning:ContourPlotInitialize: scalar field is constant; no contour lines will appear; use cnConstFEnableFill to enable fill
warning:ContourPlotInitialize: scalar field is constant; no contour lines will appear; use cnConstFEnableFill to enable fill
|
|