Re: Strings (was: Re: HDF5 bitfields...)

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

Hi Ed,

> > You may also wish to refer to the H5 user's guide,
> > 
> >    http://hdf.ncsa.uiuc.edu/HDF5/doc/UG/
> > 
> > and there is a tutorial program at:
> > 
> >    
> > http://hdf.ncsa.uiuc.edu/training/other-ex5/sample-programs/StringOpaque.html
> > 
> 
> Excellent! Looks to me like we can use the H5T_NATIVE_CHAR type for
> strings and HDF5 will provide everything we need. 
> 
> One question: you guys can handle n-dimensional arrays of strings -
> for example a 3 dimensional array of strings? And use the space
> manipulation functions to define the dimensions, all in the usual HDF5
> way?
    Yep.  You can have any combination of dataspace and datatype that you'd
like.  (a 17 dimensional space of variable-length sequences of arrays of
strings, etc... :-)

    Quincey

  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: