NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Neil- Sorry for the delay in responding. The MCIO convention parser was written by a 3rd party and apparently doesn't support all the versions of these files. If you can send me a sample file, I can take a look. Don Murray > Full Name: Neil Davis > Email Address: address@hidden > Organization: Institute for the Environment - UNC Chapel Hill > Package Version: 2.5 build date:2008-05-08 07:05 UTC > Operating System: Linux > Hardware: Java: home: /home/drunkndog5/IDV_2.5/jre version: 1.5.0_11 j3d:1.3.1 > Description of problem: I am trying to open a METCRO2D MCIP file which is an > IO/API netCDF file, and I get the following error. > > I am running IDV on Ubuntu Linux 8.04 with Sun Java 5 installed. > > The Error is included below. > > There was an error loading the data: > java.lang.NullPointerException > > java.lang.NullPointerException > at > ucar.nc2.dataset.conv.M3IOConvention.findAttributeDouble(M3IOConvention.java:287) > at > ucar.nc2.dataset.conv.M3IOConvention.makeTMProjection(M3IOConvention.java:214) > at > ucar.nc2.dataset.conv.M3IOConvention.constructCoordAxes(M3IOConvention.java:92) > at ucar.nc2.dataset.conv.M3IOConvention.augmentDataset(M3IOConvention.java:67) > at > ucar.nc2.dataset.CoordSysBuilder.addCoordinateSystems(CoordSysBuilder.java:316) > at ucar.nc2.dataset.NetcdfDataset.<init>(NetcdfDataset.java:650) > at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:181) > at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:203) > at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:183) > at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:171) > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:72) > at > ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:961) > at > ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:982) > at > ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:437) > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1339) > at > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1847) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1766) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1700) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1681) > at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:839) > at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:632) > at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:501) > at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:523) > 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:585) > at ucar.unidata.util.Misc$2.run(Misc.java:990) > at ucar.unidata.util.Misc$3.run(Misc.java:1018) > > Thanks for your time and let me know if I can add any more details. > > ****************** > Stack trace: > java.lang.NullPointerException > at > ucar.nc2.dataset.conv.M3IOConvention.findAttributeDouble(M3IOConvention.java:287) > at > ucar.nc2.dataset.conv.M3IOConvention.makeTMProjection(M3IOConvention.java:214) > at > ucar.nc2.dataset.conv.M3IOConvention.constructCoordAxes(M3IOConvention.java:92) > at ucar.nc2.dataset.conv.M3IOConvention.augmentDataset(M3IOConvention.java:67) > at > ucar.nc2.dataset.CoordSysBuilder.addCoordinateSystems(CoordSysBuilder.java:316) > at ucar.nc2.dataset.NetcdfDataset.<init>(NetcdfDataset.java:650) > at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:181) > at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:203) > at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:183) > at ucar.nc2.dataset.NetcdfDatasetCache.acquire(NetcdfDatasetCache.java:171) > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:72) > at > ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:961) > at > ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:982) > at > ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:437) > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1339) > at > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1847) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1766) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1700) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1681) > at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:839) > at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:632) > at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:501) > at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:523) > 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:585) > at ucar.unidata.util.Misc$2.run(Misc.java:990) > at ucar.unidata.util.Misc$3.run(Misc.java:1018) > > > Ticket Details =================== Ticket ID: FKX-127756 Department: Support IDV Priority: Normal Status: Open