This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Can you send a copy of the file that causes the problem? Or post a link to it? Thanks, Ryan > Dear support-netcdf-java: > > I am sorry to trouble you again, but nobody would come into my mind to help > me except you. I meet a problem > > about netcdf4. When i read a variable named "tstr" that type is int64 , but > it ocurs exceptions like followed. Do you > > give me some suggestion to solve the problem .Please teach me the method. > Thank you very much. > > Best Wishes! > > Yours sincerely, Zhoujun Sun. > > 15 April,2016 > > Exceptions: > 15, 2016 7:39:46 ucar.nc2.jni.netcdf.Nc4Iosp load > ?: NetCDF-4 C library loaded (jna_path='null', libname='netcdf'). > java.io.EOFException > at ucar.unidata.io.RandomAccessFile.readInt(RandomAccessFile.java:1242) > at ucar.unidata.io.RandomAccessFile.readLong(RandomAccessFile.java:1323) > at ucar.unidata.io.RandomAccessFile.readLong(RandomAccessFile.java:1354) > at ucar.nc2.iosp.IospHelper.readData(IospHelper.java:163) > at ucar.nc2.iosp.IospHelper.readDataFill(IospHelper.java:86) > at ucar.nc2.iosp.hdf5.H5iosp.readDataPrimitive(H5iosp.java:519) > at ucar.nc2.iosp.hdf5.H5iosp.readData(H5iosp.java:310) > at ucar.nc2.iosp.hdf5.H5iosp.readData(H5iosp.java:198) > at ucar.nc2.iosp.hdf5.H5iosp.readData(H5iosp.java:140) > at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1982) > at ucar.nc2.Variable.reallyRead(Variable.java:868) > at ucar.nc2.Variable._read(Variable.java:839) > at ucar.nc2.Variable.read(Variable.java:717) > at com.nwp.server.NCModel.LoadTstrVar(NCModel.java:518) > at com.nwp.server.NCModel.LoadDims(NCModel.java:389) > at com.nwp.server.NCModel.PrepareNCFile(NCModel.java:135) > at com.nwp.server.NCHander.ProcMesg_3(NCHander.java:483) > at com.nwp.server.NCHander.invokeMethod(NCHander.java:189) > at com.nwp.server.NCHander.doMainAction(NCHander.java:96) > at com.nwp.server.NCHander.run(NCHander.java:87) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) Ticket Details =================== Ticket ID: WRC-922054 Department: Support netCDF Java Priority: Normal Status: Open