mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-12 15:45:21 +08:00
21 lines
297 B
Plaintext
21 lines
297 B
Plaintext
|
netcdf test_struct_array.nc {
|
||
|
types:
|
||
|
compound s_t {
|
||
|
int x ;
|
||
|
int y ;
|
||
|
}; // s_t
|
||
|
dimensions:
|
||
|
dx = 4 ;
|
||
|
dy = 3 ;
|
||
|
variables:
|
||
|
s_t s(dx, dy) ;
|
||
|
|
||
|
data:
|
||
|
|
||
|
s =
|
||
|
{1, -1}, {17, 37}, {-32767, 32767},
|
||
|
{-1, 3}, {-2, 2}, {-3, 1},
|
||
|
{-4, 12}, {-8, 8}, {-12, 4},
|
||
|
{-5, 15}, {-10, 10}, {-15, 5} ;
|
||
|
}
|