NSF Unidata

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

[IDV #ZMO-284302]: failure to read netCDF files

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.



Greetings Paul,

Would you mind uploading an example file for us to check out?

http://motherlode.ucar.edu/repository/alias/idvupload

Thanks!

Sean

> Full Name: Paul Prososki
> Email Address: address@hidden
> Organization: Texas Tech University Atmospheric Science Group
> Package Version: 3.0u2 build date:2012-02-10 17:21 UTC
> Operating System: Linux
> Hardware: Java: home: /usr/local/IDV_3.0u2/jre version: 1.6.0_20 j3d:1.5.2 
> fcs (build4)
> Description of problem: IDV fails to read my .nc files seemingly regardless 
> of the data type I choose to open it as.  If I choose the netCDF type, it 
> tells me there is "No gridded data for" the file.  Below is the other error 
> I'll get:
> 
> Netcdf sweep error:init
> java.lang.NullPointerException
> 
> Thanks in advance,
> 
> Paul
> 
> ******************
> Stack trace:
> java.lang.NullPointerException
> at 
> ucar.unidata.data.radar.NetcdfSweepfileAdapter.loadData(NetcdfSweepfileAdapter.java:338)
> at 
> ucar.unidata.data.radar.NetcdfSweepfileAdapter.init(NetcdfSweepfileAdapter.java:144)
> at 
> ucar.unidata.data.radar.NetcdfSweepfileAdapter.<init>(NetcdfSweepfileAdapter.java:130)
> at 
> ucar.unidata.data.radar.NetcdfRadarDataSource.makeRadarAdapter(NetcdfRadarDataSource.java:132)
> at ucar.unidata.data.radar.RadarDataSource$1.run(RadarDataSource.java:297)
> at visad.util.ThreadManager.runInParallel(ThreadManager.java:273)
> at visad.util.ThreadManager.runInParallel(ThreadManager.java:245)
> at visad.util.ThreadManager.runInParallel(ThreadManager.java:212)
> at 
> ucar.unidata.data.radar.RadarDataSource.makeAdapters(RadarDataSource.java:319)
> at 
> ucar.unidata.data.radar.RadarDataSource.getAdapters(RadarDataSource.java:251)
> at 
> ucar.unidata.data.radar.RadarDataSource.getRadarAdapters(RadarDataSource.java:631)
> at 
> ucar.unidata.data.radar.NetcdfRadarDataSource.doMakeDataChoices(NetcdfRadarDataSource.java:107)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1839)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1579)
> at 
> ucar.unidata.data.DataManager.createDataSourceAndAskForType(DataManager.java:1364)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataChoices(GeoGridDataSource.java:1241)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1839)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1579)
> at 
> ucar.unidata.data.DataManager.createDataSourceAndAskForType(DataManager.java:1364)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataChoices(GeoGridDataSource.java:1241)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1839)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1579)
> at 
> ucar.unidata.data.DataManager.createDataSourceAndAskForType(DataManager.java:1364)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataChoices(GeoGridDataSource.java:1241)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1839)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1579)
> 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:1062)
> at ucar.unidata.util.Misc$3.run(Misc.java:1090)
> 
> 
> 

Ticket Details
===================
Ticket ID: ZMO-284302
Department: Support IDV
Priority: Normal
Status: Open