mirror of https://github.com/ecmwf/eccodes.git
harmonizing template components before refactoring
This commit is contained in:
parent
13127f1739
commit
2a2f6a6d85
|
@ -32,5 +32,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by octet 18 (GRIB-29: supports negative forecast time)
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -14,6 +14,7 @@ codetable[2] aerosolType ('4.233.table',masterDir,localDir) : dump;
|
|||
codetable[1] typeOfSizeInterval ('4.91.table',masterDir,localDir) : dump;
|
||||
alias typeOfIntervalForFirstAndSecondSize=typeOfSizeInterval;
|
||||
|
||||
# Size in metres
|
||||
signed[1] scaleFactorOfFirstSize : dump;
|
||||
signed[4] scaledValueOfFirstSize :dump;
|
||||
signed[1] scaleFactorOfSecondSize = missing() : can_be_missing,dump;
|
||||
|
@ -22,11 +23,11 @@ signed[4] scaledValueOfSecondSize = missing() : can_be_missing,dump;
|
|||
# Type of generating process
|
||||
codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
||||
|
||||
# Background generating process identifier
|
||||
# Background generating process identifier (defined by originating centre)
|
||||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -43,5 +44,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by octet 18 (GRIB-29: supports negative forecast time)
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -2,8 +2,10 @@
|
|||
|
||||
# GRIB-530: This template is to be used by template.4.44.def ONLY
|
||||
|
||||
# Parameter category
|
||||
codetable[1] parameterCategory ('4.1.[discipline:l].table',masterDir,localDir) : dump;
|
||||
|
||||
# Parameter number
|
||||
codetable[1] parameterNumber ('4.2.[discipline:l].[parameterCategory:l].table',masterDir,localDir) : dump;
|
||||
meta parameterUnits codetable_units(parameterNumber) : dump;
|
||||
meta parameterName codetable_title(parameterNumber) : dump;
|
||||
|
@ -14,6 +16,7 @@ codetable[2] aerosolType ('4.233.table',masterDir,localDir) : dump;
|
|||
codetable[1] typeOfSizeInterval ('4.91.table',masterDir,localDir) : dump;
|
||||
alias typeOfIntervalForFirstAndSecondSize=typeOfSizeInterval;
|
||||
|
||||
# Size in metres
|
||||
signed[1] scaleFactorOfFirstSize : dump;
|
||||
signed[4] scaledValueOfFirstSize :dump;
|
||||
signed[1] scaleFactorOfSecondSize = missing() : can_be_missing,dump;
|
||||
|
@ -43,7 +46,7 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by octet 18
|
||||
# Forecast time in units defined by previous octet
|
||||
# See GRIB-530: We have to make a special case for the error in WMO spec
|
||||
if ( new() || (section4Length - 4*NV == 45) ) {
|
||||
# Use the WMO standard 2 octets for the following cases:
|
||||
|
|
|
@ -8,7 +8,7 @@ codetable[1] parameterNumber ('4.2.[discipline:l].[parameterCategory:l].table',m
|
|||
meta parameterUnits codetable_units(parameterNumber) : dump;
|
||||
meta parameterName codetable_title(parameterNumber) : dump;
|
||||
|
||||
# Aerosol type
|
||||
# Atmospheric chemical or physical constitutent type
|
||||
codetable[2] aerosolType ('4.233.table',masterDir,localDir) : dump;
|
||||
|
||||
codetable[1] typeOfSizeInterval ('4.91.table',masterDir,localDir) : dump;
|
||||
|
@ -32,11 +32,11 @@ signed[4] scaledValueOfSecondWavelength = missing(): can_be_missing,dump;
|
|||
# Type of generating process
|
||||
codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
||||
|
||||
# Background generating process identifier
|
||||
# Background generating process identifier (defined by originating centre)
|
||||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -53,5 +53,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by octet 18 (GRIB-29: supports negative forecast time)
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -8,7 +8,7 @@ codetable[1] parameterNumber ('4.2.[discipline:l].[parameterCategory:l].table',m
|
|||
meta parameterUnits codetable_units(parameterNumber) : dump;
|
||||
meta parameterName codetable_title(parameterNumber) : dump;
|
||||
|
||||
# Aerosol type
|
||||
# Atmospheric chemical or physical constitutent type
|
||||
codetable[2] aerosolType ('4.233.table',masterDir,localDir) : dump;
|
||||
|
||||
# Source, sink or chemical/physical process (Code table 4.238)
|
||||
|
@ -35,11 +35,11 @@ signed[4] scaledValueOfSecondWavelength = missing(): can_be_missing,dump;
|
|||
# Type of generating process
|
||||
codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
||||
|
||||
# Background generating process identifier
|
||||
# Background generating process identifier (defined by originating centre)
|
||||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -56,5 +56,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by octet 18 (GRIB-29: supports negative forecast time)
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -17,6 +17,7 @@ codetable[1] sourceSinkChemicalPhysicalProcess ('4.238.table',masterDir,localDir
|
|||
codetable[1] typeOfSizeInterval ('4.91.table',masterDir,localDir) : dump;
|
||||
alias typeOfIntervalForFirstAndSecondSize=typeOfSizeInterval;
|
||||
|
||||
# Size in metres
|
||||
signed[1] scaleFactorOfFirstSize : dump;
|
||||
signed[4] scaledValueOfFirstSize :dump;
|
||||
signed[1] scaleFactorOfSecondSize = missing() : can_be_missing,dump;
|
||||
|
@ -25,11 +26,11 @@ signed[4] scaledValueOfSecondSize = missing() : can_be_missing,dump;
|
|||
# Type of generating process
|
||||
codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
||||
|
||||
# Background generating process identifier
|
||||
# Background generating process identifier (defined by originating centre)
|
||||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -46,5 +47,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by octet 18 (GRIB-29: supports negative forecast time)
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -19,7 +19,7 @@ codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
|||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -36,5 +36,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by indicatorOfUnitOfTimeRange
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -37,8 +37,7 @@ codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
|||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# (defined by originating centre)
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
|
|
@ -22,7 +22,7 @@ codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
|||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -39,5 +39,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by indicatorOfUnitOfTimeRange
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -7,6 +7,7 @@ codetable[1] parameterCategory ('4.1.[discipline:l].table',masterDir,localDir) :
|
|||
codetable[1] parameterNumber ('4.2.[discipline:l].[parameterCategory:l].table',masterDir,localDir) : dump;
|
||||
meta parameterUnits codetable_units(parameterNumber) : dump;
|
||||
meta parameterName codetable_title(parameterNumber) : dump;
|
||||
|
||||
unsigned[1] partitionTable : dump;
|
||||
unsigned[1] numberOfPartitions=1 :dump;
|
||||
partitions list(numberOfPartitions) {
|
||||
|
@ -22,8 +23,7 @@ codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
|||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# (defined by originating centre)
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -40,5 +40,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by octet 18 (GRIB-29: supports negative forecast time)
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -14,6 +14,7 @@ unsigned[2] inputProcessIdentifier : dump,edition_specific
|
|||
# The input originating centre shall have the value of the 'originating centre' of the original GRIB message
|
||||
# used as input of the post-processing
|
||||
codetable[2] inputOriginatingCentre 'common/c-11.table' : dump,edition_specific,string_type;
|
||||
|
||||
# This identifies which post-processing technique was used. This is defined by the originating centre
|
||||
unsigned[1] typeOfPostProcessing : dump,edition_specific;
|
||||
|
||||
|
@ -24,8 +25,7 @@ codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
|||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# (defined by originating centre)
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -42,5 +42,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by indicatorOfUnitOfTimeRange
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
|
@ -23,14 +23,11 @@ alias NAT=numberOfUsedTileAttributes;
|
|||
# Type of generating process
|
||||
codetable[1] typeOfGeneratingProcess ('4.3.table',masterDir,localDir) : dump;
|
||||
|
||||
# Background generating process identifier
|
||||
# (defined by originating centre)
|
||||
# Background generating process identifier (defined by originating centre)
|
||||
unsigned[1] backgroundProcess = 255 : edition_specific;
|
||||
alias backgroundGeneratingProcessIdentifier=backgroundProcess;
|
||||
|
||||
|
||||
# Analysis or forecast generating processes identifier
|
||||
# (defined by originating centre)
|
||||
# Analysis or forecast generating processes identifier (defined by originating centre)
|
||||
unsigned[1] generatingProcessIdentifier : dump;
|
||||
|
||||
# Hours of observational data cut-off after reference time
|
||||
|
@ -47,5 +44,5 @@ alias defaultStepUnits = one; # 1 means Hour. See code table 4.4
|
|||
template_nofail default_step_units "grib2/localConcepts/[centre:s]/default_step_units.def";
|
||||
codetable[1] stepUnits 'stepUnits.table' = defaultStepUnits : transient,dump,no_copy;
|
||||
|
||||
# Forecast time in units defined by octet 24
|
||||
# Forecast time in units defined by previous octet (GRIB-29: supports negative forecast time)
|
||||
signed[4] forecastTime : dump;
|
||||
|
|
Loading…
Reference in New Issue