eccodes/examples/python/grib_get_keys.sh

18 lines
334 B
Bash
Raw Normal View History

2013-03-25 12:04:10 +00:00
#!/bin/sh
. ./include.sh
2017-08-09 12:53:15 +00:00
label="py_grib_get_keys"
temp1=temp.$label.1.out
temp2=temp.$label.2.out
$PYTHON $examples_src/grib_get_keys.py > $temp1
2013-03-25 12:04:10 +00:00
2017-06-12 15:05:42 +00:00
# Rerun test with no type-check decorator (See GRIB-51)
export ECCODES_PYTHON_NO_TYPE_CHECKS=1
2017-08-09 12:53:15 +00:00
$PYTHON $examples_src/grib_get_keys.py > $temp2
diff $temp1 $temp2
rm -f $temp1 $temp2