- 积分
- 465
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-7-10
- 最后登录
- 1970-1-1
|
发表于 2018-7-19 23:13:28
|
显示全部楼层
这个意思是需要把hdf文件里面的变量读出来,写进新的nc文件中吗?
我现在用ncl_convert2nc 直接转了下,输出来的不对。具体是:
warning:getvardims: file (null) contains no dimensions readable by NCL
warning:getfiledimsizes: undefined file variable
(小白一个,还望不嫌弃蠢。。)。
我看到是variable有问题,printVarSummary 输出看了下:
转之前的hdf文件:
Variable: f
Type: file
File path : /home/hj/temp/fy.hdf
Number of global attributes : 66
Number of groups : 3
转后的nc文件:
Variable: f1
Type: file
File path: /home/hj/temp/fy.nc
Number of global attributes: 72
Number of dimensions: 0
Number of variables: 0
具体情况是这样,还在辛苦的探索中,还望赐教!万分感谢!!
|
|