i am seeing some problems with the older jars, but ok with latest code.
please get new jars (nc2 and dods):
ftp://ftp.unidata.ucar.edu/pub/netcdf-java/netcdf2dods.jar
or the "all in one jar" (replaces dods, nc2, and httpclient):
ftp://ftp.unidata.ucar.edu/pub/netcdf-java/netcdf2All.jar
for now, i am not going to release the dods code as a seperate jar.
----- Original Message -----
From: "Ethan Davis" <edavis@xxxxxxxxxxxxxxxx>
To: "Donald Denbo" <dwd@xxxxxxxxxxxxx>; "shen yingshuo"
<yshen@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
"Nathan Potter" <ndp@xxxxxxxxxxxxxxxxxxxx>
Sent: Friday, January 25, 2002 1:43 PM
Subject: 20020125: test version ncBrowse
> > From: Donald Denbo <dwd@xxxxxxxxxxxxx>
> > Organization: NOAA/PMEL
> > Keywords: 200201251706.g0PH6Qx22366 DODS java netCDF
>
> Donald Denbo wrote:
> >
> > DODS Support,
> > I have the following problem reading this file using the
dods.jar
> > and netcdf2.jar files. The dods.jar is dated 7/5/2001 and the netcdf2
is
> > the latest version. The ncBrowse application does at the point it tries
to
> > access the variables. It get the structure read fine.
> >
> > Below I have included the stack trace.
>
> Hi Don, Yingshuo,
>
> I'm passing this on to John Caron (Agg Server and netcdf2.jar) and Nathan
Potter
> (dods.jar) to take a look at.
>
> Nathan: If you answer, please CC support@xxxxxxxxxxxxxxxx and include the
top
> three lines of this email for our tracking system. Thanks.
>
> Ethan
> support@xxxxxxxxxxxxxxxx
>
> > Don
> >
> > At 04:48 PM 1/24/2002 -1000, you wrote:
> > >hi don, this is yingshuo at iprc.. i am trying to use your new
ncBrowse
> > >which can open a dods file.. it works fine with dods file but it does
not
> > >work from dods data from thredds. ferret can open dods data from
> > >threads..
> > >
> > >the test ncBrowse does read part of thredds dods data.. but it can not
be
> > >complete.. it would be nice if ncBrowse can open data from thredds
which
> > >aggregates list of netCDF files..
> > >
> > >for your reference.. try to open
> > >
> > >http://thredds.unidata.ucar.edu:8080/dodsC/air.1948.nc
> > >
> > >
> > >best regards,
> > >
> > >yingshuo shen
> >
> > [java] Instantiating DODSNcFile
> > http://thredds.unidata.ucar.edu:8080/dodsC/air.1948.nc
> > [java] DODSVariable createVectorArray 1 getData failed on time
> > [java] java.io.EOFException
> > [java] java.io.EOFException
> > [java] at
java.io.DataInputStream.readInt(DataInputStream.java:343)
> > [java] at dods.dap.DVector.deserialize(DVector.java:200)
> > [java] at dods.dap.DataDDS.readData(DataDDS.java:75)
> > [java] at dods.dap.DConnect.getData(DConnect.java:298)
> > [java] java.lang.NullPointerException
> > [java] at dods.dap.DConnect.getData(DConnect.java:340)
> > [java] at ncBrowse.NcUtil.getArrayValue(Unknown Source)
> > [java] at ncBrowse.DODSNcFile.getArrayValue(Unknown Source)
> > [java] at ncBrowse.DomainSelector.makeAxesPanel(Unknown
Source)
> > [java] at ucar.nc2.dods.DODSNetcdfFile.getData(Unknown Source)
> > [java] at ucar.nc2.dods.DODSVariable.createVectorArray(Unknown
Source)
> > [java] at ncBrowse.DomainSelector.run(Unknown Source)
> > [java] at java.lang.Thread.run(Thread.java:484)
> > [java] at ucar.nc2.dods.DODSVariable.read(Unknown Source)
> > [java] at ncBrowse.NcUtil.getArrayValue(Unknown Source)
> > [java] at ncBrowse.DODSNcFile.getArrayValue(Unknown Source)
> > [java] at ncBrowse.DomainSelector.makeAxesPanel(Unknown
Source)
> > [java] at ncBrowse.DomainSelector.run(Unknown Source)
> > [java] at java.lang.Thread.run(Thread.java:484)
> > [java]
> >
> > =================================================
> > Donald W. Denbo dwd@xxxxxxxxxxxxx
> > Ph: (206) 526-4487 Fax: (206) 526-6744
> > Collaborative tools: http://www.epic.noaa.gov/collab/
> > Netcdf Browser: http://www.epic.noaa.gov/java/ncBrowse
> > Scientific Java Graphics: http://www.epic.noaa.gov/java/sgt
> > EPIC Oceangraphic Data Management: http://www.pmel.noaa.gov/epic
> > =================================================
>
> --
> Ethan R. Davis Telephone: (303) 497-8155
> Software Engineer Fax: (303) 497-8690
> UCAR Unidata Program Center E-mail: edavis@xxxxxxxx
> P.O. Box 3000
> Boulder, CO 80307-3000 http://www.unidata.ucar.edu/
>