grib_copy - Man Page

manual page for grib_copy

Description

NAME    grib_copy

DESCRIPTION

Copies the content of GRIB files printing values of some keys. If the name of the output_grib_file contains a key enclosed in square brackets, its value will be used.

USAGE

grib_copy [options] grib_file grib_file ... output_grib_file

OPTIONS

-f

Force. Force the execution not to fail on error.

-r

Repack data. Sometimes after setting some keys involving properties of the packing algorithm a repacking of data is needed. This repacking is performed setting this -r option.

-p key[:{s|d|i}],key[:{s|d|i}],...      

Declaration of keys to print. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be requested. Default type is string.

-P key[:{s|d|i}],key[:{s|d|i}],...      

As -p adding the declared keys to the default list.

-w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]=value,...    

Where clause. Only GRIB messages matching the key/value constraints are copied to the output_grib_file. 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 defined. Default type is string. In the value you can also use the forward-slash character '/' to specify an OR condition (i.e. a logical disjunction) Note: only one -w clause is allowed.

-B 'order by' directive

Order by. The output will be ordered according to the 'order by' directive. Example: "step:i asc, centre desc" (step numeric ascending and centre descending) Default sort mode is 'asc'

-V

Version.

-W width        

Minimum width of each column in output. Default is 10.

-M

Multi-field support off. Turn off support for multiple fields in single GRIB message.

-T T | B | M | A

Message type. T->GTS, B->BUFR, M->METAR (Experimental), A->Any (Experimental). The input file is interpreted according to the message type.

-g

Copy GTS header.

-G

GRIBEX compatibility mode.

-7

Does not fail when the message has wrong length

-X offset      

Input file offset in bytes. Processing of the input file will start from the given offset.

-v

Verbose.

NAME    grib_copy

DESCRIPTION

Copies the content of GRIB files printing values of some keys. If the name of the output_grib_file contains a key enclosed in square brackets, its value will be used.

USAGE

grib_copy [options] grib_file grib_file ... output_grib_file

OPTIONS

-f

Force. Force the execution not to fail on error.

-r

Repack data. Sometimes after setting some keys involving properties of the packing algorithm a repacking of data is needed. This repacking is performed setting this -r option.

-p key[:{s|d|i}],key[:{s|d|i}],...      

Declaration of keys to print. For each key a string (key:s), a double (key:d) or an integer (key:i) type can be requested. Default type is string.

-P key[:{s|d|i}],key[:{s|d|i}],...      

As -p adding the declared keys to the default list.

-w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]=value,...    

Where clause. Only GRIB messages matching the key/value constraints are copied to the output_grib_file. 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 defined. Default type is string. In the value you can also use the forward-slash character '/' to specify an OR condition (i.e. a logical disjunction) Note: only one -w clause is allowed.

-B 'order by' directive

Order by. The output will be ordered according to the 'order by' directive. Example: "step:i asc, centre desc" (step numeric ascending and centre descending) Default sort mode is 'asc'

-V

Version.

-W width        

Minimum width of each column in output. Default is 10.

-M

Multi-field support off. Turn off support for multiple fields in single GRIB message.

-T T | B | M | A

Message type. T->GTS, B->BUFR, M->METAR (Experimental), A->Any (Experimental). The input file is interpreted according to the message type.

-g

Copy GTS header.

-G

GRIBEX compatibility mode.

-7

Does not fail when the message has wrong length

-X offset      

Input file offset in bytes. Processing of the input file will start from the given offset.

-v

Verbose.

Info

August 2022