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

[netCDFJava #TKT-143293]: Java API on String[] Attributes



bug fixes only, and only if they are not too extensive.

> Hi,
> 
> Many thanks ... now I get it.  I thought the 4.1 release was frozen
> when first released, but it's actually dynamic incorporating new fixes.
> Excellent!
> 
> Steve
> 
> 
> On Thu, Jun 17, 2010 at 09:17:10AM -0600, Unidata netCDF Java Support wrote:
> > Hi Steve:
> >
> > a "release" always means from
> >
> > http://www.unidata.ucar.edu/software/netcdf-java/
> >
> > its the 4.1 release, check the version number in README to make sure its 
> > the right one.
> >
> >
> > we are still working on making our source build simpler, but basically you 
> > need to
> >
> > svn checkout {root}/common/java/trunk to a directory "unidataCommon" at the 
> > same level as thredds
> >
> > in your case it looks like that would be
> >
> > cd /d1/steves/ftp/
> >
> > svn co http://svn.unidata.ucar.edu/repos/common/java/trunk unidataCommon
> >
> > > Thanks!
> > >
> > > Where can I find this release?
> > > When I tried building the svn download from
> > > http://svn.unidata.ucar.edu/repos/thredds/trunk/cdm/
> > >
> > > ant died:
> > > BUILD FAILED
> > > /d1/steves/ftp/netcdfJavaSvn/cdm/build.xml:260: srcdir
> > > "/d1/steves/ftp/netcdfJavaSvn/common/src/java" does not exist!
> > >
> > > Cheers,
> > >
> > > Steve
> > >
> > >
> > >
> > > On Wed, Jun 16, 2010 at 07:03:01PM -0600, Unidata netCDF Java Support 
> > > wrote:
> > > > ok, i have a fix in 4.1.20100617.0055
> > > >
> > > > ill be gone for 3 weeks, so have to take up further issues then.
> > > >
> > > > thanks for your help, this is really great testing...
> > > >
> > > > John
> > > >
> > > > >
> > > > > Attached ...
> > > > >
> > > > > The commands I used are:
> > > > >
> > > > > ncgen -k hdf5 -o tempd.nc tempd.cdl
> > > > >
> > > > > ncdump tempd.nc
> > > > > netcdf tempd {
> > > > >
> > > > > // global attributes:
> > > > > string :globAttr0000 = "aaa", "bbb", "ccc" ;
> > > > > }
> > > > >
> > > > > $ java -cp ... ucar.nc2.NCdumpW tempd.nc -vall -c
> > > > > netcdf tempd.nc {
> > > > > :globAttr0000 = "ccc", , ;
> > > > > data:
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > > Steve
> > > > >
> > > > >
> > > > > On Wed, Jun 16, 2010 at 05:25:07PM -0600, Unidata netCDF Java Support 
> > > > > wrote:
> > > > > > can you send the actual file?
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > String handling seems to be tricky between NetCDF5 and HDF5.
> > > > > > > It looks like in the case of String[] attributes,
> > > > > > > ncdump and NCdumpW disagree.
> > > > > > >
> > > > > > > Here's a tiny cdl file ...
> > > > > > >
> > > > > > >
> > > > > > > netcdf tempd {
> > > > > > > // global attributes:
> > > > > > > string :globAttr0000 = "aaa", "bbb", "ccc" ;
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > > ncgen -k hdf5 -o tempd.nc tempd
> > > > > > >
> > > > > > >
> > > > > > > ncdump tempd.nc
> > > > > > > netcdf tempd {
> > > > > > >
> > > > > > > // global attributes:
> > > > > > > string :globAttr0000 = "aaa", "bbb", "ccc" ;
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > > java -cp ... ucar.nc2.NCdumpW tempd.nc -vall -c
> > > > > > > netcdf tempd.nc {
> > > > > > > :globAttr0000 = "ccc", , ;
> > > > > > > data:
> > > > > > > }
> > > > > > >
> > > > > > > I'm using NetCDF C 4.1.1 and NetCDF Java 4.1 with HDF5 1.8.4-p1 
> > > > > > > on Linux.
> > > > > > > What do you think?
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Steve
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Steve Sullivan   address@hidden     303-497-2823
> > > > > > >
> > > > > > > FL/2, Research Applications Laboratory
> > > > > > > National Center for Atmospheric Research
> > > > > > > PO Box 3000
> > > > > > > Boulder CO  80307
> > > > > > > USA
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > Ticket Details
> > > > > > ===================
> > > > > > Ticket ID: TKT-143293
> > > > > > Department: Support netCDF Java
> > > > > > Priority: Normal
> > > > > > Status: Open
> > > > >
> > > > > --
> > > > > Steve Sullivan   address@hidden     303-497-2823
> > > > >
> > > > > FL/2, Research Applications Laboratory
> > > > > National Center for Atmospheric Research
> > > > > PO Box 3000
> > > > > Boulder CO  80307
> > > > > USA
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > Ticket Details
> > > > ===================
> > > > Ticket ID: TKT-143293
> > > > Department: Support netCDF Java
> > > > Priority: Normal
> > > > Status: Open
> > >
> > > --
> > > Steve Sullivan   address@hidden     303-497-2823
> > >
> > > FL/2, Research Applications Laboratory
> > > National Center for Atmospheric Research
> > > PO Box 3000
> > > Boulder CO  80307
> > > USA
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: TKT-143293
> > Department: Support netCDF Java
> > Priority: Normal
> > Status: Closed
> 
> --
> Steve Sullivan   address@hidden     303-497-2823
> 
> FL/2, Research Applications Laboratory
> National Center for Atmospheric Research
> PO Box 3000
> Boulder CO  80307
> USA
> 
> 


Ticket Details
===================
Ticket ID: TKT-143293
Department: Support netCDF Java
Priority: Normal
Status: Closed