Re: IllegalArgumentException with addVariableAttribute



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.



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