From bf09266b2132e4fadfefd342d64d4f6a45cc9eb7 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 7 Jan 2022 18:00:56 +0000 Subject: [PATCH] ECC-1324: GRIB2: replace is_tigge key with a generic TIGGE pseudo-centre --- .../grib2/localConcepts/tigge/name.def | 118 +++++++++--------- .../grib2/localConcepts/tigge/paramId.def | 118 +++++++++--------- .../grib2/localConcepts/tigge/shortName.def | 118 +++++++++--------- .../grib2/localConcepts/tigge/units.def | 117 ++++++++--------- 4 files changed, 236 insertions(+), 235 deletions(-) diff --git a/definitions/grib2/localConcepts/tigge/name.def b/definitions/grib2/localConcepts/tigge/name.def index 8783e9654..a97990cab 100644 --- a/definitions/grib2/localConcepts/tigge/name.def +++ b/definitions/grib2/localConcepts/tigge/name.def @@ -1,67 +1,67 @@ -#Soil Moisture -'Soil Moisture' = { - discipline = 2 ; - parameterCategory = 0 ; - parameterNumber = 22 ; - typeOfFirstFixedSurface = 106 ; - typeOfSecondFixedSurface = 106 ; - scaledValueOfFirstFixedSurface = 0 ; - scaleFactorOfFirstFixedSurface = 0 ; - scaledValueOfSecondFixedSurface = 2 ; - scaleFactorOfSecondFixedSurface = 1 ; - } -#Soil Temperature -'Soil Temperature' = { - discipline = 2 ; - parameterCategory = 0 ; - parameterNumber = 2 ; - typeOfFirstFixedSurface = 106 ; - typeOfSecondFixedSurface = 106 ; - scaledValueOfFirstFixedSurface = 0 ; - scaleFactorOfFirstFixedSurface = 0 ; - scaledValueOfSecondFixedSurface = 2 ; - scaleFactorOfSecondFixedSurface = 1 ; - } +# Automatically generated by ./create_def.pl, do not edit #Maximum temperature at 2 metres in the last 6 hours 'Maximum temperature at 2 metres in the last 6 hours' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfFirstFixedSurface = 103 ; - typeOfStatisticalProcessing = 2 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - indicatorOfUnitForTimeRange = 1 ; - lengthOfTimeRange = 6 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + indicatorOfUnitForTimeRange = 1 ; + typeOfStatisticalProcessing = 2 ; + lengthOfTimeRange = 6 ; + } #Minimum temperature at 2 metres in the last 6 hours 'Minimum temperature at 2 metres in the last 6 hours' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfStatisticalProcessing = 3 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - indicatorOfUnitForTimeRange = 1 ; - lengthOfTimeRange = 6 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + indicatorOfUnitForTimeRange = 1 ; + typeOfStatisticalProcessing = 3 ; + lengthOfTimeRange = 6 ; + } #2 metre temperature '2 metre temperature' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + } #2 metre dewpoint temperature '2 metre dewpoint temperature' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 6 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - } - + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + } +#Soil Moisture +'Soil Moisture' = { + discipline = 2 ; + parameterCategory = 0 ; + parameterNumber = 22 ; + typeOfFirstFixedSurface = 106 ; + typeOfSecondFixedSurface = 106 ; + scaledValueOfFirstFixedSurface = 0 ; + scaleFactorOfFirstFixedSurface = 0 ; + scaledValueOfSecondFixedSurface = 2 ; + scaleFactorOfSecondFixedSurface = 1 ; + } +#Soil Temperature +'Soil Temperature' = { + discipline = 2 ; + parameterCategory = 0 ; + parameterNumber = 2 ; + typeOfFirstFixedSurface = 106 ; + typeOfSecondFixedSurface = 106 ; + scaledValueOfFirstFixedSurface = 0 ; + scaleFactorOfFirstFixedSurface = 0 ; + scaledValueOfSecondFixedSurface = 2 ; + scaleFactorOfSecondFixedSurface = 1 ; +} diff --git a/definitions/grib2/localConcepts/tigge/paramId.def b/definitions/grib2/localConcepts/tigge/paramId.def index c9e7ca136..a6f7eab07 100644 --- a/definitions/grib2/localConcepts/tigge/paramId.def +++ b/definitions/grib2/localConcepts/tigge/paramId.def @@ -1,67 +1,67 @@ -#Soil Moisture -'228039' = { - discipline = 2 ; - parameterCategory = 0 ; - parameterNumber = 22 ; - typeOfFirstFixedSurface = 106 ; - typeOfSecondFixedSurface = 106 ; - scaledValueOfFirstFixedSurface = 0 ; - scaleFactorOfFirstFixedSurface = 0 ; - scaledValueOfSecondFixedSurface = 2 ; - scaleFactorOfSecondFixedSurface = 1 ; - } -#Soil Temperature -'228139' = { - discipline = 2 ; - parameterCategory = 0 ; - parameterNumber = 2 ; - typeOfFirstFixedSurface = 106 ; - typeOfSecondFixedSurface = 106 ; - scaledValueOfFirstFixedSurface = 0 ; - scaleFactorOfFirstFixedSurface = 0 ; - scaledValueOfSecondFixedSurface = 2 ; - scaleFactorOfSecondFixedSurface = 1 ; - } +# Automatically generated by ./create_def.pl, do not edit #Maximum temperature at 2 metres in the last 6 hours '121' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfStatisticalProcessing = 2 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - indicatorOfUnitForTimeRange = 1 ; - lengthOfTimeRange = 6 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + indicatorOfUnitForTimeRange = 1 ; + typeOfStatisticalProcessing = 2 ; + lengthOfTimeRange = 6 ; + } #Minimum temperature at 2 metres in the last 6 hours '122' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfFirstFixedSurface = 103 ; - typeOfStatisticalProcessing = 3 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - indicatorOfUnitForTimeRange = 1 ; - lengthOfTimeRange = 6 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + indicatorOfUnitForTimeRange = 1 ; + typeOfStatisticalProcessing = 3 ; + lengthOfTimeRange = 6 ; + } #2 metre temperature '167' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfFirstFixedSurface = 103 ; - scaledValueOfFirstFixedSurface = 15 ; - scaleFactorOfFirstFixedSurface = 1 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + } #2 metre dewpoint temperature '168' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 6 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - } - + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + } +#Soil Moisture +'228039' = { + discipline = 2 ; + parameterCategory = 0 ; + parameterNumber = 22 ; + typeOfFirstFixedSurface = 106 ; + typeOfSecondFixedSurface = 106 ; + scaledValueOfFirstFixedSurface = 0 ; + scaleFactorOfFirstFixedSurface = 0 ; + scaledValueOfSecondFixedSurface = 2 ; + scaleFactorOfSecondFixedSurface = 1 ; + } +#Soil Temperature +'228139' = { + discipline = 2 ; + parameterCategory = 0 ; + parameterNumber = 2 ; + typeOfFirstFixedSurface = 106 ; + typeOfSecondFixedSurface = 106 ; + scaledValueOfFirstFixedSurface = 0 ; + scaleFactorOfFirstFixedSurface = 0 ; + scaledValueOfSecondFixedSurface = 2 ; + scaleFactorOfSecondFixedSurface = 1 ; +} diff --git a/definitions/grib2/localConcepts/tigge/shortName.def b/definitions/grib2/localConcepts/tigge/shortName.def index 6f697a7d1..440e4f915 100644 --- a/definitions/grib2/localConcepts/tigge/shortName.def +++ b/definitions/grib2/localConcepts/tigge/shortName.def @@ -1,67 +1,67 @@ -#Soil Moisture -'sm' = { - discipline = 2 ; - parameterCategory = 0 ; - parameterNumber = 22 ; - typeOfFirstFixedSurface = 106 ; - typeOfSecondFixedSurface = 106 ; - scaledValueOfFirstFixedSurface = 0 ; - scaleFactorOfFirstFixedSurface = 0 ; - scaledValueOfSecondFixedSurface = 2 ; - scaleFactorOfSecondFixedSurface = 1 ; - } -#Soil Temperature -'st' = { - discipline = 2 ; - parameterCategory = 0 ; - parameterNumber = 2 ; - typeOfFirstFixedSurface = 106 ; - typeOfSecondFixedSurface = 106 ; - scaledValueOfFirstFixedSurface = 0 ; - scaleFactorOfFirstFixedSurface = 0 ; - scaledValueOfSecondFixedSurface = 2 ; - scaleFactorOfSecondFixedSurface = 1 ; - } +# Automatically generated by ./create_def.pl, do not edit #Maximum temperature at 2 metres in the last 6 hours 'mx2t6' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfFirstFixedSurface = 103 ; - typeOfStatisticalProcessing = 2 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - indicatorOfUnitForTimeRange = 1 ; - lengthOfTimeRange = 6 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + indicatorOfUnitForTimeRange = 1 ; + typeOfStatisticalProcessing = 2 ; + lengthOfTimeRange = 6 ; + } #Minimum temperature at 2 metres in the last 6 hours 'mn2t6' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfStatisticalProcessing = 3 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - indicatorOfUnitForTimeRange = 1 ; - lengthOfTimeRange = 6 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + indicatorOfUnitForTimeRange = 1 ; + typeOfStatisticalProcessing = 3 ; + lengthOfTimeRange = 6 ; + } #2 metre temperature '2t' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfFirstFixedSurface = 103 ; - scaledValueOfFirstFixedSurface = 15 ; - scaleFactorOfFirstFixedSurface = 1 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + } #2 metre dewpoint temperature '2d' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 6 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - } - + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + } +#Soil Moisture +'sm' = { + discipline = 2 ; + parameterCategory = 0 ; + parameterNumber = 22 ; + typeOfFirstFixedSurface = 106 ; + typeOfSecondFixedSurface = 106 ; + scaledValueOfFirstFixedSurface = 0 ; + scaleFactorOfFirstFixedSurface = 0 ; + scaledValueOfSecondFixedSurface = 2 ; + scaleFactorOfSecondFixedSurface = 1 ; + } +#Soil Temperature +'st' = { + discipline = 2 ; + parameterCategory = 0 ; + parameterNumber = 2 ; + typeOfFirstFixedSurface = 106 ; + typeOfSecondFixedSurface = 106 ; + scaledValueOfFirstFixedSurface = 0 ; + scaleFactorOfFirstFixedSurface = 0 ; + scaledValueOfSecondFixedSurface = 2 ; + scaleFactorOfSecondFixedSurface = 1 ; +} diff --git a/definitions/grib2/localConcepts/tigge/units.def b/definitions/grib2/localConcepts/tigge/units.def index 0769190e4..78f80a9ad 100644 --- a/definitions/grib2/localConcepts/tigge/units.def +++ b/definitions/grib2/localConcepts/tigge/units.def @@ -1,66 +1,67 @@ -#Soil Moisture -'kg m**-3' = { - discipline = 2 ; - parameterCategory = 0 ; - parameterNumber = 22 ; - typeOfFirstFixedSurface = 106 ; - typeOfSecondFixedSurface = 106 ; - scaledValueOfFirstFixedSurface = 0 ; - scaleFactorOfFirstFixedSurface = 0 ; - scaledValueOfSecondFixedSurface = 2 ; - scaleFactorOfSecondFixedSurface = 1 ; - } -#Soil Temperature -'K' = { - discipline = 2 ; - parameterCategory = 0 ; - parameterNumber = 2 ; - typeOfFirstFixedSurface = 106 ; - typeOfSecondFixedSurface = 106 ; - scaledValueOfFirstFixedSurface = 0 ; - scaleFactorOfFirstFixedSurface = 0 ; - scaledValueOfSecondFixedSurface = 2 ; - scaleFactorOfSecondFixedSurface = 1 ; - } +# Automatically generated by ./create_def.pl, do not edit #Maximum temperature at 2 metres in the last 6 hours 'K' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfFirstFixedSurface = 103 ; - typeOfStatisticalProcessing = 2 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - indicatorOfUnitForTimeRange = 1 ; - lengthOfTimeRange = 6 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + indicatorOfUnitForTimeRange = 1 ; + typeOfStatisticalProcessing = 2 ; + lengthOfTimeRange = 6 ; + } #Minimum temperature at 2 metres in the last 6 hours 'K' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfStatisticalProcessing = 3 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - indicatorOfUnitForTimeRange = 1 ; - lengthOfTimeRange = 6 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + indicatorOfUnitForTimeRange = 1 ; + typeOfStatisticalProcessing = 3 ; + lengthOfTimeRange = 6 ; + } #2 metre temperature 'K' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 0 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 0 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + } #2 metre dewpoint temperature 'K' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 6 ; - typeOfFirstFixedSurface = 103 ; - scaleFactorOfFirstFixedSurface = 1 ; - scaledValueOfFirstFixedSurface = 15 ; - } + discipline = 0 ; + parameterCategory = 0 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 103 ; + scaledValueOfFirstFixedSurface = 15 ; + scaleFactorOfFirstFixedSurface = 1 ; + } +#Soil Moisture +'kg m**-3' = { + discipline = 2 ; + parameterCategory = 0 ; + parameterNumber = 22 ; + typeOfFirstFixedSurface = 106 ; + typeOfSecondFixedSurface = 106 ; + scaledValueOfFirstFixedSurface = 0 ; + scaleFactorOfFirstFixedSurface = 0 ; + scaledValueOfSecondFixedSurface = 2 ; + scaleFactorOfSecondFixedSurface = 1 ; + } +#Soil Temperature +'K' = { + discipline = 2 ; + parameterCategory = 0 ; + parameterNumber = 2 ; + typeOfFirstFixedSurface = 106 ; + typeOfSecondFixedSurface = 106 ; + scaledValueOfFirstFixedSurface = 0 ; + scaleFactorOfFirstFixedSurface = 0 ; + scaledValueOfSecondFixedSurface = 2 ; + scaleFactorOfSecondFixedSurface = 1 ; +}