Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[Fwd: Re: [Fwd: Re: IllegalArgumentException with addVariableAttribute]]

another answer from Russ Rew:

> 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.


A property of netCDF data is that a file created by the interface in
one language, for example Java, should be readable by the API of any
other language, for example Fortran-77.  The latter language doesn't
actually support variable-length strings, so it's difficult to write
an API for Fortran-77 that could deal with attributes that were arrays
of variable-length strings.

Many of the netCDF's limitations derive from the requirement that
Fortran-77 programs must be able to read all netCDF datasets.

--Russ


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