mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
3a74ee9a94
or seq fields is not a well-defined concept. So for now, I am disallowing them. Required updating a number of test files in dap4_test. This is tagged by the line #undef ALLOWFIELDMAPS in ./libdap4/ncd4types.h. This should affect only dap4 and nothing else.
23 lines
347 B
Plaintext
23 lines
347 B
Plaintext
netcdf test_struct_array {
|
|
types:
|
|
compound s_t {
|
|
int x ;
|
|
int y ;
|
|
}; // s_t
|
|
dimensions:
|
|
dx = 4 ;
|
|
dy = 3 ;
|
|
variables:
|
|
s_t s(dx, dy) ;
|
|
|
|
// global attributes:
|
|
:_DAP4_Little_Endian = 1UB ;
|
|
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} ;
|
|
}
|