File: grib_dump.dox

package info (click to toggle)
eccodes 2.45.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 154,404 kB
  • sloc: cpp: 162,953; ansic: 26,308; sh: 21,742; f90: 6,854; perl: 6,361; python: 5,172; java: 2,226; javascript: 1,427; yacc: 854; fortran: 543; lex: 359; makefile: 283; xml: 183; awk: 66
file content (49 lines) | stat: -rw-r--r-- 2,058 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*!  \page grib_dump grib_dump
\section DESCRIPTION 
 Dump the content of a GRIB file in different formats.

\section USAGE 
 grib_dump 
 [options] grib_file grib_file ...

\section OPTIONS 
-O  \n Octet mode. WMO documentation style dump.
 \n \n -D  \n Debug mode.
 \n \n -d  \n Print all data values.
 \n \n -j  \n JSON mode (JavaScript Object Notation).
 \n \n -t  \n Print type information.
 \n \n -H  \n Print octet content in hexadecimal format.
 \n \n -a  \n Dump aliases.
 \n \n -w key[:{s/d/i}]{=/!=}value,key[:{s/d/i}]{=/!=}value,... \n 
		Where clause.
		Messages are processed only if they match all the key/value constraints.
		A valid constraint is of type key=value or key!=value.
		For each key a string (key:s), a double (key:d) or an integer (key:i)
		type can be specified. Default type is string.
 \n \n -s key[:{s/d/i}]=value,key[:{s/d/i}]=value,... \n 
		Key/values to set.
		For each key a string (key:s), a double (key:d) or an integer (key:i)
		type can be defined. By default the native type is set.
 \n \n -M  \n Multi-field support off. Turn off support for multiple fields in single grib message.
 \n \n -T T | B | M | A \n Message type. T->GTS, B->BUFR, M->METAR (Experimental),A->Any (Experimental).
			The input file is interpreted according to the message type.
 \n \n -7  \n Does not fail when the message has wrong length
 \n \n -V  \n Version.
 \n \n -X offset \n 
		Input file offset in bytes. Processing of the input file will start from "offset".
 \n \n -x  \n Fast parsing option, only headers are loaded.
 \n \n 
\section grib_dump_examples grib_dump examples
-# To dump in a WMO documentation style with hexadecimal octet values (-H).\n
\verbatim
>grib_dump -OH ../data/reduced_gaussian_model_level.grib1
\endverbatim\n
-# To add key aliases and type information.\n
\verbatim
>grib_dump -OtaH ../data/reduced_gaussian_model_level.grib1
\endverbatim\n
-# To obtain all the key names (computed keys included) available in a GRIB file.\n
\verbatim 
> grib_dump -D ../data/regular_latlon_surface.grib1
\endverbatim\n
*/