mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +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.
26 lines
598 B
Plaintext
26 lines
598 B
Plaintext
netcdf test_atomic_array {
|
|
types:
|
|
byte enum cloud_class_t {Clear = 0, Cumulonimbus = 1, Stratus = 2,
|
|
Stratocumulus = 3, Cumulus = 4, Altostratus = 5, Nimbostratus = 6,
|
|
Altocumulus = 7, Cirrostratus = 8, Cirrocumulus = 9, Cirrus = 10,
|
|
Missing = 127} ;
|
|
opaque(8) opaque8_t ;
|
|
dimensions:
|
|
d1 = 1 ;
|
|
d2 = 2 ;
|
|
d3 = 3 ;
|
|
d4 = 4 ;
|
|
d5 = 5 ;
|
|
variables:
|
|
ubyte vu8(d2, d3) ;
|
|
short v16(d4) ;
|
|
uint vu32(d2, d3) ;
|
|
double vd(d2) ;
|
|
char vc(d2) ;
|
|
string vs(d2, d2) ;
|
|
opaque8_t vo(d1, d2) ;
|
|
cloud_class_t primary_cloud(d5) ;
|
|
cloud_class_t primary_cloud:_FillValue = Missing ;
|
|
|
|
}
|