eccodes/tests/bufr_dump.sh

23 lines
539 B
Bash
Raw Normal View History

#!/bin/sh
2015-01-05 15:45:46 +00:00
# Copyright 2005-2015 ECMWF.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
#
# In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
# virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
#
2014-12-19 17:55:51 +00:00
set -e
2014-11-17 14:53:05 +00:00
. ./include.sh
REDIRECT=/dev/null
for file in ${data_dir}/bufr/*.bufr
do
2015-02-09 15:14:01 +00:00
${tools_dir}bufr_dump -O $file 2> $REDIRECT > $REDIRECT
done