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
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions src/swell/suites/convert_bufr/flow.cylc
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# (C) Copyright 2021- United States Government as represented by the Administrator of the
# National Aeronautics and Space Administration. All Rights Reserved.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.

# --------------------------------------------------------------------------------------------------

# Cylc suite for executing geos_atmosphere ObsFilters tests

# --------------------------------------------------------------------------------------------------

[scheduler]
UTC mode = True
allow implicit tasks = False

# --------------------------------------------------------------------------------------------------

[scheduling]

initial cycle point = {{start_cycle_point}}
final cycle point = {{final_cycle_point}}
runahead limit = {{runahead_limit}}

[[graph]]
R1 = """
# Triggers for non cycle time dependent tasks
# -------------------------------------------
# Clone JEDI source code
CloneJedi

# Build JEDI source code by linking
CloneJedi => BuildJediByLinking?

# If not able to link to build create the build
BuildJediByLinking:fail? => BuildJedi
"""

{% for cycle_time in cycle_times %}
{{cycle_time.cycle_time}} = """

# Convert BUFR to ioda
GetBufr
GetBufr => BufrToIoda
BuildJediByLinking[^]? | BuildJedi[^] => BufrToIoda

# Clean up
BufrToIoda => CleanCycle
"""
{% endfor %}

# --------------------------------------------------------------------------------------------------

[runtime]

# Task defaults
# -------------
[[root]]
pre-script = "source $CYLC_SUITE_DEF_PATH/modules"

[[[environment]]]
datetime = $CYLC_TASK_CYCLE_POINT
config = $CYLC_SUITE_DEF_PATH/experiment.yaml

# Tasks
# -----
[[CloneJedi]]
script = "swell task CloneJedi $config"

[[BuildJediByLinking]]
script = "swell task BuildJediByLinking $config"

[[BuildJedi]]
script = "swell task BuildJedi $config"
platform = {{platform}}
execution time limit = {{scheduling["BuildJedi"]["execution_time_limit"]}}
[[[directives]]]
{%- for key, value in scheduling["BuildJedi"]["directives"]["all"].items() %}
--{{key}} = {{value}}
{%- endfor %}

[[ GetBufr ]]
script = "swell task GetBufr $config -d $datetime -m geos_atmosphere"

[[ BufrToIoda ]]
script = "swell task BufrToIoda $config -d $datetime -m geos_atmosphere"

[[CleanCycle]]
script = "swell task CleanCycle $config -d $datetime -m geos_atmosphere"

# --------------------------------------------------------------------------------------------------
Loading
Loading