Testing: grib_to_ppm and grib_sub_area_check

This commit is contained in:
shahramn 2024-05-01 21:41:59 +01:00
parent 49d742eabe
commit 6874520bfc
2 changed files with 11 additions and 0 deletions

View File

@ -17,6 +17,12 @@ if [ ! -x "${tools_dir}/gg_sub_area_check" ]; then
exit 0 exit 0
fi fi
set +e
${tools_dir}/gg_sub_area_check
status=$?
set -e
[ $status -ne 0 ]
f1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl f1=$ECCODES_SAMPLES_PATH/GRIB1.tmpl
f2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl f2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl
${tools_dir}/gg_sub_area_check $f1 $f2 > $tempOut ${tools_dir}/gg_sub_area_check $f1 $f2 > $tempOut

View File

@ -17,6 +17,11 @@ if [ ! -x "${tools_dir}/grib2ppm" ]; then
exit 0 exit 0
fi fi
# No options
${tools_dir}/grib2ppm
${tools_dir}/grib2ppm -l 6 -u 7 -c $data_dir/sample.grib2 > $tempOut
${tools_dir}/grib2ppm $ECCODES_SAMPLES_PATH/GRIB1.tmpl > $tempOut ${tools_dir}/grib2ppm $ECCODES_SAMPLES_PATH/GRIB1.tmpl > $tempOut
${tools_dir}/grib2ppm $ECCODES_SAMPLES_PATH/GRIB2.tmpl > $tempOut ${tools_dir}/grib2ppm $ECCODES_SAMPLES_PATH/GRIB2.tmpl > $tempOut