METAR_COMPARE(1)
π NAME π
okay so welcome to metar_compare β it's a manual page for metar_compare, section 1 over in User Commands π, and she is here to tell you if two METAR files are actually saying the same thing or just pretending π¦
β¨ DESCRIPTION β¨
πΈ NAME πΈ
metar_compare β that's the icon, that's the name, no notes π
π§ DESCRIPTION π§
Compare the METAR messages sitting inside two different files, bestie. If any differences show up, it fails and returns an error code π β yes, it's giving "we need to talk".
Floating-point values get compared exactly by default, no wiggle room. If you want a different tolerance you can define one, take a peek at -A and -R. Default behaviour, for the record: absolute error=0, bit-by-bit compare, same order in files β
π USAGE π
metar_compare [options] file file
π OPTIONS π
-b key,key,...β every key in this list gets skipped in the comparison. Bit-by-bit compare on π₯-c key[:i|d|s|n],key[:i|d|s|n],...β only the keys or namespaces you list (:n) are compared. That optional little letter after the colon forces the type used in the comparison:i->integer,d->float,s->string,n->namespace π« See the-aoption. Heads up: this one is incompatible with the-Hoption.-aβ a modifier for the-coption. The keys you listed with-cget added to the list of keys compared without-cπ«Ά-R key1=relative_error1,key2=relative_error2,...β compare floating-point values using the relative error as the tolerance.key1=relative_error1compareskey1usingrelative_error1.all=relative_errorcompares all the floating-point keys usingrelative_error. Default isall=0β-A absolute errorβ compare floating-point values using the absolute error as the tolerance. Default is absolute error=0 πΈ-w key[:{s|d|i}]{=|!=}value,key[:{s|d|i}]{=|!=}value,...β the Where clause. Messages are processed only if they match all the key/value constraints π A valid constraint looks likekey=valueorkey!=value. For each key you can specify a string type (key:s), a double type (key:d) or an integer type (key:i). Default type is string. In the value you can also use the forward-slash character/to specify an OR condition β that's a logical disjunction, iykyk π§ Note: only one-wclause is allowed.-fβ forcefully compare, do not stop after the first difference π₯-Vβ print version π-7β does not fail when the message has the wrong length π-vβ verbose π
π okay bestie not me but the page literally does this π
fr fr, the manpage repeats the whole thing β NAME, DESCRIPTION, USAGE, OPTIONS, all of it, again. Not me editing it, I'm just the messenger π so here it is the second time, because every detail stays, periodt π
πΈ NAME πΈ
metar_compare β again β¨ iconic behaviour.
π§ DESCRIPTION π§
Compare the METAR messages contained in two files. If some differences are found it fails returning an error code π Floating-point values are compared exactly by default; a different tolerance can be defined, see -A -R. Default behaviour: absolute error=0, bit-by-bit compare, same order in files β
π USAGE π
metar_compare [options] file file
π OPTIONS π
-b key,key,...β all the keys in this list are skipped in the comparison. Bit-by-bit compare on π-c key[:i|d|s|n],key[:i|d|s|n],...β only the listed keys or namespaces (:n) are compared. The optional letter after the colon is used to force the type in the comparison:i->integer,d->float,s->string,n->namespace πΈ See-aoption. Incompatible with-Hoption.-aβ-coption modifier. The keys listed with the option-cwill be added to the list of keys compared without-cπ«Ά-R key1=relative_error1,key2=relative_error2,...β compare floating-point values using the relative error as tolerance.key1=relative_error1will comparekey1usingrelative_error1.all=relative_errorwill compare all the floating-point keys usingrelative_error. Defaultall=0π«-A absolute errorβ compare floating-point values using the absolute error as tolerance. Default is absolute error=0 π-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.-fβ forcefully compare, do not stop after first difference π₯-Vβ print version β-7β does not fail when the message has wrong length π-vβ verbose π¦
ngl this whole page is a double-text situation β she said it once, then said it again, and honestly? we respect the commitment π
that's the whole vibe, bestie β this page is metar_compare, from October 2026, the METAR_COMPARE(1) situation, and you're officially caught up πβ¨ bye 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