diff --git a/tools/grib_compare.sh b/tools/grib_compare.sh index 32e516919..04630e978 100755 --- a/tools/grib_compare.sh +++ b/tools/grib_compare.sh @@ -91,7 +91,7 @@ The possible types are: When the type \"n\" is used all the set of keys belonging to the specified namespace are compared assuming their own native type. To illustrate how these options work we change the values coded in -a message using grib_filter with the following rules file (see \ref grib_filter). " +a message using grib_filter with the following rules file (see grib_filter). " echo "\\verbatim set bitsPerValue=10; set values={1,2.5,3,4,5,6,70}; diff --git a/tools/grib_get.sh b/tools/grib_get.sh index 02169d694..9604d4a09 100755 --- a/tools/grib_get.sh +++ b/tools/grib_get.sh @@ -3,14 +3,13 @@ set -e echo "-# grib_get fails if a key is not found.\\n " echo "\\verbatim " -echo ">grib_get -p gribname ../data/tigge_pf_ecmwf.grib2" +echo ">grib_get -p nosuchkey ../data/tigge_pf_ecmwf.grib2" set +e -./grib_get -p gribname ../data/tigge_pf_ecmwf.grib2 +./grib_get -p nosuchkey ../data/tigge_pf_ecmwf.grib2 set -e +ecbo "ECCODES ERROR : Key/value not found" echo "\\endverbatim " echo "-# To get the step of the first GRIB message in a file: \\n" echo "\\verbatim " echo ">grib_get -w count=1 -p step ../data/tigge_pf_ecmwf.grib2" echo "\\endverbatim " - - diff --git a/tools/grib_set.sh b/tools/grib_set.sh index c2ac33f0e..921c2ad94 100755 --- a/tools/grib_set.sh +++ b/tools/grib_set.sh @@ -26,7 +26,7 @@ echo "-# To set scaleFactorOfSecondFixedSurface to missing only for the fields f echo "-# It's possible to produce a grib edition 2 file from a grib edition 1 just changing the edition number with grib_set. At this stage of development all the geography parameters, level and time information is correctly translated, for the product -definition extra set calls must be done. To do this properly, \ref grib_filter is suggested. \\n +definition extra set calls must be done. To do this properly, please use the grib_filter tool. \\n \\verbatim grib_set -s edition=2 ../data/reduced_gaussian_pressure_level.grib1 out.grib2 \\endverbatim\\n"