Page History
...
Without options a default list of keys is printed. The default list is can be different depending on the type of bufr message.
Code Block > bufr_ls ../data/bufr/syno_*.bufr ../data/bufr/syno_multi1.bufr masterTablesVersionNumber localTablesVersionNumber rdbType rdbSubtype rdbtimeYear rdbtimeMonth typicalDate typicalTime numberOfSubsets localLatitude localLongitude 13 1 1 1 20092012 110 2009012420121030 120000000000 1 707.9345 -8.67151.83 1 of 1 messages in ../data/bufr/syno_1.bufr ../data/bufr/syno_2.bufr 13 1 1 1 2012 2009 10 20121030 000000 1 200901247.45 151.83 1 of 1 messages in ../data/bufr/syno_2.bufr ../data/bufr/syno_3.bufr 13 1 120000 1 3 772012 10 20121030 000000 1 -15.93 -5.67 1 of 1 messages in ../data/bufr/syno_3.bufr ../data/bufr/syno_4.bufr 13 1 1 1 20092012 110 20121030 20090124 000000 120000 1 7854.9218 117.939 31 of 31 messages in ../data/bufr/syno_multi4.bufr ../data/bufr/tempsyno_101multi.bufr 13 1 1 5 1 101 2009 2012 1 10 2012103020090124 000000120000 1 60.7770.93 -8.67 13 1 1 1 2009 1 20090124 120000 1 77 -161.8315.5 13 1 of 1 1 1 2009 1 20090124 120000 1 78.92 11.93 3 of 3 messages in ../data/bufr/tempsyno_101multi.bufr 47 of 47 total messages in 25 files
To print offset and count number in file use the keys offset and count. Also the total count in a set of files is available as countTotal
Code Block > > bufr_ls -p offset,count,countTotal ../data/bufr/syno_*.bufr ../data/bufr/syno_1.bufr offset count countTotal 0 1 1 1 of 1 messages in ../data/bufr/syno_1.bufr ../data/bufr/syno_2.bufr 0 2 2 1 of 1 messages in ../data/bufr/syno_2.bufr ../data/bufr/syno_3.bufr 0 3 3 1 of 1 messages in ../data/bufr/syno_3.bufr ../data/bufr/syno_4.bufr 0 4 4 1 of 1 messages in ../data/bufr/syno_4.bufr ../data/bufr/syno_multi.bufr 0 5 5 220 6 6 440 7 7 3 of 3 messages in ../data/bufr/syno_multi.bufr 7 of 7 total messages in 5 files
To list only a subset of messages use the -w (where option). Only the synop SYNOP messages are listed with the following line.
Code Block > bufr_ls -W 8 -w dataCategory=0 ../data/bufr/syno_*.bufr ../data/bufr/temp_*.bufr
All the non-synop SYNOP messages are listed as follows:
Code Block > bufr_ls -W 8 -w dataCategory!=0 ../data/bufr/syno_*.bufr ../data/bufr/temp_*.bufr