...
Without options a default list of keys is printed. The default list can be different depending on the type of bufr message.
The result is:Code Block > bufr_ls ../data/bufr/syno_multi.bufr
Code Block ../data/bufr/syno_multi.bufr masterTablesVersionNumber localTablesVersionNumber rdbType rdbSubtype rdbtimeYear rdbtimeMonth typicalDate typicalTime numberOfSubsets localLatitude localLongitude 13 1 1 1 2009 1 20090124 120000 1 70.93 -8.67 13 1 1 1 2009 1 20090124 120000 1 77 15.5 13 1 1 1 2009 1 20090124 120000 1 78.92 11.93 3 of 3 messages in ../data/bufr/syno_multi.bufr 3 of 3 total messages in 1 files
It allowed to use wildcards in filenames.
Code Block > bufr_ls ../data/bufr/syno_*.bufr
To list only a specific set of keys use the -p option.
The result is:Code Block > bufr_ls -p totalLength,bufrHeaderCentre,bufrHeaderSubCentre ../data/bufr/syno_multi.bufr
Code Block ../data/bufr/syno_multi.bufr totalLength bufrHeaderCentre bufrHeaderSubCentre 220 98 0 220 98 0 220 98 0 3 of 3 messages in ../data/bufr/syno_multi.bufr 3 of 3 total messages in 1 files
To list only a subset of messages use the -w (where option). Only the 12 UTC messages are listed with the following line.
Code Block > bufr_ls -W 8 -w typicalTime="120000" ../data/bufr/syno_*.bufr
All the non-12 UTC messages are listed as follows:
Code Block > bufr_ls -W 8 -w typicalTime!="120000" ../data/bufr/syno_*.bufr