bufr_ls examples
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:> bufr_ls ../data/bufr/syno_multi.bufr
It is allowed to use wildcards in filenames.
> bufr_ls ../data/bufr/syno_*.bufr
To list only a specific set of keys use the -p option.
> bufr_ls -p totalLength,bufrHeaderCentre,bufrHeaderSubCentre ../data/bufr/syno_multi.bufr
To list only a subset of messages use the -w (where option). Only the 12 UTC messages are listed with the following line.
> bufr_ls -w typicalTime="120000" ../data/bufr/syno_*.bufr
All the non-12 UTC messages are listed as follows:
> bufr_ls -w typicalTime!="120000" ../data/bufr/syno_*.bufr
To list only the scond message from a BUFR file:
> bufr_ls -w count=2 ../data/bufr/syno_multi.bufr