- 积分
- 10
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-1-24
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
用以下代码读取的grib2数据是 时间 高度的维度的数量正确 但是数值不正确 而且最后输出的double的数组也不对 求大神指点
MeteoDataInfo aDataInfo = new MeteoDataInfo();
aDataInfo.OpenGRIBData(FilePath);
List<string> Variable_names = new List<string>();
Variable_names = aDataInfo.GetVariableNames();
List<Variable> variables = new List<Variable>();
variables = aDataInfo.GetVariables();
GridData U_grid_851 = new GridData();
U_grid_851 = aDataInfo.GetGridData_Time(Variable_names[3]);
GridData U_grid_852 = new GridData();
U_grid_852 = aDataInfo.GetGridData_LevelTime(Variable_names[3]);
GridData U_grid_850 = new GridData();
aDataInfo.TimeIndex = 0;
aDataInfo.LevelIndex = 0;
int tt=aDataInfo.GetTimeNumber();
U_grid_850 = aDataInfo.GetGridData(Variable_names[3]);
double[,] hh =U_grid_850.Data;
|
|