Differences
This shows you the differences between two versions of the page.
bufr.pm:bufrdump.pl_transform [2010-09-21 11:27:22] pals |
bufr.pm:bufrdump.pl_transform [2022-05-31 09:29:31] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Using transform file transform1: | ||
- | < | ||
- | FF = sprintf(" | ||
- | NN = int($x*12.5 + .5) | ||
- | </ | ||
- | and then executing bufrdump.pl on the same BUFR SYNOP file as in the previous example and with the same options except with %%--transform transform1%% added, produced this output: | ||
- | |||
- | < | ||
- | wmonr,FF,NN | ||
- | 01278, | ||
- | 94120, | ||
- | 94132, | ||
- | 94150, | ||
- | 94238, | ||
- | 94326, | ||
- | 94327, | ||
- | 94462, | ||
- | 95322, | ||
- | ... | ||
- | </ | ||
- | |||
- | For ease of comparing, this was the previous output: | ||
- | |||
- | < | ||
- | wmonr,FF,NN | ||
- | 01278,0.0,7 | ||
- | 94120,7.2,1 | ||
- | 94132,0.0,1 | ||
- | 94150,5.7,5 | ||
- | 94238,3.1,7 | ||
- | 94326,5.7,8 | ||
- | 94327,4.6,8 | ||
- | 94462,8.2,1 | ||
- | 95322,5.7,8 | ||
- | ... | ||
- | </ |