You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
357 B
24 lines
357 B
2 years ago
|
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}} ;
|
||
|
}
|