...
Excerpt | ||
---|---|---|
| ||
A BUFR message can be composed of several subsets. The number of subsets in a BUFR message is given by the key |
...
A BUFR message can be composed of several subsets. The number of subsets in a BUFR message is given by the key "numberOfSubsets"
which is printed by the bufr_ls tool:
...
To explain the use of these keys the following example using the bufr_filter is provided, but we highlight the fact that the keys can be set using the Fortran and Python interfaces as well and no special functions have been implemented in the bufr_filter for this feature.
The following file "instructions1.filter" with bufr_filter instructions can be used to perform the extraction of several subsets a single subset from a BUFR message.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
set unpack=1; set extractSubset=4; set doExtractSubsets=1; write; |
...
In the next example we extract all the several subsets specifying an interval.
...
Code Block | ||
---|---|---|
| ||
% bufr_filter -o outout1.bufr instructions1.filter in.bufr % bufr_filter -o outout2.bufr instructions2.filter in.bufr |
...
Content by Label | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...