From 9eac6d620dad83e109b823c8ed2060b33b092f5a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 9 Oct 2020 12:36:47 +0100 Subject: [PATCH 1/3] ECC-1155: GRIB: New CAPE and CIN parameters --- definitions/grib2/cfVarName.def | 50 +++++++++++++++++++++++++++++++++ definitions/grib2/name.def | 50 +++++++++++++++++++++++++++++++++ definitions/grib2/paramId.def | 50 +++++++++++++++++++++++++++++++++ definitions/grib2/shortName.def | 50 +++++++++++++++++++++++++++++++++ definitions/grib2/units.def | 50 +++++++++++++++++++++++++++++++++ 5 files changed, 250 insertions(+) diff --git a/definitions/grib2/cfVarName.def b/definitions/grib2/cfVarName.def index 6e6ed8fb3..0d9eeb340 100644 --- a/definitions/grib2/cfVarName.def +++ b/definitions/grib2/cfVarName.def @@ -849,6 +849,56 @@ parameterCategory = 0 ; parameterNumber = 33 ; } +#Mixed-layer CAPE in the lowest 50 hPa +'mlcape50' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 50 hPa +'mlcin50' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CAPE in the lowest 100 hPa +'mlcape100' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 100 hPa +'mlcin100' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Most-unstable CAPE +'mucape' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 17 ; + } +#Most-unstable CIN +'mucin' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 17 ; + } #200 metre U wind component 'u200' = { discipline = 0 ; diff --git a/definitions/grib2/name.def b/definitions/grib2/name.def index b37225446..cac125d41 100644 --- a/definitions/grib2/name.def +++ b/definitions/grib2/name.def @@ -849,6 +849,56 @@ parameterCategory = 0 ; parameterNumber = 33 ; } +#Mixed-layer CAPE in the lowest 50 hPa +'Mixed-layer CAPE in the lowest 50 hPa' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 50 hPa +'Mixed-layer CIN in the lowest 50 hPa' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CAPE in the lowest 100 hPa +'Mixed-layer CAPE in the lowest 100 hPa' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 100 hPa +'Mixed-layer CIN in the lowest 100 hPa' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Most-unstable CAPE +'Most-unstable CAPE' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 17 ; + } +#Most-unstable CIN +'Most-unstable CIN' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 17 ; + } #200 metre U wind component '200 metre U wind component' = { discipline = 0 ; diff --git a/definitions/grib2/paramId.def b/definitions/grib2/paramId.def index fc4183786..396fcb2b8 100644 --- a/definitions/grib2/paramId.def +++ b/definitions/grib2/paramId.def @@ -849,6 +849,56 @@ parameterCategory = 0 ; parameterNumber = 33 ; } +#Mixed-layer CAPE in the lowest 50 hPa +'228231' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 50 hPa +'228232' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CAPE in the lowest 100 hPa +'228233' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 100 hPa +'228234' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Most-unstable CAPE +'228235' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 17 ; + } +#Most-unstable CIN +'228236' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 17 ; + } #200 metre U wind component '228239' = { discipline = 0 ; diff --git a/definitions/grib2/shortName.def b/definitions/grib2/shortName.def index c8d0a775b..0c227d05a 100644 --- a/definitions/grib2/shortName.def +++ b/definitions/grib2/shortName.def @@ -849,6 +849,56 @@ parameterCategory = 0 ; parameterNumber = 33 ; } +#Mixed-layer CAPE in the lowest 50 hPa +'mlcape50' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 50 hPa +'mlcin50' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CAPE in the lowest 100 hPa +'mlcape100' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 100 hPa +'mlcin100' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Most-unstable CAPE +'mucape' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 17 ; + } +#Most-unstable CIN +'mucin' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 17 ; + } #200 metre U wind component '200u' = { discipline = 0 ; diff --git a/definitions/grib2/units.def b/definitions/grib2/units.def index 5d2580baa..7c10c9263 100644 --- a/definitions/grib2/units.def +++ b/definitions/grib2/units.def @@ -849,6 +849,56 @@ parameterCategory = 0 ; parameterNumber = 33 ; } +#Mixed-layer CAPE in the lowest 50 hPa +'J kg**-1' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 50 hPa +'J kg**-1' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 5000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CAPE in the lowest 100 hPa +'J kg**-1' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Mixed-layer CIN in the lowest 100 hPa +'J kg**-1' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 18 ; + scaledValueOfFirstFixedSurface = 10000 ; + scaleFactorOfFirstFixedSurface = 0 ; + } +#Most-unstable CAPE +'J kg**-1' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 6 ; + typeOfFirstFixedSurface = 17 ; + } +#Most-unstable CIN +'J kg**-1' = { + discipline = 0 ; + parameterCategory = 7 ; + parameterNumber = 7 ; + typeOfFirstFixedSurface = 17 ; + } #200 metre U wind component 'm s**-1' = { discipline = 0 ; From c238a49abe29b92bc30892354f6ef36a08d49698 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 9 Oct 2020 13:31:18 +0100 Subject: [PATCH 2/3] ECC-1155: GRIB: New CAPE and CIN parameters (Add keys with missing values) --- definitions/grib2/cfVarName.def | 2 ++ definitions/grib2/name.def | 2 ++ definitions/grib2/paramId.def | 2 ++ definitions/grib2/shortName.def | 2 ++ definitions/grib2/units.def | 2 ++ 5 files changed, 10 insertions(+) diff --git a/definitions/grib2/cfVarName.def b/definitions/grib2/cfVarName.def index 0d9eeb340..8ba406187 100644 --- a/definitions/grib2/cfVarName.def +++ b/definitions/grib2/cfVarName.def @@ -891,6 +891,8 @@ parameterCategory = 7 ; parameterNumber = 6 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #Most-unstable CIN 'mucin' = { diff --git a/definitions/grib2/name.def b/definitions/grib2/name.def index cac125d41..f7093dc4a 100644 --- a/definitions/grib2/name.def +++ b/definitions/grib2/name.def @@ -891,6 +891,8 @@ parameterCategory = 7 ; parameterNumber = 6 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #Most-unstable CIN 'Most-unstable CIN' = { diff --git a/definitions/grib2/paramId.def b/definitions/grib2/paramId.def index 396fcb2b8..3c6e0f350 100644 --- a/definitions/grib2/paramId.def +++ b/definitions/grib2/paramId.def @@ -891,6 +891,8 @@ parameterCategory = 7 ; parameterNumber = 6 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #Most-unstable CIN '228236' = { diff --git a/definitions/grib2/shortName.def b/definitions/grib2/shortName.def index 0c227d05a..e2d886b04 100644 --- a/definitions/grib2/shortName.def +++ b/definitions/grib2/shortName.def @@ -891,6 +891,8 @@ parameterCategory = 7 ; parameterNumber = 6 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #Most-unstable CIN 'mucin' = { diff --git a/definitions/grib2/units.def b/definitions/grib2/units.def index 7c10c9263..7ea951869 100644 --- a/definitions/grib2/units.def +++ b/definitions/grib2/units.def @@ -891,6 +891,8 @@ parameterCategory = 7 ; parameterNumber = 6 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #Most-unstable CIN 'J kg**-1' = { From 6e7177afd39327aa8d6fcb1403a71294aab7ff19 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 9 Oct 2020 14:16:28 +0100 Subject: [PATCH 3/3] ECC-1155: GRIB: New CAPE and CIN parameters (Add keys with missing values) --- definitions/grib2/cfVarName.def | 2 ++ definitions/grib2/name.def | 2 ++ definitions/grib2/paramId.def | 2 ++ definitions/grib2/shortName.def | 2 ++ definitions/grib2/units.def | 2 ++ 5 files changed, 10 insertions(+) diff --git a/definitions/grib2/cfVarName.def b/definitions/grib2/cfVarName.def index 8ba406187..a12236f65 100644 --- a/definitions/grib2/cfVarName.def +++ b/definitions/grib2/cfVarName.def @@ -900,6 +900,8 @@ parameterCategory = 7 ; parameterNumber = 7 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #200 metre U wind component 'u200' = { diff --git a/definitions/grib2/name.def b/definitions/grib2/name.def index f7093dc4a..6c0cec137 100644 --- a/definitions/grib2/name.def +++ b/definitions/grib2/name.def @@ -900,6 +900,8 @@ parameterCategory = 7 ; parameterNumber = 7 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #200 metre U wind component '200 metre U wind component' = { diff --git a/definitions/grib2/paramId.def b/definitions/grib2/paramId.def index 3c6e0f350..471ad3eac 100644 --- a/definitions/grib2/paramId.def +++ b/definitions/grib2/paramId.def @@ -900,6 +900,8 @@ parameterCategory = 7 ; parameterNumber = 7 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #200 metre U wind component '228239' = { diff --git a/definitions/grib2/shortName.def b/definitions/grib2/shortName.def index e2d886b04..646b719c6 100644 --- a/definitions/grib2/shortName.def +++ b/definitions/grib2/shortName.def @@ -900,6 +900,8 @@ parameterCategory = 7 ; parameterNumber = 7 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #200 metre U wind component '200u' = { diff --git a/definitions/grib2/units.def b/definitions/grib2/units.def index 7ea951869..17716a9e4 100644 --- a/definitions/grib2/units.def +++ b/definitions/grib2/units.def @@ -900,6 +900,8 @@ parameterCategory = 7 ; parameterNumber = 7 ; typeOfFirstFixedSurface = 17 ; + scaleFactorOfFirstFixedSurface = missing() ; + scaledValueOfFirstFixedSurface = missing() ; } #200 metre U wind component 'm s**-1' = {