Testing: test for new GRIB2 templates

This commit is contained in:
Shahram Najm 2021-01-28 17:08:12 +00:00
parent 0a623ce6e1
commit 24551b2a35
1 changed files with 9 additions and 1 deletions

View File

@ -18,10 +18,18 @@ temp2=temp2.$label.grib2
temp=temp.$label.grib2
sample2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
# Template 4.86
# -------------
# TODO: Add tablesVersion later...
$tools_dir/grib_set -s productDefinitionTemplateNumber=86,numberOfForecastsUsedInLocalTime=1 $sample2 $temp
grib_check_key_equals $temp totalNumberOfQuantiles,quantileValue '0 0'
# Template 4.88
# -------------
# TODO: Add tablesVersion later...
grib_set -s productDefinitionTemplateNumber=88,numberOfForecastsUsedInLocalTime=1 $sample2 $temp
$tools_dir/grib_set -s productDefinitionTemplateNumber=88,numberOfForecastsUsedInLocalTime=1 $sample2 $temp
grib_check_key_equals $temp localTimeMethod 255
# Templates 4.76 -> 4.79, 4.80 -> 4.83