Testing: Decode key as other types

This commit is contained in:
Shahram Najm 2023-06-26 16:55:08 +01:00
parent 9b9b649b9e
commit 82003e8b41
1 changed files with 5 additions and 0 deletions

View File

@ -128,6 +128,11 @@ grib_check_key_equals $temp stepType avg
${tools_dir}/grib_set -s stepType=avg $grib2_sample $temp
grib_check_key_equals $temp typeOfTimeIncrement 3
# Decode stepRange as an int and double
${tools_dir}/grib_set -s stepType=accum,stepRange=23-28 $grib2_sample $temp
grib_check_key_equals $temp "stepRange:s" "23-28"
grib_check_key_equals $temp "stepRange:i" "28"
grib_check_key_equals $temp "stepRange:d" "28"
# Clean up
rm -f $temp