- 积分
- 319
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-4-13
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
想用NCL画wrfout里某一位置的T2随时间变化的曲线,脚本如下:
========================================================
begin
f = addfile ("/home/bloom/Downloads/models/WRF-CASE11/WRFV3/run/wrfout_d02_2010-01-07_12:00:00","r")
t = f->T2
printVarSummary(t)
wks = gsn_open_wks("png","xy") ; send graphics to PNG file
res = True ; plot mods desired
res@tiMainString = "Basic XY plot" ; add title
plot = gsn_csm_xy(wks,t&Time,t(:,{40},{70}),res) ; create plot
end
========================================================
但结果总是报错:fatal:No coordinate variable exists for dimension (Time) in variable (t),
printVarSummary(t)显示的结果是:
Variable: t
Type: float
Total Size: 1484496 bytes
371124 values
Number of Dimensions: 3
Dimensions and sizes: [Time | 61] x [south_north | 78] x [west_east | 78]
Coordinates:
Number Of Attributes: 6
FieldType : 104
MemoryOrder : XY
description : TEMP at 2 M
units : K
stagger :
coordinates : XLONG XLAT XTIME
请那位好心人帮忙看看是什么原因?
|
|