mirror of https://github.com/ecmwf/eccodes.git
ECC-1646: Error setting GRIB edition to 2 for parameters: sro, uvb, lsp, e, and pev
This commit is contained in:
parent
fdd909d117
commit
210e5c94ed
|
@ -11,10 +11,8 @@
|
|||
"accum" = {indicatorOfParameter=146;gribTablesVersionNo=128;centre=98;}
|
||||
# slhf
|
||||
"accum" = {indicatorOfParameter=147;gribTablesVersionNo=128;centre=98;}
|
||||
|
||||
# ssrd
|
||||
"accum" = {indicatorOfParameter=169;gribTablesVersionNo=128;centre=98;}
|
||||
|
||||
# strd
|
||||
"accum" = {indicatorOfParameter=175;gribTablesVersionNo=128;centre=98;}
|
||||
# ssr
|
||||
|
@ -23,9 +21,17 @@
|
|||
"accum" = {indicatorOfParameter=177;gribTablesVersionNo=128;centre=98;}
|
||||
# ttr
|
||||
"accum" = {indicatorOfParameter=179;gribTablesVersionNo=128;centre=98;}
|
||||
|
||||
# sund
|
||||
"accum" = {indicatorOfParameter=189;gribTablesVersionNo=128;centre=98;}
|
||||
|
||||
# runoff
|
||||
"accum" = {indicatorOfParameter=205;gribTablesVersionNo=128;centre=98;}
|
||||
# sro
|
||||
"accum" = {indicatorOfParameter=8;gribTablesVersionNo=128;centre=98;}
|
||||
# e
|
||||
"accum" = {indicatorOfParameter=182;gribTablesVersionNo=128;centre=98;}
|
||||
# lsp
|
||||
"accum" = {indicatorOfParameter=142;gribTablesVersionNo=128;centre=98;}
|
||||
# pev
|
||||
"accum" = {indicatorOfParameter=251;gribTablesVersionNo=228;centre=98;}
|
||||
# uvb
|
||||
"accum" = {indicatorOfParameter=57;gribTablesVersionNo=128;centre=98;}
|
||||
|
|
|
@ -91,7 +91,7 @@ grib_check_key_equals $sample_g1 shapeOfTheEarth 0
|
|||
grib_check_key_equals $output shapeOfTheEarth 0
|
||||
|
||||
|
||||
echo "ECC-1329: GRIB: Cannot convert runoff (paramId=205)"
|
||||
echo "ECC-1329: Cannot convert runoff (paramId=205)"
|
||||
# --------------------------------------------------------
|
||||
temp1="temp1.grib1to2.grib1"
|
||||
temp2="temp2.grib1to2.grib2"
|
||||
|
@ -103,4 +103,14 @@ ${tools_dir}/grib_set -s edition=2,startStep=0 $temp1 $temp2
|
|||
grib_check_key_equals $temp2 stepType,stepRange 'accum 0-240'
|
||||
rm -f $temp1 $temp2
|
||||
|
||||
echo "ECC-1646: Cannot convert sro, uvb, lsp, e, and pev"
|
||||
# --------------------------------------------------------
|
||||
for sn in e lsp pev sro uvb; do
|
||||
${tools_dir}/grib_set -s shortName=$sn,typeOfLevel=surface,level=0 $sample_g1 $temp1
|
||||
${tools_dir}/grib_set -s edition=2 $temp1 $temp2
|
||||
${tools_dir}/grib_compare -e -b param $temp1 $temp2
|
||||
done
|
||||
|
||||
|
||||
# Clean up
|
||||
rm -f $output
|
||||
|
|
Loading…
Reference in New Issue