eccodes/experimental/gribex/gribex_count.ksh

9 lines
178 B
Bash
Executable File

#!/usr/bin/ksh
gribex_count=./gribex_count
typeset -i n
n=`$gribex_count -i $1 | sed '/GRIBEX: Grib Edition not catered for./d' | sed '/GRIBEX: Return code = 413/d'`
echo $n