mirror of https://github.com/ecmwf/eccodes.git
Testing: grib_to_ppm and grib_sub_area_check
This commit is contained in:
parent
49d742eabe
commit
6874520bfc
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue