Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In particular using the bufr_filter tool, we can write the following simple instructions in the change_structure.filter file

Code Block
languagebashpowershell
titlechange_structure.filter
set unexpandedDescriptors=309052;
write;

and execute the filter instructions with bufr_filter:

Code Block
languagephppowershell
bufr_filter -o temp.bufr change_structure.filter seed.bufr

...

The following filter rules will generate the required message (note the difference between the sequence 311001 and this newly defined sequence):

Code Block
languageapplescriptpowershell
linenumberstrue
set unexpandedDescriptors={301051, 4006,7002, 10004,12001, 11001, 11002, 11031, 11032, 11033, 20041};
write;

...

This key can be set to a string representing the template. The filter rules above can be replaced by

Code Block
languageapplescriptpowershell
linenumberstrue
set bufrTemplate="aircraftReportWithSecondsAndPressure";
write;

...