bufr.pm:bufrdump.pl_transform

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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: 
-<file> 
-FF = sprintf("%.1f", $x*1.9438) 
-NN = int($x*12.5 + .5) 
-</file> 
  
-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: 
- 
-<file> 
-wmonr,FF,NN 
-01278,0.0,88 
-94120,14.0,13 
-94132,0.0,13 
-94150,11.1,63 
-94238,6.0,88 
-94326,11.1,100 
-94327,8.9,100 
-94462,15.9,13 
-95322,11.1,100 
-... 
-</file> 
- 
-For ease of comparing, this was the previous output: 
- 
-<file> 
-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 
-... 
-</file> 
  • bufr.pm/bufrdump.pl_transform.txt
  • Last modified: 2022-05-31 09:29:31
  • (external edit)