netcdf-c/ncdump/ref_tst_mud4.cdl
Russ Rew 8e98e3727d Fixed bug NCF-144 (ncdump of variables with multiple unlimited
dimensions).  Added comprehensive tests that include variables with
lots of combinations of 0 through 4 fixed and unlimited dimensions.
2012-11-16 21:37:43 +00:00

115 lines
1.9 KiB
Plaintext

netcdf tst_mud4 {
dimensions:
F0 = 1 ;
F1 = 2 ;
F2 = 3 ;
F3 = 5 ;
U0 = UNLIMITED ; // (1 currently)
U1 = UNLIMITED ; // (2 currently)
U2 = UNLIMITED ; // (3 currently)
U3 = UNLIMITED ; // (5 currently)
variables:
int ff(F1, F2) ;
int uf(U1, F2) ;
int fu(F1, U2) ;
int uu(U1, U2) ;
int ufff(U0, F1, F2, F3) ;
int uffu(U0, F1, F2, U3) ;
int ufuf(U0, F1, U2, F3) ;
int ufuu(U0, F1, U2, U3) ;
int uuff(U0, U1, F2, F3) ;
int uufu(U0, U1, F2, U3) ;
int uuuf(U0, U1, U2, F3) ;
int uuuu(U0, U1, U2, U3) ;
int ffff(F0, F1, F2, F3) ;
data:
ff =
1, 2, 3,
4, 5, 6 ;
uf =
1, 2, 3,
4, 5, 6 ;
fu =
{1, 2, 3},
{4, 5, 6} ;
uu =
{1, 2, 3},
{4, 5, 6} ;
ufff =
1, 2, 3, 4, 5,
6, 7, 8, 9, 10,
11, 12, 13, 14, 15,
16, 17, 18, 19, 20,
21, 22, 23, 24, 25,
26, 27, 28, 29, 30 ;
uffu =
{1, 2, 3, 4, 5},
{6, 7, 8, 9, 10},
{11, 12, 13, 14, 15},
{16, 17, 18, 19, 20},
{21, 22, 23, 24, 25},
{26, 27, 28, 29, 30} ;
ufuf =
{1, 2, 3, 4, 5,
6, 7, 8, 9, 10,
11, 12, 13, 14, 15},
{16, 17, 18, 19, 20,
21, 22, 23, 24, 25,
26, 27, 28, 29, 30} ;
ufuu =
{{1, 2, 3, 4, 5},
{6, 7, 8, 9, 10},
{11, 12, 13, 14, 15}},
{{16, 17, 18, 19, 20},
{21, 22, 23, 24, 25},
{26, 27, 28, 29, 30}} ;
uuff =
{1, 2, 3, 4, 5,
6, 7, 8, 9, 10,
11, 12, 13, 14, 15,
16, 17, 18, 19, 20,
21, 22, 23, 24, 25,
26, 27, 28, 29, 30} ;
uufu =
{{1, 2, 3, 4, 5},
{6, 7, 8, 9, 10},
{11, 12, 13, 14, 15},
{16, 17, 18, 19, 20},
{21, 22, 23, 24, 25},
{26, 27, 28, 29, 30}} ;
uuuf =
{{1, 2, 3, 4, 5,
6, 7, 8, 9, 10,
11, 12, 13, 14, 15},
{16, 17, 18, 19, 20,
21, 22, 23, 24, 25,
26, 27, 28, 29, 30}} ;
uuuu =
{{{1, 2, 3, 4, 5},
{6, 7, 8, 9, 10},
{11, 12, 13, 14, 15}},
{{16, 17, 18, 19, 20},
{21, 22, 23, 24, 25},
{26, 27, 28, 29, 30}}} ;
ffff =
1, 2, 3, 4, 5,
6, 7, 8, 9, 10,
11, 12, 13, 14, 15,
16, 17, 18, 19, 20,
21, 22, 23, 24, 25,
26, 27, 28, 29, 30 ;
}