eccodes/examples/python/grib_set_pv.sh

12 lines
216 B
Bash
Raw Permalink Normal View History

#!/bin/sh
. ./include.sh
OUTPUT=grib_set_pv.py.temp.grib
$PYTHON $examples_src/grib_set_pv.py
2017-08-09 12:53:15 +00:00
x=`${tools_dir}/grib_get -p PVPresent,level,numberOfVerticalCoordinateValues $OUTPUT`
[ "$x" = "1 2 122" ]
rm $OUTPUT