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

Toggle on/off workflow tasks #645

Merged
merged 10 commits into from
Dec 6, 2021

Conversation

gsketefian
Copy link
Collaborator

@gsketefian gsketefian commented Dec 6, 2021

DESCRIPTION OF CHANGES:

  1. Add capability to turn on/off those workflow tasks that currently do not have this capability. These tasks are:
    a. Getting the external model files for creating initial conditions (GET_EXTRN_ICS_TN).
    b. Getting the external model files for creating boundary conditions (GET_EXTRN_LBCS_TN).
    c. Regridding/interpolating data from the external model IC files to obtain IC fields on the native grid (MAKE_ICS_TN).
    d. Regridding/interpolating data from the external model LBC files to obtain LBC fields on the native grid (MAKE_LBCS_TN).
    e. Running the forecast (RUN_FCST).
    Note that any remaining tasks in the workflow already have the capability to be toggled on/off.

  2. Add a WE2E test (named deactivate_tasks) to test the ability to turn off tasks. In this test, all the tasks except MAKE_GRID_TN, MAKE_OROG_TN, and MAKE_SFC_CLIMO_TN are turned off (the latter 3 are not turned off because there is already a separate WE2E for turning those three off).

TESTS CONDUCTED:

Ran the new WE2E test (deactivate_tasks) successfully on Hera.

DOCUMENTATION:

Necessary documentation has been included in config_defaults.sh. Created Issue #646 to also update rst documentation.

…e new experiment variable DEBUG is set to TRUE (as opposed to VERBOSE being set to TRUE).
…nt variable DEBUG is set to TRUE (as opposed to VERBOSE being set to TRUE). Also, for brevity, rename variable file_full_path to file_fp.
…stead of VERBOSE to reduce clutter in output.
…d/or config.sh, i.e. variables whose definitions contain other variables, e.g. MY_CMD="ls \${SOME_DIR}".
…of workflow tasks that don't already have this capability.
…orkflow that don't yet have this capability.
@gsketefian gsketefian changed the title Feature/deactivate tasks Toggle on/off workflow tasks Dec 6, 2021
@gsketefian gsketefian marked this pull request as ready for review December 6, 2021 19:12
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.

2 participants