GRIB_LS(1)
π NAME π
grib_ls</p> β literally just the manual page for grib_ls. That's the whole intro, bestie. This one comes from the User Commands section of the manual, and it's giving "chaos goblin utility with a heart of gold" energy. π
β¨
π¦ DESCRIPTION π¦
kk, so lowkey the DESCRIPTION section has its own little NAME / DESCRIPTION / USAGE / OPTIONS situation going on inside it. We contain multitudes. π«Ά
πΈ NAME πΈ
grib_ls
πΈ DESCRIPTION πΈ
It lists the content of GRIB files, printing the values of some keys. And here's the iconic part β it does not fail when a key is not found. No dramatic exit, no screaming into the void, it just moves on. Main character energy fr fr. π
πΈ USAGE πΈ
grib_ls [options] grib_file grib_file ...
Yep, you can hand it as many GRIB files as you want. Stack 'em up. π
πΈ OPTIONS πΈ
Oh we're in the candy shop now, bestie. Twenty options, all of them, no skips, periodt:
-p key[:{s|d|i}],key[:{s|d|i}],...β Your declaration of which keys to print. For each key you can ask for a string (key:s), a double (key:d) or an integer (key:i) type. Default type is string, because string is the default, obviously. π-F formatβ A C-style format for your floating-point values. Give your floats a lil makeover. β¨-P key[:{s|d|i}],key[:{s|d|i}],...β Same as-p, but instead of replacing anything it adds the declared keys to the default list. Best of both worlds, we love a union. π€-w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]{=|!=}value,...β The where clause, aka the bouncer at the club. Messages are only processed if they match all the key/value constraints. A valid constraint looks likekey=valueorkey!=value. For each key you can specify a string (key:s), a double (key:d) or an integer (key:i) type β 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), so you can be flexible with your vibes. β οΈ Note: only one-wclause is allowed. One bouncer. That's it.-jβ JSON output. For when you want your data to look like it's wearing a tiny suit. π΄οΈ-B 'order by' directiveβ Order by, bestie! The output gets ordered according to the'order by'directive. Example:"step:i asc, centre desc"(that's step numeric ascending and centre descending, for the uninitiated π). Default sort mode is'asc'.-l latitude,longitude[,MODE,file]β Gives you the 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 is1(the value at the nearest point is printed). πfileβ file is used as mask. The closer point with mask value>=0.5is 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 β let it be itself, let it be free. π¦-i indexβ Prints the data value corresponding to the given index. Point at a thing, get the thing. π―-n namespaceβ Prints all the keys belonging to the given namespace. The whole squad, assembled. π―-mβ Prints all the keys belonging to the'mars'namespace. Specifically mars. Not the other ones. Just mars. πͺ-Vβ Prints the version. Identity check. πͺ-W widthβ Minimum width of each column in output. Default is10. Give your columns room to breathe, they deserve it. π¬οΈ-Mβ Multi-field support off. This turns off support for multiple fields in a single GRIB message. Bye bestie. π-gβ Copies the GTS header. Copy-paste but make it meteorological. π-T T | B | Aβ Message type.T->GTS,B->BUFR,A->Any (Experimental, so proceed with the caution of someone touching a hot pan π). The input file is interpreted according to the message type.-7β Does not fail when the message has wrong length. Chaos tolerance setting: enabled. π-X offsetβ Input file offset in bytes. Processing of the input file will start from the given offset. Skip ahead, no regrets. βοΈ-xβ Fast parsing option, only headers are loaded. Gotta go fast. π₯-hβ Displays this help text and exits. The classic escape hatch. πͺ
π₯ SEE ALSO π₯
Full documentation and examples at: <https://confluence.ecmwf.int/display/ECC/grib_ls>
Okay so here's the thing β the original page literally prints this whole block twice: once nested inside DESCRIPTION, and then again right after SEE ALSO. So we're doing it twice too. No skips, no edits, no cap. ππ
π§ NAME π§
grib_ls</p>
π§ 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. (Still not failing. Still unbothered. Still iconic. β¨)
π 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}],...β Same as-pbut adds 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 typekey=valueorkey!=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-wclause 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. Default1(the value at the nearest point is printed). πfileβ file is used as mask. The closer point with mask value>=0.5is 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β All the keys belonging to the'mars'namespace are printed. πͺ-Vβ Print version. πͺ-W widthβ Minimum width of each column in output. Default is10. π¬οΈ-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>
<div>ok that's genuinely the whole page, you ate it, you read all of it, I'm so proud π₯Ή</div>
This one's brought to you by grib_ls, dated October 2026 β and that's the lil footer sign-off, mwah ππβ¨
π¦ where this page comes from
- fedora 44: eccodes 2.50.0-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms