mirror of https://github.com/ecmwf/eccodes.git
ECC-297: CCSDS support
This commit is contained in:
parent
e747815c54
commit
4669430a0c
|
@ -15,7 +15,12 @@ include "grib2/template.5.original_values.def";
|
|||
unsigned[1] ccsdsFlags : dump;
|
||||
|
||||
flagbit AEC_DATA_SIGNED_OPTION_MASK(ccsdsFlags,0) = 0;
|
||||
|
||||
# AEC_DATA_3BYTE_OPTION_MASK was switched on in order to allow data stored
|
||||
# with 17 <=bitsPerValue<= 24 to be stored in 3 rather than 4 bytes.
|
||||
# This eliminates discretization errors that were occuring when it was off.
|
||||
flagbit AEC_DATA_3BYTE_OPTION_MASK(ccsdsFlags,1) = 1;
|
||||
|
||||
flagbit AEC_DATA_MSB_OPTION_MASK(ccsdsFlags,2) = 1;
|
||||
flagbit AEC_DATA_PREPROCESS_OPTION_MASK(ccsdsFlags,3) = 1;
|
||||
flagbit AEC_RESTRICTED_OPTION_MASK(ccsdsFlags,4) = 0;
|
||||
|
|
Loading…
Reference in New Issue