[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #UQE-686970]: Cannot load netcdf4 file, It does work in IDV 2.6u2 but not in IDV 2.7b2



Hi Maarten-

> Full Name: Maarten Plieger
> Email Address: address@hidden
> Organization: KNMI (Royal Netherlands Meteorological Institute)
> Package Version: 2.7b2 build date:2009-05-27 19:52 UTC
> Operating System: Windows XP
> Hardware: Java: home: C:\Program Files\IDV_2.7b2\jre version: 1.6.0_11 
> j3d:1.5.2 fcs (build4)
> Description of problem: I know that this file does not conform to the CF 
> standards, but it could be perfectly read in IDV 2.6u2.
> In the 2.7b2 version I get the following error:

Thanks for catching this.  The netCDF-java and IDV repositories were out
of sync on this class.  I've corrected that and created a new nightly
build.  I tested with your sample file and it worked.

This summer we are going to move to a common repository for these classes
which  will avoid this problem in the future.

Don

> There was an error loading the data:
> Error creating data source:file.grid with: 
> M:\INTER_TEST_R___Kriging_L3__19500101T000000_99991230T235959_0001.nc
> Grid data source failed making data set: 
> M:\INTER_TEST_R___Kriging_L3__19500101T000000_99991230T235959_0001.nc
> java.lang.NoSuchMethodError: ucar.unidata.util.SpecialMathFunction.log2(D)D
> 
> Because it worked in the previous version I thought that this message might 
> be useful for you.
> Regards, Maarten
> 
> ******************
> Stack trace:
> java.lang.RuntimeException: java.lang.NoSuchMethodError: 
> ucar.unidata.util.SpecialMathFunction.log2(D)D
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1307)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:726)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:381)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:676)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:431)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:511)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:88)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1052)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1074)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:443)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1490)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1954)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1871)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1805)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1778)
> at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:907)
> at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:661)
> at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:530)
> at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:552)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at ucar.unidata.util.Misc$2.run(Misc.java:1033)
> at ucar.unidata.util.Misc$3.run(Misc.java:1061)
> Caused by: java.lang.NoSuchMethodError: 
> ucar.unidata.util.SpecialMathFunction.log2(D)D
> at 
> ucar.nc2.iosp.hdf5.H5header$FractalHeap$IndirectBlock.<init>(H5header.java:4941)
> at ucar.nc2.iosp.hdf5.H5header$FractalHeap.<init>(H5header.java:4784)
> at ucar.nc2.iosp.hdf5.H5header.readGroupNew(H5header.java:3423)
> at ucar.nc2.iosp.hdf5.H5header.access$1100(H5header.java:64)
> at ucar.nc2.iosp.hdf5.H5header$H5Group.<init>(H5header.java:1764)
> at ucar.nc2.iosp.hdf5.H5header$H5Group.<init>(H5header.java:1729)
> at ucar.nc2.iosp.hdf5.H5header.readSuperBlock2(H5header.java:319)
> at ucar.nc2.iosp.hdf5.H5header.read(H5header.java:173)
> at ucar.nc2.iosp.hdf5.H5iosp.open(H5iosp.java:100)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1289)
> ... 24 more
> 
> 
> 


Ticket Details
===================
Ticket ID: UQE-686970
Department: Support IDV
Priority: Normal
Status: Open


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.