- Notifications
You must be signed in to change notification settings - Fork1
ShawnMurdzek-NOAA/prepbufr_decoder
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Shawn Murdzek
CIRES CU Boulder
Embedded in NOAA/OAR/Global Systems Laboratory
shawn.s.murdzek@noaa.gov
This repo contains two fortran programs for decoding prepBUFR files into CSVs and encoding CSVs into prepBUFR files.
Building the prepBUFR decoder and encoder requires the BUFR library. For supported machines, the programs can be compiled using the following (without having to configure the environment ahead of time):
bash build.sh <MACHINE>
The following machines are currently supported:
- HERCULES (spack-stack v1.5.1)
- JET (spack-stack v1.6.0)
- ORION (spack-stack v1.6.0)
To add a new machine, add a BUFR environment configuration file and a python environment configuration file (optional, only needed to run the tests) to theenv directory.
Decoder (goes from prepBUFR file to CSV):
cp <your prepBUFR file> ./bin/prepbufr./prepbufr_decode_csv.xEncoder (goes from CSV to prepBUFR file):
cp <your CSV file> ./bin/prepbufr.csv./prepbufr_encode_csv.xBefore testing, the test data must be downloaded and linked (e.g.,ln -snf) into thetests/data directory. Test data can be found on the MSU machines at/work2/noaa/wrfruc/murdzek/src/bufr_test_data/prepbufr_decoder. To test, run the following:
cd tests/bash run_test.shSee comments inrun_test.sh for test details.
This project is based on scripts found withinGSI-utils.
About
Fortran programs for decoding prepBUFR files to CSVs and encoding CSVs to prepBUFR files.
Resources
Uh oh!
There was an error while loading.Please reload this page.