- 积分
- 156
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-11-22
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
但是一直报错,所以代码和报错贴出来,希望有大神能给点意见
代码:begin
a = addfile("/usr/local/wrf/WRFV3/test/em_real/wrfout_d01_2015-11-01_00:00:00.nc","r")
T2=wrf_user_getvar(a,"T2",0)
times = wrf_user_getvar(a,"times",-1)
xlat=wrf_user_getvar(a,"XLAT",0)
xlon=wrf_user_getvar(a,"XLONG",0)
locationij=wrf_user_ll_to_ij(a,121.7854194,31.19645278,True);
;print(locationij)
lonlat=wrf_user_ij_to_ll(a,locationij(0),locationij(1),True);
print(lonlat)
;xx=xlat(locationij(1)-1,locationij(0)-1)
;print(xx)
t=T2(:,locationij(1)-1,locationij(0)-1)
print(t)
asciiwrite("test.txt",t)
end |
|