2013-03-25 12:04:10 +00:00
|
|
|
/*! \page grib_get_data grib_get_data
|
|
|
|
\section DESCRIPTION
|
|
|
|
Print a latitude, longitude, data values list
|
|
|
|
|
|
|
|
\section USAGE
|
|
|
|
grib_get_data
|
|
|
|
[options] grib_file grib_file ...
|
|
|
|
|
|
|
|
\section OPTIONS
|
2016-06-16 17:52:29 +00:00
|
|
|
-M \n Multi-field support off. Turn off support for multiple fields in single grib message.
|
2013-03-25 12:04:10 +00:00
|
|
|
\n \n -m missingValue \n
|
|
|
|
The missing value is given through this option.
|
|
|
|
Any string is allowed and it is printed in place of the missing
|
|
|
|
values. Default is to skip the missing values.
|
2016-06-16 17:52:29 +00:00
|
|
|
\n \n -p key[:{s/d/i}],key[:{s/d/i}],... \n
|
2013-03-25 12:04:10 +00:00
|
|
|
Declaration of keys to print.
|
2016-06-16 17:52:29 +00:00
|
|
|
For each key a string (key:s), a double (key:d) or an integer (key:i)
|
2013-03-25 12:04:10 +00:00
|
|
|
type can be requested. Default type is string.
|
|
|
|
\n \n -F format \n
|
|
|
|
C style format for values. Default is "%.10e"
|
2016-06-16 17:52:29 +00:00
|
|
|
\n \n -w key[:{s/d/i}]{=/!=}value,key[:{s/d/i}]{=/!=}value,... \n
|
2013-03-25 12:04:10 +00:00
|
|
|
Where clause.
|
2016-06-16 17:52:29 +00:00
|
|
|
Messages are processed only if they match all the key/value constraints.
|
2013-03-25 12:04:10 +00:00
|
|
|
A valid constraint is of type key=value or key!=value.
|
2016-06-16 17:52:29 +00:00
|
|
|
For each key a string (key:s), a double (key:d) or an integer (key:i)
|
2013-03-25 12:04:10 +00:00
|
|
|
type can be specified. Default type is string.
|
|
|
|
\n \n -f \n Force. Force the execution not to fail on error.
|
|
|
|
\n \n -G \n GRIBEX compatibility mode.
|
|
|
|
\n \n -7 \n Does not fail when the message has wrong length
|
2016-06-16 17:52:29 +00:00
|
|
|
\n \n -X offset \n
|
|
|
|
Input file offset in bytes. Processing of the input file will start from "offset".
|
2013-03-25 12:04:10 +00:00
|
|
|
\n \n -V \n Version.
|
|
|
|
\n \n
|
|
|
|
\section grib_get_data_examples grib_get_data examples
|
|
|
|
-# To get a latitude, longitude, value list, skipping the missing values(=9999)
|
|
|
|
\verbatim
|
|
|
|
>grib_get_data ../data/reduced_gaussian_model_level.grib2
|
|
|
|
\endverbatim
|
|
|
|
-# If you want to define your missing value=1111 and to print the string missing in place of it
|
|
|
|
\verbatim
|
|
|
|
>grib_get_data -m 1111:missing ../data/reduced_gaussian_model_level.grib2
|
|
|
|
\endverbatim
|
|
|
|
-# If you want to print the value of other keys with the data value list
|
|
|
|
\verbatim
|
|
|
|
>grib_get_data -p centre,level,step ../data/reduced_gaussian_model_level.grib2
|
|
|
|
\endverbatim
|
|
|
|
*/
|