Testing: Add test for accessor g1end_of_interval_monthly

This commit is contained in:
Shahram Najm 2021-06-20 14:41:58 +01:00
parent 7322d7d3a5
commit 3a0546444e
1 changed files with 5 additions and 2 deletions

View File

@ -122,8 +122,11 @@ grib_check_key_equals $temp 'mars.origin:s' 'lops'
# Extra key in Local Definition 16 for GRIB1. ECC-679
${tools_dir}/grib_set -s setLocalDefinition=1,localDefinitionNumber=16,numberOfForecastsInEnsemble=51 $sample_g1 $temp
grib_check_key_equals $temp 'totalNumber' '51'
# ----------------------------------------------------
${tools_dir}/grib_set -s \
setLocalDefinition=1,localDefinitionNumber=16,numberOfForecastsInEnsemble=51,verifyingMonth=11 \
$sample_g1 $temp
grib_check_key_equals $temp 'totalNumber,endOfInterval' '51 0'
# Local Definition 49 for GRIB1