2014-08-07 11:03:53 +00:00
|
|
|
#!/bin/ksh
|
|
|
|
set -ex
|
|
|
|
|
2014-09-01 12:20:22 +00:00
|
|
|
base=/var/tmp/mac/p4/bufrdc/releases/000402/examples
|
|
|
|
decode=$base/bufr_decode_data
|
|
|
|
print_descriptors=$base/bufr_print_descriptors
|
2014-08-07 11:03:53 +00:00
|
|
|
|
|
|
|
for f in *.bufr
|
|
|
|
do
|
2014-09-01 12:20:22 +00:00
|
|
|
$decode -i $f | sed 's/MISSING/-1.00000000000000e+100/g' | sed -e '/ECMWF/,+8d' > $f.num.ref
|
|
|
|
#$print_descriptors -i $f | sed -e '/ECMWF/,+8d'| sed 's/ //g' > $f.desc.ref
|
2014-08-07 11:03:53 +00:00
|
|
|
done
|