ECC-1298: GRIB2: Open Data parameters

This commit is contained in:
Shahram Najm 2022-01-13 15:16:05 +00:00
commit 89e554bcff
37 changed files with 199 additions and 115 deletions

View File

@ -164,12 +164,12 @@
table2Version = 170 ;
indicatorOfParameter = 135 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'lwe_thickness_of_atmosphere_mass_content_of_water_vapor' = {
table2Version = 128 ;
indicatorOfParameter = 137 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'lwe_thickness_of_atmosphere_mass_content_of_water_vapor' = {
table2Version = 180 ;
indicatorOfParameter = 137 ;

View File

@ -869,12 +869,12 @@
table2Version = 160 ;
indicatorOfParameter = 136 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'tcwv' = {
table2Version = 128 ;
indicatorOfParameter = 137 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'tcwv' = {
table2Version = 180 ;
indicatorOfParameter = 137 ;

View File

@ -869,13 +869,13 @@
table2Version = 160 ;
indicatorOfParameter = 136 ;
}
#Total column water vapour
'Total column water vapour' = {
#Total column vertically-integrated water vapour
'Total column vertically-integrated water vapour' = {
table2Version = 128 ;
indicatorOfParameter = 137 ;
}
#Total column water vapour
'Total column water vapour' = {
#Total column vertically-integrated water vapour
'Total column vertically-integrated water vapour' = {
table2Version = 180 ;
indicatorOfParameter = 137 ;
}

View File

@ -869,12 +869,12 @@
table2Version = 160 ;
indicatorOfParameter = 136 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'137' = {
table2Version = 128 ;
indicatorOfParameter = 137 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'137' = {
table2Version = 180 ;
indicatorOfParameter = 137 ;

View File

@ -869,12 +869,12 @@
table2Version = 160 ;
indicatorOfParameter = 136 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'tcwv' = {
table2Version = 128 ;
indicatorOfParameter = 137 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'tcwv' = {
table2Version = 180 ;
indicatorOfParameter = 137 ;

View File

@ -869,12 +869,12 @@
table2Version = 160 ;
indicatorOfParameter = 136 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'kg m**-2' = {
table2Version = 128 ;
indicatorOfParameter = 137 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'kg m**-2' = {
table2Version = 180 ;
indicatorOfParameter = 137 ;

View File

@ -85,7 +85,7 @@
table2Version = 200 ;
indicatorOfParameter = 39 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'tcwv' = {
table2Version = 200 ;
indicatorOfParameter = 54 ;

View File

@ -85,8 +85,8 @@
table2Version = 200 ;
indicatorOfParameter = 39 ;
}
#Total column water vapour
'Total column water vapour' = {
#Total column vertically-integrated water vapour
'Total column vertically-integrated water vapour' = {
table2Version = 200 ;
indicatorOfParameter = 54 ;
}

View File

@ -85,7 +85,7 @@
table2Version = 200 ;
indicatorOfParameter = 39 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'137' = {
table2Version = 200 ;
indicatorOfParameter = 54 ;

View File

@ -85,7 +85,7 @@
table2Version = 200 ;
indicatorOfParameter = 39 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'tcwv' = {
table2Version = 200 ;
indicatorOfParameter = 54 ;

View File

@ -85,7 +85,7 @@
table2Version = 200 ;
indicatorOfParameter = 39 ;
}
#Total column water vapour
#Total column vertically-integrated water vapour
'kg m**-2' = {
table2Version = 200 ;
indicatorOfParameter = 54 ;

View File

@ -5,6 +5,12 @@
parameterCategory = 2 ;
parameterNumber = 0 ;
}
#Total column vertically-integrated water vapour
'lwe_thickness_of_atmosphere_mass_content_of_water_vapor' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Surface solar radiation downwards
'surface_downwelling_shortwave_flux_in_air' = {
discipline = 0 ;

View File

@ -199,6 +199,12 @@
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 8 ;
}
#Total column vertically-integrated water vapour
'tcwv' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Surface solar radiation downwards
'ssrd' = {
discipline = 0 ;
@ -4152,12 +4158,6 @@
parameterCategory = 1 ;
parameterNumber = 13 ;
}
#Total column integrated water vapour
'tciwv' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Rain precipitation rate
'rprate' = {
discipline = 0 ;

View File

@ -1,10 +1,4 @@
# Automatically generated by ./create_def.pl, do not edit
#Total column water vapour
'lwe_thickness_of_atmosphere_mass_content_of_water_vapor' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}
#Soil temperature level 1
'surface_temperature' = {
discipline = 192 ;

View File

@ -106,3 +106,9 @@
parameterCategory = 210 ;
parameterNumber = 74 ;
}
#Total column vertically-integrated water vapour
'lwe_thickness_of_atmosphere_mass_content_of_water_vapor' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}

View File

@ -671,12 +671,6 @@
parameterCategory = 128 ;
parameterNumber = 128 ;
}
#Total column water vapour
'tcwv' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}
#Soil temperature level 1
'stl1' = {
discipline = 192 ;
@ -922,9 +916,11 @@
}
#Runoff
'ro' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
localTablesVersion = 1 ;
discipline = 2 ;
parameterCategory = 0 ;
parameterNumber = 201 ;
typeOfStatisticalProcessing = 1 ;
}
#Total column ozone
'tco3' = {
@ -1042,12 +1038,13 @@
}
#Total precipitation
'tp' = {
localTablesVersion = 1 ;
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 52 ;
parameterNumber = 193 ;
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 255 ;
typeOfStatisticalProcessing = 1 ;
unitsFactor = 1000 ;
}
#Instantaneous eastward turbulent surface stress
'iews' = {

View File

@ -322,3 +322,15 @@
parameterCategory = 210 ;
parameterNumber = 74 ;
}
#Runoff
'ro' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
}
#Total column vertically-integrated water vapour
'tcwv' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}

View File

@ -671,12 +671,6 @@
parameterCategory = 128 ;
parameterNumber = 128 ;
}
#Total column water vapour
'Total column water vapour' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}
#Soil temperature level 1
'Soil temperature level 1' = {
discipline = 192 ;
@ -922,9 +916,11 @@
}
#Runoff
'Runoff' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
localTablesVersion = 1 ;
discipline = 2 ;
parameterCategory = 0 ;
parameterNumber = 201 ;
typeOfStatisticalProcessing = 1 ;
}
#Total column ozone
'Total column ozone' = {
@ -1042,12 +1038,13 @@
}
#Total precipitation
'Total precipitation' = {
localTablesVersion = 1 ;
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 52 ;
parameterNumber = 193 ;
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 255 ;
typeOfStatisticalProcessing = 1 ;
unitsFactor = 1000 ;
}
#Instantaneous eastward turbulent surface stress
'Instantaneous eastward turbulent surface stress' = {

View File

@ -322,3 +322,15 @@
parameterCategory = 210 ;
parameterNumber = 74 ;
}
#Runoff
'Runoff' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
}
#Total column vertically-integrated water vapour
'Total column vertically-integrated water vapour' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}

View File

@ -671,12 +671,6 @@
parameterCategory = 128 ;
parameterNumber = 128 ;
}
#Total column water vapour
'137' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}
#Soil temperature level 1
'139' = {
discipline = 192 ;
@ -922,9 +916,11 @@
}
#Runoff
'205' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
localTablesVersion = 1 ;
discipline = 2 ;
parameterCategory = 0 ;
parameterNumber = 201 ;
typeOfStatisticalProcessing = 1 ;
}
#Total column ozone
'206' = {
@ -1042,12 +1038,13 @@
}
#Total precipitation
'228' = {
localTablesVersion = 1 ;
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 52 ;
parameterNumber = 193 ;
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 255 ;
typeOfStatisticalProcessing = 1 ;
unitsFactor = 1000 ;
}
#Instantaneous eastward turbulent surface stress
'229' = {

View File

@ -322,3 +322,15 @@
parameterCategory = 210 ;
parameterNumber = 74 ;
}
#Runoff
'205' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
}
#Total column vertically-integrated water vapour
'137' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}

View File

@ -671,12 +671,6 @@
parameterCategory = 128 ;
parameterNumber = 128 ;
}
#Total column water vapour
'tcwv' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}
#Soil temperature level 1
'stl1' = {
discipline = 192 ;
@ -922,9 +916,11 @@
}
#Runoff
'ro' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
localTablesVersion = 1 ;
discipline = 2 ;
parameterCategory = 0 ;
parameterNumber = 201 ;
typeOfStatisticalProcessing = 1 ;
}
#Total column ozone
'tco3' = {
@ -1042,12 +1038,13 @@
}
#Total precipitation
'tp' = {
localTablesVersion = 1 ;
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 52 ;
parameterNumber = 193 ;
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 255 ;
typeOfStatisticalProcessing = 1 ;
unitsFactor = 1000 ;
}
#Instantaneous eastward turbulent surface stress
'iews' = {

View File

@ -322,3 +322,15 @@
parameterCategory = 210 ;
parameterNumber = 74 ;
}
#Runoff
'ro' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
}
#Total column vertically-integrated water vapour
'tcwv' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}

View File

@ -671,12 +671,6 @@
parameterCategory = 128 ;
parameterNumber = 128 ;
}
#Total column water vapour
'kg m**-2' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}
#Soil temperature level 1
'K' = {
discipline = 192 ;
@ -922,9 +916,11 @@
}
#Runoff
'm' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
localTablesVersion = 1 ;
discipline = 2 ;
parameterCategory = 0 ;
parameterNumber = 201 ;
typeOfStatisticalProcessing = 1 ;
}
#Total column ozone
'kg m**-2' = {
@ -1042,12 +1038,13 @@
}
#Total precipitation
'm' = {
localTablesVersion = 1 ;
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 52 ;
parameterNumber = 193 ;
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 255 ;
typeOfStatisticalProcessing = 1 ;
unitsFactor = 1000 ;
}
#Instantaneous eastward turbulent surface stress
'N m**-2' = {

View File

@ -322,3 +322,15 @@
parameterCategory = 210 ;
parameterNumber = 74 ;
}
#Runoff
'm' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 205 ;
}
#Total column vertically-integrated water vapour
'kg m**-2' = {
discipline = 192 ;
parameterCategory = 128 ;
parameterNumber = 137 ;
}

View File

@ -90,6 +90,12 @@
scaleFactorOfFirstFixedSurface = 1 ;
typeOfStatisticalProcessing = 3 ;
}
#Total column integrated water vapour
'tciwv' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#2 metre relative humidity
'r2' = {
discipline = 0 ;

View File

@ -90,6 +90,12 @@
scaleFactorOfFirstFixedSurface = 1 ;
typeOfStatisticalProcessing = 3 ;
}
#Total column integrated water vapour
'Total column integrated water vapour' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#2 metre relative humidity
'2 metre relative humidity' = {
discipline = 0 ;

View File

@ -90,6 +90,12 @@
scaleFactorOfFirstFixedSurface = 1 ;
typeOfStatisticalProcessing = 3 ;
}
#Total column integrated water vapour
'260057' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#2 metre relative humidity
'260242' = {
discipline = 0 ;

View File

@ -90,6 +90,12 @@
scaleFactorOfFirstFixedSurface = 1 ;
typeOfStatisticalProcessing = 3 ;
}
#Total column integrated water vapour
'tciwv' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#2 metre relative humidity
'2r' = {
discipline = 0 ;

View File

@ -90,6 +90,12 @@
scaleFactorOfFirstFixedSurface = 1 ;
typeOfStatisticalProcessing = 3 ;
}
#Total column integrated water vapour
'kg m**-2' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#2 metre relative humidity
'%' = {
discipline = 0 ;

View File

@ -199,6 +199,12 @@
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 8 ;
}
#Total column vertically-integrated water vapour
'Total column vertically-integrated water vapour' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Surface solar radiation downwards
'Surface solar radiation downwards' = {
discipline = 0 ;
@ -4152,12 +4158,6 @@
parameterCategory = 1 ;
parameterNumber = 13 ;
}
#Total column integrated water vapour
'Total column integrated water vapour' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Rain precipitation rate
'Rain precipitation rate' = {
discipline = 0 ;

View File

@ -199,6 +199,12 @@
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 8 ;
}
#Total column vertically-integrated water vapour
'137' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Surface solar radiation downwards
'169' = {
discipline = 0 ;
@ -4152,12 +4158,6 @@
parameterCategory = 1 ;
parameterNumber = 13 ;
}
#Total column integrated water vapour
'260057' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Rain precipitation rate
'260058' = {
discipline = 0 ;

View File

@ -199,6 +199,12 @@
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 8 ;
}
#Total column vertically-integrated water vapour
'tcwv' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Surface solar radiation downwards
'ssrd' = {
discipline = 0 ;
@ -4152,12 +4158,6 @@
parameterCategory = 1 ;
parameterNumber = 13 ;
}
#Total column integrated water vapour
'tciwv' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Rain precipitation rate
'rprate' = {
discipline = 0 ;

View File

@ -1,3 +1,3 @@
# Code table 4.2 - discipline=0 category=1 for ECMWF
192 192 Snow evaporation rate (kg m-2 s-1)
193 193 Total precipitation (m)

View File

@ -8,4 +8,5 @@
198 198 GPP coefficient from Biogenic Flux Adjustment System
199 199 Rec coefficient from Biogenic Flux Adjustment System
200 200 Surface roughness length for heat (m)
201 201 Water runoff (m)
255 255 Missing

View File

@ -199,6 +199,12 @@
typeOfFirstFixedSurface = 1 ;
typeOfSecondFixedSurface = 8 ;
}
#Total column vertically-integrated water vapour
'kg m**-2' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Surface solar radiation downwards
'J m**-2' = {
discipline = 0 ;
@ -4152,12 +4158,6 @@
parameterCategory = 1 ;
parameterNumber = 13 ;
}
#Total column integrated water vapour
'kg m**-2' = {
discipline = 0 ;
parameterCategory = 1 ;
parameterNumber = 64 ;
}
#Rain precipitation rate
'kg m**-2 s**-1' = {
discipline = 0 ;

View File

@ -50,13 +50,15 @@ do
done
echo "ECC-457 ECMWF total precipitation..."
# -----------------------------------------
echo "ECC-457,ECC-1298 ECMWF total precipitation..."
# ---------------------------------------------------
input=${data_dir}/tp_ecmwf.grib
output=temp.grib1to2.grib
${tools_dir}/grib_set -s edition=2 $input $output
res=`${tools_dir}/grib_get -w count=1 -p edition,paramId,units $output`
[ "$res" = "2 228228 kg m**-2" ]
[ "$res" = "2 228 m" ]
res=`${tools_dir}/grib_get -w count=1 -p stepType $output`
[ "$res" = "accum" ]
rm -f $output