------- Forwarded Message
To: address@hidden
From: "Shirley Cohen" <address@hidden>
Subject: netCDF Java - Error Reading NetCDF File using Java Library
Organization: UCAR/Unidata
Keywords: 200504292103.j3TL3pH3003933
--=_4c69c57ae6b36e297ad7c3268aad7f3c
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Institution: TACC
Package Version: Version 2
Operating System: Windows XP
Hardware Information: Dell
Inquiry: I'm getting the following error when I try to run the attached program:
java NetCDF
Cant load class ucar.nc2.iosp.grib.Grib1ServiceProvider
java.lang.ClassNotFoundException: ucar.grib.grib1.Grib1Input
Cant load class ucar.nc2.iosp.grib.Grib2ServiceProvider
java.lang.ClassNotFoundException: ucar.grib.grib2.Grib2Input
Exception in thread "main" java.lang.NullPointerException
at NetCDF.main(NetCDF.java:21)
I have both netcdf-2.2.jar and ncCore-2.2.jar in my classpath.
Your assistance would be very much appreciated.
Thanks,
Shirley