Colons can be used to align columns.
| Dependencies | ||
|---|---|---|
| JEDI | ||
| IODACONV | ||
| bufr2ioda.x | ||
| yaml_template |
NASA/GMAO. Tools for working with data files in both BUFR and IODA (JEDI) format.
Suggest that you first locate the following and copy their respective paths to a txt file or anywhere you can easily access it for copy and paste later on:
- The script you use to load JEDI and/or Swell if you have one. If you don't have one disregard this - you will create one during the installation process.
- Paths to the files you wish to convert - you will need this for copying the data files into the
OBI/Demo/data/folder. - Path to your
jedi_bundle/build/bin- if you have aSwell Experimentsfolder you may be able to use the path `{Swell Experiments}/
In order to run the Ioda Converter, bufr2ioda.x, you will need
- Clone the gmao-utils repo.
$ git clone https://github.com/cohen-seth/gmao-utils.git- Next, open and edit config file:
$
$- Make a new working directory
- Load Jedi - either directly or through Swell
- Find your
jedi_bundle/builddirectory - Add
jedi_bundle/build/bin/bufr2ioda.xto your PATH - Copy the corresponding yaml files for the observation type that you want to convert from
jedi_bundle/build/iodaconv/test/testinputinto your working directory - Within the yaml file you copied in step 5, you will need to change the
obsdatainpath to the path to the bufr file you want to conver andobsdataoutto the desired path and name of the resulting ioda file. - To run the conversion run
bufr2ioda.x [path of the yaml file you just made]
bufr2ioda.x
$ bufr2ioda.x [PATH OF YAML TEMPLATE]bufr2ioda_offline_driver.py
$ python3 bufr2ioda_offline_driver.py [PATH TO BUFR FILE(S)] [PATH OF IODA FILE(S)] [PATH OF YAML TEMPLATE]- OPTIONAL Then, you may want to inspect and verify LoadJedi.sh. You should NOT need to edit this file; HOWEVER, you may need to in the future if there is a more recent build of JEDI/IODA. The everything in this file must point to a current build of the JEDI IODA CONVERTERS.