mirror of https://github.com/ecmwf/eccodes.git
Testing: Decode key as other types
This commit is contained in:
parent
9b9b649b9e
commit
82003e8b41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue