eccodes/examples/deprecated/print_data.sh

14 lines
224 B
Bash
Raw Permalink Normal View History

2013-03-25 12:04:10 +00:00
#!/bin/sh
. ./include.sh
2017-02-03 14:29:47 +00:00
numberOfValues=`${examples_dir}/print_data ../data/constant_field.grib1 | grep values | awk '{print $1}'`
2013-03-25 12:04:10 +00:00
if [ $numberOfValues -ne 99200 ]
then
echo ERROR: wrong number of values
exit 1;
fi