...
In particular using the bufr_filter tool, we can write the following simple instructions in the change_structure.filter file
Code Block | ||||
---|---|---|---|---|
| ||||
set unexpandedDescriptors=309052; write; |
and execute the filter instructions with bufr_filter:
Code Block | ||
---|---|---|
| ||
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 | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
set bufrTemplate="aircraftReportWithSecondsAndPressure"; write; |
...