From 2aa0c7ed602e956a16f685b0594d18e5176348d6 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 13 Sep 2021 21:34:53 +0100 Subject: [PATCH] ECC-1280: Add test for GRIB1 --- tests/grib_grid_space_view.sh | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/tests/grib_grid_space_view.sh b/tests/grib_grid_space_view.sh index 07f1853bb..71a1d0008 100755 --- a/tests/grib_grid_space_view.sh +++ b/tests/grib_grid_space_view.sh @@ -15,9 +15,10 @@ tempFilter="temp.${label}.filt" tempGrib="temp.${label}.grib" tempOut="temp.${label}.out" +# ----------- +# GRIB2 +# ----------- input=$ECCODES_SAMPLES_PATH/GRIB2.tmpl - -# Create a filter cat > $tempFilter < $tempOut ${tools_dir}/grib_ls -l 50,0 $tempGrib +# ----------- +# GRIB1 +# ----------- +input=$ECCODES_SAMPLES_PATH/GRIB1.tmpl +cat > $tempFilter < $tempOut + # Clean up rm -f $tempFilter $tempGrib $tempOut