File: grib_set_bitmap.sh

package info (click to toggle)
eccodes 2.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 400,332 kB
  • sloc: ansic: 167,977; makefile: 21,348; sh: 10,719; f90: 5,927; python: 4,831; perl: 3,031; javascript: 1,427; yacc: 818; lex: 356; awk: 66
file content (13 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

. ./include.sh

REDIRECT=/dev/null
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