mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-09 08:11:38 +08:00
24 lines
357 B
Plaintext
24 lines
357 B
Plaintext
|
netcdf test_struct_nested {
|
||
|
types:
|
||
|
compound x_field1_t {
|
||
|
int x ;
|
||
|
int y ;
|
||
|
}; // x_field1_t
|
||
|
compound x_field2_t {
|
||
|
int x ;
|
||
|
int y ;
|
||
|
}; // x_field2_t
|
||
|
compound x_t {
|
||
|
x_field1_t field1 ;
|
||
|
x_field2_t field2 ;
|
||
|
}; // x_t
|
||
|
variables:
|
||
|
x_t x ;
|
||
|
|
||
|
// global attributes:
|
||
|
:_DAP4_Little_Endian = 1UB ;
|
||
|
data:
|
||
|
|
||
|
x = {{1, -2}, {255, 90}} ;
|
||
|
}
|