2
0
mirror of https://github.com/Unidata/netcdf-c.git synced 2025-01-12 15:45:21 +08:00
netcdf-c/ncdump/cdl/tst_chararray.cdl

25 lines
369 B
Plaintext
Raw Normal View History

netcdf ref_tst_array {
dimensions:
F2 = 2 ;
F3 = 3 ;
variables:
char ch1(F2, F3) ;
char ch2(F2, F3) ;
char ch3(F2, F3) ;
char ch4(F2, F3) ;
data:
ch1 =
"abc",
"def" ;
ch2 =
"abcdef" ; // equivalent to how ff is specified, and works fine
ch3 =
"a", "b" ;
ch4 =
'a', 'b', 'c', 'd', 'e', 'f';
}