[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 961213: building of stringarrays in netCDF
- Subject: Re: 961213: building of stringarrays in netCDF
- Date: Mon, 16 Dec 1996 15:09:41 -0700
>To: address@hidden
>From: "R. Bauer" <address@hidden>
>Subject: building of stringarrays in netCDF
>Organization: Institut fuer Stratosphaerische Chemie
Hi,
> I programed with idl 4.01 netCDF read and write routines.
>
> I can handle every Parameter if he has numbers (long, real ...).
>
>
> But I found no way to handle a string arrays in the same way as a
> floatarray.
>
> Is it normal that strings could be only stored in a single line?
It's possible to store multi-line character arrays in netCDF files, by
just storing newline characters ("\n") to delimit lines.
I'm not sure if IDL imposes any additional restrictions on netCDF
character arrays.
NetCDF supports fixed-length arrays of characters, including
multi-dimensional arrays of characters, but doesn't really have a
"string" type that allows arrays of variable-length strings, for
example.
--Russ
_____________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu