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

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



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


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.