1GRIB_COPY(1)                     User Commands                    GRIB_COPY(1)
2
3
4

NAME

6       grib_copy - manual page for grib_copy
7

DESCRIPTION

9       NAME    grib_copy
10
11       DESCRIPTION
12
13              Copies  the  content of GRIB files printing values of some keys.
14              If the name of the output_grib_file contains a key  enclosed  in
15              square brackets, its value will be used.
16
17       USAGE
18
19              grib_copy [options] grib_file grib_file ... output_grib_file
20
21       OPTIONS
22
23       -f     Force. Force the execution not to fail on error.
24
25       -r     Repack data. Sometimes after setting some keys involving proper‐
26              ties of the packing algorithm a repacking  of  data  is  needed.
27              This repacking is performed setting this -r option.
28
29       -p key[:{s|d|i}],key[:{s|d|i}],...
30
31              Declaration  of keys to print.  For each key a string (key:s), a
32              double (key:d) or an integer (key:i) type can be requested.  De‐
33              fault type is string.
34
35       -P key[:{s|d|i}],key[:{s|d|i}],...
36
37              As -p adding the declared keys to the default list.
38
39       -w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]=value,...
40
41              Where  clause.   Only  GRIB messages matching the key/value con‐
42              straints are copied to the output_grib_file.  A valid constraint
43              is  of  type  key=value  or  key!=value.   For each key a string
44              (key:s), a double (key:d) or an integer (key:i) type can be  de‐
45              fined.  Default  type  is string.  In the value you can also use
46              the forward-slash character '/' to specify an OR condition (i.e.
47              a logical disjunction) Note: only one -w clause is allowed.
48
49       -B 'order by' directive
50
51              Order by. The output will be ordered according to the 'order by'
52              directive.  Example: "step:i asc, centre desc" (step numeric as‐
53              cending and centre descending) Default sort mode is 'asc'
54
55       -V     Version.
56
57       -W width
58
59              Minimum width of each column in output. Default is 10.
60
61       -M     Multi-field support off. Turn off support for multiple fields in
62              a single GRIB message.
63
64       -T T | B | M | A
65              Message type. T->GTS, B->BUFR, M->METAR  (Experimental),  A->Any
66              (Experimental).   The input file is interpreted according to the
67              message type.
68
69       -g     Copy GTS header.
70
71       -G     GRIBEX compatibility mode.
72
73       -7     Does not fail when the message has wrong length
74
75       -X offset
76
77              Input file offset in bytes. Processing of the  input  file  will
78              start from the given offset.
79
80       -v     Verbose.
81
82       SEE ALSO
83
84              Full    documentation    and   examples   at:   <https://conflu
85              ence.ecmwf.int/display/ECC/grib_copy>
86
87       NAME    grib_copy
88
89       DESCRIPTION
90
91              Copies the content of GRIB files printing values of  some  keys.
92              If  the  name of the output_grib_file contains a key enclosed in
93              square brackets, its value will be used.
94
95       USAGE
96
97              grib_copy [options] grib_file grib_file ... output_grib_file
98
99       OPTIONS
100
101       -f     Force. Force the execution not to fail on error.
102
103       -r     Repack data. Sometimes after setting some keys involving proper‐
104              ties  of  the  packing  algorithm a repacking of data is needed.
105              This repacking is performed setting this -r option.
106
107       -p key[:{s|d|i}],key[:{s|d|i}],...
108
109              Declaration of keys to print.  For each key a string (key:s),  a
110              double  (key:d) or an integer (key:i) type can be requested. De‐
111              fault type is string.
112
113       -P key[:{s|d|i}],key[:{s|d|i}],...
114
115              As -p adding the declared keys to the default list.
116
117       -w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]=value,...
118
119              Where clause.  Only GRIB messages matching  the  key/value  con‐
120              straints are copied to the output_grib_file.  A valid constraint
121              is of type key=value or  key!=value.   For  each  key  a  string
122              (key:s),  a double (key:d) or an integer (key:i) type can be de‐
123              fined. Default type is string.  In the value you  can  also  use
124              the forward-slash character '/' to specify an OR condition (i.e.
125              a logical disjunction) Note: only one -w clause is allowed.
126
127       -B 'order by' directive
128
129              Order by. The output will be ordered according to the 'order by'
130              directive.  Example: "step:i asc, centre desc" (step numeric as‐
131              cending and centre descending) Default sort mode is 'asc'
132
133       -V     Version.
134
135       -W width
136
137              Minimum width of each column in output. Default is 10.
138
139       -M     Multi-field support off. Turn off support for multiple fields in
140              a single GRIB message.
141
142       -T T | B | M | A
143              Message  type.  T->GTS, B->BUFR, M->METAR (Experimental), A->Any
144              (Experimental).  The input file is interpreted according to  the
145              message type.
146
147       -g     Copy GTS header.
148
149       -G     GRIBEX compatibility mode.
150
151       -7     Does not fail when the message has wrong length
152
153       -X offset
154
155              Input  file  offset  in bytes. Processing of the input file will
156              start from the given offset.
157
158       -v     Verbose.
159
160       SEE ALSO
161
162              Full   documentation   and   examples    at:    <https://conflu
163              ence.ecmwf.int/display/ECC/grib_copy>
164
165
166
167grib_copy                        November 2023                    GRIB_COPY(1)
Impressum