mirror of https://github.com/ecmwf/eccodes.git
13 lines
237 B
Bash
13 lines
237 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
. ./include.sh
|
||
|
|
||
|
TEMP1=temp1.$$
|
||
|
TEMP2=temp2.$$
|
||
|
|
||
|
$PYTHON $examples_src/grib_count_messages.py 2> $TEMP1 > $TEMP1
|
||
|
./p_grib_count_messages ../../data/tigge_pf_ecmwf.grib2 2> $TEMP2 > $TEMP2
|
||
|
|
||
|
diff $TEMP1 $TEMP2
|
||
|
rm -f $TEMP1 $TEMP2
|