mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-09 08:11:38 +08:00
8e98e3727d
dimensions). Added comprehensive tests that include variables with lots of combinations of 0 through 4 fixed and unlimited dimensions.
115 lines
1.9 KiB
Plaintext
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 ;
|
|
}
|