grib_ls - Man Page
manual page for grib_ls
Description
NAME grib_ls
DESCRIPTION
List content of GRIB files printing values of some keys. It does not fail when a key is not found.
USAGE
grib_ls [options] grib_file grib_file ...
OPTIONS
- -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.
- -F format
C style format for floating-point values.
- -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. 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. 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.
- -j
JSON output.
-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'
-l latitude,longitude[,MODE,file]
Value close to the point of a latitude,longitude (nearest neighbour). Allowed values for MODE are:
4 (4 values in the nearest points are printed) Default 1 (the value at the nearest point is printed)
file (file is used as mask. The closer point with mask value>=0.5 is printed)
-s key[:{s|d|i}]=value,key[:{s|d|i}]=value,...
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.
-i index
Data value corresponding to the given index is printed.
-n namespace
All the keys belonging to the given namespace are printed.
- -m
Mars keys are printed.
- -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 a single GRIB message.
- -g
Copy GTS header.
- -T T | B | A
Message type. T->GTS, B->BUFR, A->Any (Experimental). The input file is interpreted according to the message type.
- -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.
- -x
Fast parsing option, only headers are loaded.
- -h
Display this help text and exit.
SEE ALSO
Full documentation and examples at: <https://confluence.ecmwf.int/display/ECC/grib_ls>
NAME grib_ls
DESCRIPTION
List content of GRIB files printing values of some keys. It does not fail when a key is not found.
USAGE
grib_ls [options] grib_file grib_file ...
OPTIONS
- -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.
- -F format
C style format for floating-point values.
- -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. 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. 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.
- -j
JSON output.
-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'
-l latitude,longitude[,MODE,file]
Value close to the point of a latitude,longitude (nearest neighbour). Allowed values for MODE are:
4 (4 values in the nearest points are printed) Default 1 (the value at the nearest point is printed)
file (file is used as mask. The closer point with mask value>=0.5 is printed)
-s key[:{s|d|i}]=value,key[:{s|d|i}]=value,...
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.
-i index
Data value corresponding to the given index is printed.
-n namespace
All the keys belonging to the given namespace are printed.
- -m
Mars keys are printed.
- -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 a single GRIB message.
- -g
Copy GTS header.
- -T T | B | A
Message type. T->GTS, B->BUFR, A->Any (Experimental). The input file is interpreted according to the message type.
- -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.
- -x
Fast parsing option, only headers are loaded.
- -h
Display this help text and exit.
SEE ALSO
Full documentation and examples at: <https://confluence.ecmwf.int/display/ECC/grib_ls>