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

[IDV #UYR-157949]: grb file opening



Dear Antonella,

Why not simply load the original netCDF file into the IDV? Be sure to select 
the correct data source type in the Data Choosers of the IDV Dashboard.

Please keep us up to date on your progress.

Best Wishes,

Unidata IDV Support

> Full Name: Antonella
> Email Address: address@hidden
> Organization: National Council of Research (Rome,Italy)
> Package Version: 4.0u1 build date:2013-03-29 18:10 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files\IDV_4.0u1\jre version: 1.6.0_43 
> j3d:1.5.2 fcs (build4)
> Description of problem:
> 
> I would open the file in attach and I read following message:
> 
> There was an error loading the data:
> java.lang.NullPointerException
> 
> Please, note that I convert original netcdf file in to grb file by mean
> of linux application, while my actual IDV is a windows application
> 
> thanks very much
> 
> ******************
> Stack trace:
> java.lang.NullPointerException
> at ucar.nc2.Variable.setDataType(Variable.java:1206)
> at ucar.nc2.Variable.<init>(Variable.java:1164)
> at ucar.nc2.grib.grib1.Grib1Iosp.addVerticalCoordinate(Grib1Iosp.java:405)
> at ucar.nc2.grib.grib1.Grib1Iosp.addGroup(Grib1Iosp.java:272)
> at ucar.nc2.grib.grib1.Grib1Iosp.open(Grib1Iosp.java:159)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1494)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:786)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:395)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:687)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:418)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:513)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:104)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:90)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1113)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1135)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:499)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1597)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1980)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1897)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1831)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1804)
> at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943)
> at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:656)
> at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:525)
> at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:547)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at ucar.unidata.util.Misc$2.run(Misc.java:1221)
> at ucar.unidata.util.Misc$3.run(Misc.java:1249)
> 
> 
> 


Ticket Details
===================
Ticket ID: UYR-157949
Department: Support IDV
Priority: Normal
Status: Closed


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.