...
Without options a default list of keys is printed. The default list is different depending on the type of bufr message.
Code Block > bufr_ls ../data/bufr/syno_multi.bufr ../data/bufr/temp_101*.bufr ../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 ../data/bufr/temp_101.bufr 13 1 5 101 2012 10 20121030 000000 1 60.77 -161.83 1 of 1 messages in ../data/bufr/temp_101.bufr 4 of 4 total messages in 2 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 > grib> bufr_ls -p offset,count,countTotal ../data/reduced*.grib1bufr/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 pressure levels synop messages are listed with the following line.
Code Block > gribbufr_ls -W 8 -w levelTypedataCategory=pl0 ../data/bufr/tigge_pf_ecmwf.grib2 syno_*.bufr ../data/bufr/temp_*.bufr
All the grib messages not on pressure levels non-synop messages are listed as follows:
To get the closest grid point to a latitude/longitude.Code Block > grib bufr_ls -W 8 -w levelTypedataCategory!=pl0 ../tigge_pf_ecmwf.grib2
Code Block > grib_ls -l 51.46,-1.33,1 -p paramId,name data/bufr/syno_*.bufr ../data/reduced_gaussian_surface.grib2bufr/temp_*.bufr