From ba7cd53210300bfa2866ab87bd2bf2a333b9e18a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 13 Feb 2017 11:01:54 +0000 Subject: [PATCH] Documentation: Tool options --- tools/bufr_get.sh | 2 +- tools/bufr_set.c | 6 +++--- tools/grib_options.c | 2 +- tools/metar_copy.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/bufr_get.sh b/tools/bufr_get.sh index 87cf3ac4b..3462a8250 100755 --- a/tools/bufr_get.sh +++ b/tools/bufr_get.sh @@ -5,6 +5,6 @@ echo "-# bufr_get fails if a key is not found.\\n " echo "\\verbatim " echo ">bufr_get -p centreName ../data/bufr/syno_1.bufr" set +e -./grib_get -p gcentreName ../data/bufr/syno_1.bufr +./bufr_get -p gcentreName ../data/bufr/syno_1.bufr set -e echo "\\endverbatim " diff --git a/tools/bufr_set.c b/tools/bufr_set.c index 7d211a548..82714f735 100644 --- a/tools/bufr_set.c +++ b/tools/bufr_set.c @@ -23,9 +23,9 @@ grib_option grib_options[]={ {"p:",0,0,1,1,0}, {"P:",0,0,0,1,0}, {"w:","key[:{s|d|i}]=value,key[:{s|d|i}]=value,...", - "\n\t\tWhere clause.\n\t\tSet is only executed for grib messages matching all the " - "key/value constraints.\n\t\tIf a grib message does not match the constraints it is" - " copied unchanged\n\t\tto the output_grib_file. This behaviour can be changed " + "\n\t\tWhere clause.\n\t\tSet is only executed for BUFR messages matching all the " + "key/value constraints.\n\t\tIf a BUFR message does not match the constraints it is" + " copied unchanged\n\t\tto the output_bufr_file. This behaviour can be changed " "setting the option -S.\n\t\tFor each key a string (key:s), a double (key:d) or" " an integer (key:i)\n\t\ttype can be defined. Default type is string.\n",0,1,0}, {"q",0,0,1,0,0}, diff --git a/tools/grib_options.c b/tools/grib_options.c index c7ce85859..896cf5a5a 100644 --- a/tools/grib_options.c +++ b/tools/grib_options.c @@ -95,7 +95,7 @@ grib_options_help grib_options_help_list[] ={ "\tCompare floating point values using the relative error as tolerance." "\n\t\tkey1=relative_error will compare key1 using relative_error1." "\n\t\tall=relative_error will compare all the floating point keys using relative_error. Default all=0.\n"}, - {"S",0,"Strict. Only grib messages matching all the constraints are copied to" + {"S",0,"Strict. Only messages matching all the constraints are copied to" "\n\t\tthe output file\n"}, {"T:","T | B | M | A","Message type. T->GTS, B->BUFR, M->METAR (Experimental),A->Any (Experimental).\n\t\t\tThe input file is interpreted according to the message type.\n"}, {"V",0,"Version.\n"}, diff --git a/tools/metar_copy.c b/tools/metar_copy.c index f70488546..b13ba85fa 100644 --- a/tools/metar_copy.c +++ b/tools/metar_copy.c @@ -23,7 +23,7 @@ grib_option grib_options[]={ {"p:",0,0,1,1,0}, {"P:",0,0,0,1,0}, {"w:","key[:{s|d|i}]=value,key[:{s|d|i}]=value,...","\n\t\tWhere clause." - "\n\t\tOnly grib messages matching the key/value constraints are " + "\n\t\tOnly messages matching the key/value constraints are " "copied to the\n\t\toutput_grib_file.\n\t\tFor each key a string (key:s), a " "double (key:d) or an integer (key:i)\n\t\ttype can be defined. Default type " "is string.\n",0,1,0},