mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-24 16:04:40 +08:00
16 lines
231 B
Plaintext
16 lines
231 B
Plaintext
|
netcdf test_struct_nested {
|
||
|
types:
|
||
|
compound s1_t {
|
||
|
int x ;
|
||
|
int y ;
|
||
|
}; // s1_t
|
||
|
compound s2_t {
|
||
|
s1_t field1 ;
|
||
|
s1_t field2 ;
|
||
|
}; // s2_t
|
||
|
variables:
|
||
|
s2_t x;
|
||
|
data:
|
||
|
x = {{1,-2}, {255, 90}};
|
||
|
}
|