ECC-1620: Test conversion from step range to low level keys

This commit is contained in:
Eugen Betke 2023-09-04 19:06:17 +00:00
parent b11a82edbb
commit 982f46d16a
1 changed files with 7 additions and 0 deletions

View File

@ -245,6 +245,13 @@ grib_check_key_equals $temp "-p $keys_d" "24"
fn="${data_dir}/reduced_gaussian_sub_area.grib2"
low_level_keys="forecastTime,indicatorOfUnitOfTimeRange:s,lengthOfTimeRange,indicatorOfUnitForTimeRange:s"
${tools_dir}/grib_set -s stepRange=60m-2h $fn $temp
grib_check_key_equals $temp "-p $low_level_keys" "1 h 1 h"
fn="${data_dir}/reduced_gaussian_sub_area.grib2"
low_level_keys="forecastTime,indicatorOfUnitOfTimeRange:s,lengthOfTimeRange,indicatorOfUnitForTimeRange:s"
keys__="stepRange,startStep,endStep"