mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-09 08:11:38 +08:00
65414eeaa4
re: Partly addresses issue https://github.com/Unidata/netcdf-c/issues/1712. 1. Turn on Hyrax Hack to accept Hyrax style attribute containers. 2. Support Url type as alias for String. 3. Accept the special attribute, "__DAP4_Checksum_CRC32", to control per-variable checksums. 4. Make _DAP4_xxx attributes be reserved and only accessible by name (ala _SuperBlock attribute). 5. Fix handling of checksums. There is a hack in the code that uses an extra flag in the chunk header to indicate that all variables have checksums. This violates the spec and will be removed once it is possible to regenerate the test cases. Note that checksumming with the Hyrax test server has not been tested. This, along with some other probable inconsistencies, needs fixing when OPeNDAP and Unidata can agree on the proper specification. Testing will be included.
30 lines
659 B
Plaintext
30 lines
659 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" ;
|
|
|
|
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} ;
|
|
}
|