diff --git a/tools/bufr_copy.sh b/tools/bufr_copy.sh new file mode 100755 index 000000000..41a010190 --- /dev/null +++ b/tools/bufr_copy.sh @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +echo "-# To copy only the synop messages from a file\\n" +echo "\verbatim" +echo "> bufr_copy -w dataCategory=0 in.bufr out.bufr" +echo "\endverbatim\\n" + +echo "-# To copy only the non-synop messages from a file\\n" +echo "\verbatim" +echo "> bufr_copy -w dataCategory!=0 in.bufr out.bufr" +echo "\endverbatim\\n" diff --git a/tools/bufr_dump.sh b/tools/bufr_dump.sh new file mode 100755 index 000000000..73c52eb32 --- /dev/null +++ b/tools/bufr_dump.sh @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +echo "-# To dump bufr messages into a JSON format.\\n" +echo "\\verbatim" +echo ">bufr_dump -jf ../data/bufr/aaen_51.bufr" +echo "\\endverbatim\\n" +