Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

Re: arrays of fixed-length strings



Jeff Whitaker <jswhit@xxxxxxxxxxx> writes:

> In netcdf-4.0, I don't see how to create variables which are arrays of
> strings with length > 1.  I see how to create arrays of
> single-characters, and arrays of variable-length strings, but not
> strings of a specified length.
>
> Am I missing something, or is this not supported by HDF5?
>

Howdy Jeff!

Strings are variable length by their nature.

How about a two dimensional array of NC_CHAR?

Thanks,

Ed


-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx

===============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
===============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690