This page provides both DTC created BUFR/PrepBUFR examples and user contributed BUFR/PrepBUFR examples.
BUFR/PrepBUFR examples from DTC
Basic
Examples to show basic skills of processing (encode, decode, append) a simple BUFR file
encode_temperature.f90 | Write one temperature observation into a BUFR file. The BUFR table used by this code can be found here |
decode_temperature.f90 | Read one temperature observation out from the BUFR file. |
bufr_encode_sample.f90 | Write one temperature observation with time and location information into a BUFR file. |
bufr_decode_sample.f90 | Read one temperature observation with time and location out from the BUFR file. |
bufr_append_sample.f90 | Append one temperature observation with time and location into an existing BUFR file. |
bufr_merge2.f90 | Merge two BUFR/PrepBFUR files into one file. Two files must have the same BUFR table. |
Conventional observations
Examples to to encode, decode, append the PrepBUFR files.
prepbufr_encode_surface.f90 | Write a surface observation into a new PrepBUFR file. |
prepbufr_encode_upperair.f90 | Write a upper air observation into a new PrepBUFR file. |
prepbufr_decode_all.f90 | Read all observations out from a PrepBUFR file. Also, read BUFR table out from the PrepBUFR file. |
prepbufr_encode_selected_obs.f90 | Contribution from Ruifang Li (NCAR/MMM): Read all observations out from a PrepBUFR file. Also, read BUFR table out from the PrepBUFR file. Write the selected obs to the new file |
prepbufr_append_surface.f90 | Append a surface observation into an existing PrepBUFR file. |
prepbufr_append_upperair.f90 | Append a upper air observation into an existing PrepBUFR file. |
prepbufr_append_retrieve.f90 | Append a retrieved data into an existing PrepBUFR file. |
prepbufr_inventory.f90 | Inventory the content of a PrepBUFR file. |
Radiance
Examples to process the radiance BUFR files
bufr_decode_radiance.f90 |
Read TOVS 1b radiance (brightness temperature) from radiance BUFR files. Also, read BUFR table out from the file. |
bufr_encode_amsua.f90 | Contribution from Ruifang Li (NCAR/MMM): Encode AMSUA TMBR(brightness temperature) to bufr file. |
bufr_encode_amsub.f90 | Contribution from Ruifang Li (NCAR/MMM): Encode AMSUB TMBR(brightness temperature) to bufr file. |
GSI BUFR Interface
Examples to show how GSI ingest the BUFR files
read_prepbufr.f90 | code to read in conventional observations from PrepBUFR file. |
read_gps.f90 | code to read in GPS observations from the BUFR file. |
read_bufrtovs.f90 | code to read in TOVS 1b radiance (brightness temperature) from the BUFR file. |
read_airs.f90 | code to read in AIRS radiance from the BUFR file. |
Users can download all the above examples from: all examples.
BUFR/PrepBUFR examples from Users
User contributed examples
read_airs_append_prepbufr.f90 |
|