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.
16 lines
485 B
Plaintext
16 lines
485 B
Plaintext
netcdf test_enum_array.4 {
|
|
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} ;
|
|
dimensions:
|
|
_Anonymous2 = 2 ;
|
|
variables:
|
|
cloud_class_t primary_cloud(_Anonymous2) ;
|
|
cloud_class_t primary_cloud:_FillValue = Missing ;
|
|
|
|
// global attributes:
|
|
string :_dap4.ce = "/primary_cloud[1:2:4]" ;
|
|
}
|