Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 04-Dec-2018 | - | ||||
dat/ | H | 03-May-2022 | - | 12,418 | 12,416 | |
data/ | H | 07-May-2022 | - | |||
station_list/ | H | 03-May-2022 | - | 25,338 | 24,418 | |
README | H A D | 16-Feb-2018 | 2.2 KiB | 97 | 51 | |
combase.h | H A D | 16-Feb-2018 | 67 | 6 | 5 | |
combuff.h | H A D | 16-Feb-2018 | 219 | 9 | 8 | |
comerror.h | H A D | 16-Feb-2018 | 218 | 8 | 7 | |
comerrorc.h | H A D | 16-Feb-2018 | 187 | 7 | 6 | |
comindx.h | H A D | 16-Feb-2018 | 549 | 13 | 12 | |
cominit.h | H A D | 16-Feb-2018 | 50 | 4 | 3 | |
comkey.h | H A D | 16-Feb-2018 | 1.3 KiB | 23 | 22 | |
comkeyc.h | H A D | 16-Feb-2018 | 34 | 4 | 3 | |
compoin.h | H A D | 16-Feb-2018 | 423 | 12 | 11 | |
comrec.h | H A D | 16-Feb-2018 | 38 | 4 | 3 | |
comstat.h | H A D | 16-Feb-2018 | 2.3 KiB | 42 | 41 | |
comstation.h | H A D | 16-Feb-2018 | 612 | 13 | 12 | |
comstd.h | H A D | 16-Feb-2018 | 173 | 7 | 6 | |
comsubs.h | H A D | 16-Feb-2018 | 86 | 6 | 4 | |
comwork.h | H A D | 16-Feb-2018 | 233 | 8 | 7 | |
comwrt.h | H A D | 16-Feb-2018 | 71 | 6 | 4 | |
comwrtc.h | H A D | 16-Feb-2018 | 76 | 6 | 4 | |
comwtc.h | H A D | 16-Feb-2018 | 49 | 4 | 3 | |
create_gts_header.f | H A D | 16-Feb-2018 | 6.5 KiB | 287 | 184 | |
parameter.h | H A D | 16-Feb-2018 | 319 | 7 | 6 | |
parbuf.h | H A D | 16-Feb-2018 | 253 | 8 | 6 | |
synop2bufr.f | H A D | 16-Feb-2018 | 240 KiB | 10,225 | 4,162 | |
test.sh | H A D | 16-Feb-2018 | 198 | 18 | 9 |
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