- 积分
- 21216
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-7-30
- 最后登录
- 1970-1-1
|
1金钱
matlab2019a安装nctoolbox-20130305.zip工具箱后扔读取grib2数据,求大神指点,先谢谢啦
这不是安装成功了嘛
>>test
NCTOOLBOX added to Matlab path
错误使用 ncdataset (line 91)
Failed to open fnl_20170602_12_00.grib2
出错 cfdataset (line 55)
obj = obj@ncdataset(url);
出错 ncgeodataset (line 20)
obj = obj@cfdataset(url);
出错 test (line 5)
nc=ncgeodataset(filename3);
原因:
错误使用 ncdataset (line 75)
Java exception occurred:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: ucar/nc2/util/CloseableIterator
at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1535)
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:887)
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:496)
at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:693)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:424)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:407)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:392)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:379)
Caused by: java.lang.NoClassDefFoundError: ucar/nc2/util/CloseableIterator
at ucar.nc2.grib.grib2.Grib2CollectionBuilder.<init>(Grib2CollectionBuilder.java:115)
at
ucar.nc2.grib.grib2.Grib2CollectionBuilder.readOrCreateIndexFromSingleFile(Grib2CollectionBuilder.java:76)
at ucar.nc2.grib.GribIndex.makeGribCollectionFromSingleFile(GribIndex.java:123)
at ucar.nc2.grib.grib2.Grib2Iosp.open(Grib2Iosp.java:310)
at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1499)
... 7 more
Caused by: java.lang.ClassNotFoundException: ucar.nc2.util.CloseableIterator
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 12 more
|
|