From 352cdf49ed949e8a179c0ec256fc30285cb7eb9d Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 4 May 2023 16:43:21 +0000 Subject: [PATCH] ECC-1581: GRIB2: Modification of total snowfall GRIB2 deprecated encoding --- definitions/grib2/cfVarName.def | 14 ++++++++------ definitions/grib2/name.def | 14 ++++++++------ definitions/grib2/paramId.def | 14 ++++++++------ definitions/grib2/shortName.def | 14 ++++++++------ definitions/grib2/units.def | 14 ++++++++------ 5 files changed, 40 insertions(+), 30 deletions(-) diff --git a/definitions/grib2/cfVarName.def b/definitions/grib2/cfVarName.def index b4f7c7e36..cc7563d02 100644 --- a/definitions/grib2/cfVarName.def +++ b/definitions/grib2/cfVarName.def @@ -2846,6 +2846,14 @@ typeOfFirstFixedSurface = 1 ; typeOfSecondFixedSurface = 8 ; } +#Total snowfall +'asnow' = { + discipline = 0 ; + parameterCategory = 1 ; + parameterNumber = 57 ; + typeOfFirstFixedSurface = 1 ; + typeOfStatisticalProcessing = 1 ; + } #2 metre relative humidity 'r2' = { discipline = 0 ; @@ -6637,12 +6645,6 @@ parameterCategory = 1 ; parameterNumber = 28 ; } -#Total snowfall -'asnow' = { - discipline = 0 ; - parameterCategory = 1 ; - parameterNumber = 29 ; - } #Precipitable water category 'pwcat' = { discipline = 0 ; diff --git a/definitions/grib2/name.def b/definitions/grib2/name.def index 5d4af9ad7..a58b70383 100644 --- a/definitions/grib2/name.def +++ b/definitions/grib2/name.def @@ -2846,6 +2846,14 @@ typeOfFirstFixedSurface = 1 ; typeOfSecondFixedSurface = 8 ; } +#Total snowfall +'Total snowfall' = { + discipline = 0 ; + parameterCategory = 1 ; + parameterNumber = 57 ; + typeOfFirstFixedSurface = 1 ; + typeOfStatisticalProcessing = 1 ; + } #2 metre relative humidity '2 metre relative humidity' = { discipline = 0 ; @@ -6637,12 +6645,6 @@ parameterCategory = 1 ; parameterNumber = 28 ; } -#Total snowfall -'Total snowfall' = { - discipline = 0 ; - parameterCategory = 1 ; - parameterNumber = 29 ; - } #Precipitable water category 'Precipitable water category' = { discipline = 0 ; diff --git a/definitions/grib2/paramId.def b/definitions/grib2/paramId.def index 7b7f9c98d..7cda35b55 100644 --- a/definitions/grib2/paramId.def +++ b/definitions/grib2/paramId.def @@ -2846,6 +2846,14 @@ typeOfFirstFixedSurface = 1 ; typeOfSecondFixedSurface = 8 ; } +#Total snowfall +'260025' = { + discipline = 0 ; + parameterCategory = 1 ; + parameterNumber = 57 ; + typeOfFirstFixedSurface = 1 ; + typeOfStatisticalProcessing = 1 ; + } #2 metre relative humidity '260242' = { discipline = 0 ; @@ -6637,12 +6645,6 @@ parameterCategory = 1 ; parameterNumber = 28 ; } -#Total snowfall -'260025' = { - discipline = 0 ; - parameterCategory = 1 ; - parameterNumber = 29 ; - } #Precipitable water category '260026' = { discipline = 0 ; diff --git a/definitions/grib2/shortName.def b/definitions/grib2/shortName.def index 458a1ea99..13d9ccb3e 100644 --- a/definitions/grib2/shortName.def +++ b/definitions/grib2/shortName.def @@ -2846,6 +2846,14 @@ typeOfFirstFixedSurface = 1 ; typeOfSecondFixedSurface = 8 ; } +#Total snowfall +'asnow' = { + discipline = 0 ; + parameterCategory = 1 ; + parameterNumber = 57 ; + typeOfFirstFixedSurface = 1 ; + typeOfStatisticalProcessing = 1 ; + } #2 metre relative humidity '2r' = { discipline = 0 ; @@ -6637,12 +6645,6 @@ parameterCategory = 1 ; parameterNumber = 28 ; } -#Total snowfall -'asnow' = { - discipline = 0 ; - parameterCategory = 1 ; - parameterNumber = 29 ; - } #Precipitable water category 'pwcat' = { discipline = 0 ; diff --git a/definitions/grib2/units.def b/definitions/grib2/units.def index 6d33e1d86..9cfb3c74e 100644 --- a/definitions/grib2/units.def +++ b/definitions/grib2/units.def @@ -2846,6 +2846,14 @@ typeOfFirstFixedSurface = 1 ; typeOfSecondFixedSurface = 8 ; } +#Total snowfall +'m' = { + discipline = 0 ; + parameterCategory = 1 ; + parameterNumber = 57 ; + typeOfFirstFixedSurface = 1 ; + typeOfStatisticalProcessing = 1 ; + } #2 metre relative humidity '%' = { discipline = 0 ; @@ -6637,12 +6645,6 @@ parameterCategory = 1 ; parameterNumber = 28 ; } -#Total snowfall -'m' = { - discipline = 0 ; - parameterCategory = 1 ; - parameterNumber = 29 ; - } #Precipitable water category 'code table (4.202)' = { discipline = 0 ;