ECC-1298: GRIB2: Open Data parameters (Part 2)

This commit is contained in:
Shahram Najm 2022-01-13 13:05:19 +00:00
parent 3ebc1a9963
commit ce5d7482d1
6 changed files with 20 additions and 13 deletions

View File

@ -1044,12 +1044,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

@ -1044,12 +1044,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

@ -1044,12 +1044,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

@ -1044,12 +1044,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

@ -1044,12 +1044,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

@ -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