- 积分
- 2794
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-9-28
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
我用了2015年3.17的fnl数据,只希望看下700hpa温度场的状况,但是出现了两个问题,希望大神帮忙看下:
1,出现警示
warning : entry(21) not found in code table file /app/ncl/lib/ncarg/grib2_codetables/ncep/4/4.2.0.0.table
2, 出现错误
fatal:nclonedvalgetclosersindex: finish coordinate index out of range ,can't continue
fatal: could not obtain coordinate indexes ,unable to perform subscript
程序如下,
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
grb_file = addfile("/home/CZX/fnl_20150317_06_00.grib2","r")
tt = grb_file->TMP_P0_L100_GLL0({700},:,:)...................................................当写成“tt = grb_file->TMP_P0_L100_GLL0(0,:,:)”的时候就没有2中的错误,但是自己实在无能,不知道26各个层次对应的气压
t1 =tt-273
wks =gsn_open_wks("eps","TEST")
gsn_define_colormap(wks,"BlAqGrYeOrReVi200")
copy_VarMeta(tt,t1)
res = False
plot = gsn_csm_contour(wks,t1,res)
end
望各位大神帮忙解答,初学ncl,辛苦各位!
|
|