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.
I am finding that the default Convention parser is working ok on your file. Im not sure why you are getting the java.lang.NullPointerException at java.util.StringTokenizer.<init>(StringTokenizer.java:119) at java.util.StringTokenizer.<init>(StringTokenizer.java:135) at ucar.nc2.dataset.conv.Convention.factory(Convention.java:87) at aims.app.science.biodiv.sstAtlas.ImageLibrary.readDataset(ImageLibrary.java:127) at aims.app.science.biodiv.sstAtlas.ImageLibrary.main(ImageLibrary.java:240) but there were some changes recently to that code. Why dont you download the latest library and try again? download from http://www.unidata.ucar.edu/packages/netcdf-java/ If you still have trouble, put one of your files onto an FTP server so i can reproduce the problem.