mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-12 15:45:21 +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.
32 lines
712 B
Plaintext
32 lines
712 B
Plaintext
netcdf test_struct_array.syn {
|
|
types:
|
|
compound s_t {
|
|
int x ;
|
|
int y ;
|
|
}; // s_t
|
|
dimensions:
|
|
dx = 4 ;
|
|
dy = 3 ;
|
|
variables:
|
|
float z(dx) ;
|
|
float t(dy) ;
|
|
s_t s(dx, dy) ;
|
|
string s:_edu.ucar.maps = "/z", "/t" ;
|
|
|
|
// global attributes:
|
|
:_DAP4_Little_Endian = 1UB ;
|
|
data:
|
|
|
|
z = 0.7276533, 0.785633, 0.513679, 0.2468447 ;
|
|
|
|
t = 0.738422, 0.2148887, 0.4947984 ;
|
|
|
|
s =
|
|
{712320147, 1268468519}, {696298400, 989876086}, {-1927163883, -900795134},
|
|
{-708236713, 1377500019}, {511843988, 1699265896}, {-540214433, -914532520},
|
|
{-1344032615, -871416961}, {-1928735161, 935744880},
|
|
{-1509955773, -1707460853},
|
|
{1145911788, -415231529}, {-278269626, -1682978013},
|
|
{-1629885665, -909240754} ;
|
|
}
|