mirror of https://github.com/ecmwf/eccodes.git
ECC-1620: Test conversion from step range to low level keys
This commit is contained in:
parent
b11a82edbb
commit
982f46d16a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue