- 积分
- 30
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-5-7
- 最后登录
- 1970-1-1
|
NCL
系统平台: |
|
问题截图: |
- |
问题概况: |
fnl变量在脚本中怎么修改。。 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
7 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
用NCL提取grib2的fnl资料如下:
Variable: f
Type: file
filename: fnl_20151224_18_00
path: fnl_20151224_18_00.grib2
file global attributes:
dimensions:
lat_0 = 181
lon_0 = 360
lv_ISBL0 = 26
lv_AMSL1 = 3
lv_HTGL2 = 3
lv_PVL3 = 2
lv_HTGL4 = 2
lv_SIGL5 = 4
lv_ISBL6 = 21
lv_HTGL7 = 3
lv_SPDL8 = 2
lv_ISBL9 = 12
lv_DBLL10 = 4
variables:
float TMP_P0_L1_GLL0 ( lat_0, lon_0 )
center : US National Weather Service - NCEP (WMC)
然后绘制850hpa位势高度场中
f=addfile("/opt/ncl/tianqixingshi/fnl_20151224_18_00.grib2","r")
u = f->U_GRB_0_ISBL({850},:,:)
v = f->U_GRB_0_ISBL({850},:,:)
t = f->U_GRB_0_ISBL({850},:,:)
hgt= f->U_GRB_0_ISBL({850},:,:)
newt = t - 273.15
报错
fatal:["Execute.c":6332]:variable (U_GRB_0_ISBL) is not in file (f)
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 7 in file hgt_temp.ncl
请问这个变量要怎么改,不太懂那个变量要怎么写到脚本里去,求大神指点
|
|