NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Mark A Ohrenschall wrote:
I can't help but wonder why arrays of numbers are allowed, but not strings -- it seems that strings are the more obvious usage for attribute values.
i dont actually know, its in the basic netcdf data model.but, you could ask a different question: why have vector-valued attributes at all? generally attributes are thought of as (key,value) pairs, where the value should be atomic. more complicated things have to be made into variables.
so if you really have arbitrary strings, make a seperate attribute for each one, or put them into variables.
netcdf-java
archives: