• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..04-Dec-2018-

dat/H03-May-2022-12,41812,416

data/H07-May-2022-

station_list/H03-May-2022-25,33824,418

READMEH A D16-Feb-20182.2 KiB9751

combase.hH A D16-Feb-201867 65

combuff.hH A D16-Feb-2018219 98

comerror.hH A D16-Feb-2018218 87

comerrorc.hH A D16-Feb-2018187 76

comindx.hH A D16-Feb-2018549 1312

cominit.hH A D16-Feb-201850 43

comkey.hH A D16-Feb-20181.3 KiB2322

comkeyc.hH A D16-Feb-201834 43

compoin.hH A D16-Feb-2018423 1211

comrec.hH A D16-Feb-201838 43

comstat.hH A D16-Feb-20182.3 KiB4241

comstation.hH A D16-Feb-2018612 1312

comstd.hH A D16-Feb-2018173 76

comsubs.hH A D16-Feb-201886 64

comwork.hH A D16-Feb-2018233 87

comwrt.hH A D16-Feb-201871 64

comwrtc.hH A D16-Feb-201876 64

comwtc.hH A D16-Feb-201849 43

create_gts_header.fH A D16-Feb-20186.5 KiB287184

parameter.hH A D16-Feb-2018319 76

parbuf.hH A D16-Feb-2018253 86

synop2bufr.fH A D16-Feb-2018240 KiB10,2254,162

test.shH A D16-Feb-2018198 189

README

1After creating bufr library go to station_list directory
2
3   make
4if you use Prtland compilers please specify
5   make CNAME=_pgf90
6
7There are 5 files in this directory
8
91) wmo_a.pl
10
11   Script which format ftp WMO Volume A station list
12   suitable for wmo_make_station program
13
142) wmo_make_station
15
16   creates binary station list station_amend.dat.
17   mv station_amend.dat station_list.dat to be used by
18   synop2bufr program
19
203)  wmo_make_station.f  source program for 2)
21
22
234) wmo.txt input text station list for wmo_make_station program
24
255) important_stations.dat  read by wmo_make_station program
26
27
28  Steps to be done:
29
30 a)  ftp station list from WMO http://www.wmo.int/pages/prog/www/ois/volume-a/vola-home.htm
31
32  The ftp-ed file is like Pub9volA090928.flatfile
33
34 b)  wmo_a.pl Pub9volA090928.flatfile  outputfile
35
36
37  sort -k2,2 outputfile > outputfile.1
38
39  mv outputfile.1 wmo.txt
40
41  edit wmo.txt ;remove the last line and save file
42
43  If you want to add your own stations edit wmo.txt file.
44
45  you can add station anywhere but it is important to
46  sort the file upon block number ( 2 field ).
47
48  sort -k2,2 wmo.txt > a
49
50  move a wmo.txt
51
52  mv a wmo.txt
53
54 c) create binary station list
55
56    ./wmo_make_station
57
58   It will create station_amend.dat which is new binary station list
59
60   cp station_amend.dat ~PP_BASE/dat/statlion_list.dat
61
62 d) Create station list which contains instrument height fileds as missing values
63    This values has to set to proper values for each station from the Country.
64
65    ./make_synop2bufr_station
66
67    The input is wmo.txt and file synop2bufr_station.txt shall be created
68
69    The last 4 fields in the synop2bufr_station.txt are heights above ground in m for:
70
71
72    temperature
73    visibility
74    precipitation
75    wind
76
77
78 e) Edit synop2bufr_station.txt and fill in instrument heights for above elements
79    for your stations. The example is synop2bufr_station.txt.greece
80
81    save the file and cp synop2bufr_station.txt ~PP_BASE/dat/.
82
83
84 f) Make sure that binary version and text version of stations contain the same stations.
85
86If you want to run test program before instal library and Bufr tables
87just run small script:
88
89./test.sh
90
91that will set requered environment variables
92and run:
93
94./synop2bufr -i data/greek.gts -o data/greek.gts.bufr -c 87
95
96
97