mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
22 lines
307 B
Plaintext
22 lines
307 B
Plaintext
|
netcdf test_struct_nested.nc {
|
||
|
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_field1_t field2 ;
|
||
|
}; // x_t
|
||
|
variables:
|
||
|
x_t x ;
|
||
|
|
||
|
data:
|
||
|
|
||
|
x = {{1, -2}, {255, 90}} ;
|
||
|
}
|