- 积分
- 154
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-8-14
- 最后登录
- 1970-1-1

|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
CTL是下面
dset 2009111900.dat
title WRF data
undef -9999.
pdef 261 177 lcc 33.20 104.20 131.00 89.00 30.00 60.00 104.20 27000. 27000.
xdef 805 linear 55.29 0.1216
ydef 389 linear 8.03 0.1216
zdef 16 levels 1000.00 975.00 950.00 925.00 900.00 850.00 800.00 700.00 600.00 500.00 400.00 300.00 250.00 200.00 150.00 100.00
tdef 49 linear 00:00Z17Nov2009 30MN
vars 2
vws 16 99 index1
hws 16 99 index2
endvars
用meteoinfo.exe能直接读取的,然后想自己来提取
string afile = @"F:\windprofile\data\20091117.CTL";
string errorstr = " ";
GrADSDataInfo aDataInfo = new GrADSDataInfo();
aDataInfo.ReadDataInfo(aFile,ref errorstr);
string dset = aDataInfo.DSET;
string title = aDataInfo.TITLE;
double undef = aDataInfo.UNDEF;
double znum = aDataInfo.ZDEF.ZNum;
......
dset和undef调试显示是正确的,其他的都是null,请教哈楼主哦,然后开始时间是00:00Z17Nov2009怎么提取转换呢?
|
|