File: template.component.9.0.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 (42 lines) | stat: -rw-r--r-- 997 bytes parent folder | download | duplicates (6)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Overlay Template Component 9.0 - Bitmap

# TODO: Is there a Bit-map indicator???


#  Bit-map indicator
codetable[1] bitMapIndicator ('6.0.table',masterDir,localDir) = 255 : dump;

meta geography.bitmapPresent g2bitmap_present(bitMapIndicator): dump;
transient missingValuesPresent = bitmapPresent : hidden;

# Bitmap...
if(bitMapIndicator == 0)
{
  if(dataRepresentationTemplateNumber == 1)
  {
    if(matrixBitmapsPresent == 1)
    {
      meta primaryBitmap g2bitmap( tableReference,
          missingValue,
          offsetBSection9,
          section9Length,
          numberOfDataMatrices) : read_only;
    }
    else
    {
      meta geography.bitmap g2bitmap( tableReference,
          missingValue,
          offsetBSection9,
          section9Length,
          numberOfDataPoints) : read_only;
    }
  }
  else
  {
    meta geography.bitmap g2bitmap( tableReference,
        missingValue,
        offsetBSection9,
        section9Length,
        numberOfDataPoints) : read_only;
  }
}