Skip to content

Commit

Permalink
ECC-1770: GRIB2: Template 4.1101 has incorrect octet layout
Browse files Browse the repository at this point in the history
shahramn committed Feb 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 30d31f1 commit 6eef31e
Showing 2 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions definitions/grib2/template.4.1100.def
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# (C) Copyright 2005- ECMWF.

# TEMPLATE 4.1100, Hovmoller-type grid with no averaging or other statistical processing
# This template is experimental, was not validated at the time of publication and should be used only for bilateral previously agreed tests

include "grib2/template.4.parameter.def"
include "grib2/template.4.generating_process.def"
20 changes: 19 additions & 1 deletion definitions/grib2/template.4.1101.def
Original file line number Diff line number Diff line change
@@ -2,8 +2,26 @@

# TEMPLATE 4.1101, Hovmoller-type grid with averaging or other statistical processing

# This template is experimental, was not validated at the time of publication and should be used only for bilateral previously agreed tests.
# (Octets 35-50 are very similar to octets 43-58 of product definition template 4.8, but the meaning of some fields differs slightly)

include "grib2/template.4.parameter.def"
include "grib2/template.4.generating_process.def"
include "grib2/template.4.forecast_time.def"
include "grib2/template.4.horizontal.def"
include "grib2/template.4.statistical.def"

unsigned[4] numberOfMissingInStatisticalProcess = 0 : edition_specific;
alias totalNumberOfDataValuesMissingInStatisticalProcess=numberOfMissingInStatisticalProcess;

codetable[1] typeOfStatisticalProcessing ('4.10.table',masterDir,localDir) : edition_specific;

codetable[1] typeOfTimeIncrement ('4.11.table',masterDir,localDir) = 2 : edition_specific;
alias typeOfTimeIncrementBetweenSuccessiveFieldsUsedInTheStatisticalProcessing=typeOfTimeIncrement;

codetable[1] indicatorOfUnitForTimeRange ('4.4.table',masterDir,localDir) =1 ;
unsigned[4] lengthOfTimeRange=0 ;
codetable[1] indicatorOfUnitForTimeIncrement ('4.4.table',masterDir,localDir)=255 ;
unsigned[4] timeIncrement=0 ;
alias timeIncrementBetweenSuccessiveFields=timeIncrement;

# include "grib2/template.4.statistical.def"

0 comments on commit 6eef31e

Please sign in to comment.