Documentation

This commit is contained in:
Shahram Najm 2017-10-17 18:03:08 +01:00
parent d8e3761982
commit c626aea592
3 changed files with 5 additions and 6 deletions

View File

@ -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};

View File

@ -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 "

View File

@ -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"