爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 7952|回复: 3

[秀图] 求助rungs出现问题

[复制链接]

新浪微博达人勋

发表于 2016-10-11 13:41:52 | 显示全部楼层 |阅读模式
4金钱
gs:文件如下
'reinit'
'open 7_66_g_0_20161011120000_20161015180000_900_905.ctl'
lon1=108.42735
lat1=31.94488
lev1=65
t1=1
t2=409
'set lon 'lon1''
'set lat 'lat1''
*'set lev 'lev1''
'set z 1'
i=t1
while(i<=t2)
'set t 'i''
'd U10'
ret=subwrd(result,10)
res=write('outU10.txt',ret)
'd V10'
ret=subwrd(result,10)
res=write('outV10.txt',ret)
'd ws10'
ret=subwrd(result,10)
res=write('outws10.txt',ret)
'd wd10'
ret=subwrd(result,10)
res=write('outwd10.txt',ret)
'd mag(u10,v10)'
ret=subwrd(result,10)
res=write('outuv10.txt',ret)
'd SWDOWN'
ret=subwrd(result,10)
res=write('outswdown.txt',ret)
i=i+1
endwhile
close(outU10.txt)
close(outV10.txt)
close(outws10.txt)
close(outwd10.txt)
close(outuv10.txt)
close(outswdown.txt)

CTL文件:
dset ^7_66_g_0_20161011120000_20161015180000_900_905.dat
options  byteswapped
undef 1.e30
title  OUTPUT FROM WRF V3.0 MODEL
pdef   99  99 lcc  34.500  111.500   50.000   50.000  25.00000  25.00000  120.00000   5000.000   5000.000
xdef  268 linear  108.42735   0.02252252
ydef  224 linear   31.94488   0.02252252
zdef   14 levels  
   0.92000
   0.94000
   0.95000
   0.96000
   0.97000
   0.98000
   0.99000
   1.00000
   1.11000
   1.12000
   1.13000
   1.14000
   1.15000
   1.16000
tdef  409 linear 12Z11OCT2016      15MN      
VARS   12
U             14  0  x-wind component (m s-1)
V             14  0  y-wind component (m s-1)
U10            1  0  U at 10 M (m s-1)
V10            1  0  V at 10 M (m s-1)
pressure      14  0  Model pressure (hPa)
height        14  0  Model height (KM)
tc            14  0  Temperature (C)
rh            14  0  Relative Humidity (%)
wspd          14  0  Wind Speed (m s-1)
wdir          14  0  Wind Direction (Degrees)
ws10           1  0  Wind Speed at 10 M (m s-1)
wd10           1  0  Wind Direction at 10 M (Degrees)



QQ图片20161011133803.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-10-11 13:52:21 | 显示全部楼层
ctl和数据文件没错的话应该是哪里格式错了,文件都没打开
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2016-10-11 13:55:40 | 显示全部楼层
什么格式呢?
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2016-10-11 14:07:25 | 显示全部楼层
自己解决了…
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表