Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fortran programs for decoding prepBUFR files to CSVs and encoding CSVs to prepBUFR files.

NotificationsYou must be signed in to change notification settings

ShawnMurdzek-NOAA/prepbufr_decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shawn Murdzek
CIRES CU Boulder
Embedded in NOAA/OAR/Global Systems Laboratory
shawn.s.murdzek@noaa.gov

Decription

This repo contains two fortran programs for decoding prepBUFR files into CSVs and encoding CSVs into prepBUFR files.

Building

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.

Running

Decoder (goes from prepBUFR file to CSV):

cp <your prepBUFR file> ./bin/prepbufr./prepbufr_decode_csv.x

Encoder (goes from CSV to prepBUFR file):

cp <your CSV file> ./bin/prepbufr.csv./prepbufr_encode_csv.x

Testing

Before 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.sh

See comments inrun_test.sh for test details.

History

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp