eccodes/examples/python/grib_set_bitmap.sh

14 lines
252 B
Bash
Raw Permalink Normal View History

2013-06-07 15:47:47 +00:00
#!/bin/sh
. ./include.sh
REDIRECT=/dev/null
2016-01-05 14:32:24 +00:00
OUT_TMP=out.set_bitmap_p.grib
$PYTHON $examples_src/grib_set_bitmap.py
x=`${tools_dir}/grib_get -p numberOfDataPoints,numberOfCodedValues,numberOfMissing $OUT_TMP`
[ "$x" = "496 446 50" ]
rm -f $OUT_TMP