Testing: dump on repeated keys

This commit is contained in:
shahramn 2024-02-29 21:38:15 +00:00
parent c6ef32e28c
commit 16c99d7f36
1 changed files with 10 additions and 0 deletions

View File

@ -111,6 +111,16 @@ file=$data_dir/sample.grib2
ECCODES_DEBUG=1 ${tools_dir}/grib_dump $file > $temp 2>&1
# Repeated key numberOfSection
file=$data_dir/sample.grib2
${tools_dir}/grib_dump -O $file > $temp
grep -q "numberOfSection = 1" $temp
grep -q "numberOfSection = 3" $temp
grep -q "numberOfSection = 4" $temp
grep -q "numberOfSection = 5" $temp
grep -q "numberOfSection = 7" $temp
# Dump long array
# ----------------
input=$data_dir/lfpw.grib1