Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding feature: iodaconverters for bufr files. #496

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

cohen-seth
Copy link
Collaborator

Description

This PR adds the base suite and tasks for integrating the IODA converter 'bufr2ioda.x' within the swell workflow. This is only for BUFR files specifically.

This PR addresses the issues link below:

I used existing files for ncdiag as templates for the flow.cylc and get_bufr.py files.

Purpose of scripts:

(1) src/swell/tasks/bufr_to_ioda.py: Executes the conversion using both get_bufr.py and get_bufr_iodaconv_yaml.py

(2) src/swell/tasks/get_bufr.py : Locates the bufr files and creates links in the swell experiments run folder(s).

(3) src/swell/tasks/get_bufr_iodaconv_yaml.py : The ioda converter (bufr2ioda.x) requires a yaml file within which is the data input path, the data output path and information about variables which are specific to observation type (i.e. AMSUA vs GPSRO vs ...) - bufr2ioda.x converts ONE file at a time so get_bufr_iodaconv_yaml.py enables the process of locating the input bufr file, identifying the observation type, specifying the output path, and generating the yaml file based on the observation type. The current method uses template yaml files from the iodaconv/test/testinput/ folder; these files are generated by swell when it builds JEDI so the relative paths for them should stay consistent.

(4) src/swell/suites/convert_bufr/flow.cylc : the suite for all the above

Dependencies

  1. IODA Converters (JEDI) must be included in the jedi build
  2. The yaml files from the iodaconv/test/testinput/ folder must be included in the jedi build

@Dooruk Dooruk marked this pull request as draft January 31, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant