File: section.3.def

package info (click to toggle)
eccodes 2.46.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 154,956 kB
  • sloc: cpp: 163,970; ansic: 26,310; sh: 22,006; f90: 6,854; perl: 6,361; python: 5,352; java: 2,226; javascript: 1,427; yacc: 854; fortran: 543; lex: 359; makefile: 279; xml: 183; awk: 66
file content (25 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# SECTION 3, Bit-map section
position offsetSection3;
section_length[3] section3Length ;
meta section3Pointer section_pointer(offsetSection3,section3Length,3);

# Number of unused bits at end of Section 3
unsigned[1] numberOfUnusedBitsAtEndOfSection3 = 0: read_only;
alias unusedBitsInBitmap=numberOfUnusedBitsAtEndOfSection3;

# Table reference:
unsigned[2] tableReference = 0 : dump;

position offsetBeforeBitmap;
meta bitmap g1bitmap( tableReference,
                    missingValue,
                    offsetSection3,
                    section3Length,
                    numberOfUnusedBitsAtEndOfSection3) : read_only,dump;

position offsetAfterBitmap;

padtoeven padding_sec3_1(offsetSection3,section3Length);
section_padding section3Padding;

meta md5Section3 md5(offsetSection3,section3Length);