    This directory contains example for the BUFR decoding and programs
for conversion between BUFR and CREX

Note:
Conversion programs can be compiled only if you have installed both
crex and bufr libraries!!!

Compilation of C program for decoding bufr_decode.c is optional
and if you want to compile it please type:

make bufr_decode

This is available only on Linux platform for Gnu compilers g77 and gcc,
for pgf77 and pgfcc.

    Relevant data in BUFR format are in data directory.

decode_bufr.f :


make
 
will compile examples

If you want to run example programs before instal library and Bufr tables
just run small script:

./test.sh

that will set temporary environment variable: BUFR_TABLES
and run: 

./decode_bufr -i  data/input_bufr 

Answer the prompts as in the Bufr User's Manual example


y
n
n
1
press return 
press return 
press return 
press return 
y
1
1


where:
     input_bufr - file name containing BUFR data

	The result will be description of data and its values.
    bufr_example can be run  for different sort of observation data:
synop.buf, amdar.bufr, atovs.bufr, satob.bufr, synop_ship.bufr, temp.bufr

bufr2crex.f :

    It very useful if there is need for automatic conversion between BUFR and
CREX data formats, when some centres can not handle meteorogical binary data

./bufr2crex -i input_bufr -o out_crex

where:
     out_crex - file name containing CREX data



crex2bufr.f :

    CREX to BUFR conversion program.

./crex2bufr -i input_crex -o out_bufr 
