14. Workflow End-to-End (WE2E) Tests

The SRW App contains a set of end-to-end tests that exercise various workflow configurations of the SRW App. These are referred to as workflow end-to-end (WE2E) tests because they all use the Rocoto workflow manager to run their individual workflows from start to finish. The purpose of these tests is to ensure that new changes to the App do not break existing functionality and capabilities.

Note that the WE2E tests are not regression tests—they do not check whether current results are identical to previously established baselines. They also do not test the scientific integrity of the results (e.g., they do not check that values of output fields are reasonable). These tests only check that the tasks within each test’s workflow complete successfully. They are, in essence, tests of the workflow generation, task execution (J-jobs, ex-scripts), and other auxiliary scripts to ensure that these scripts function correctly. Tested functions include creating and correctly arranging and naming directories and files, ensuring that all input files are available and readable, calling executables with correct namelists and/or options, etc. Currently, it is up to the external repositories that the App clones (Section 1.4) to check that changes to those repositories do not change results, or, if they do, to ensure that the new results are acceptable. (At least two of these external repositories—UFS_UTILS and ufs-weather-model—do have such regression tests.)

WE2E tests are grouped into two categories that are of interest to code developers: fundamental and comprehensive tests. “Fundamental” tests are a lightweight but wide-reaching set of tests designed to function as a cheap “smoke test for changes to the UFS SRW App. The fundamental suite of test runs common combinations of workflow tasks, physical domains, input data, physics suites, etc. The comprehensive suite of tests covers a broader range of combinations of capabilities, configurations, and components, ideally including all capabilities that can be run on a given platform. Because some capabilities are not available on all platforms (e.g., retrieving data directly from NOAA HPSS), the suite of comprehensive tests varies from machine to machine. The list of fundamental and comprehensive tests can be viewed in the ufs-srweather-app/tests/WE2E/machine_suites/ directory, and are described in more detail in this table.

Note

There are two additional test suites, coverage (designed for automated testing) and all (includes all tests, including those known to fail). Running these suites is not recommended.

For convenience, the WE2E tests are currently grouped into the following categories (under ufs-srweather-app/tests/WE2E/test_configs/):

  • default_configs

    This category tests example config files provided for user reference. They are symbolically linked from the ufs-srweather-app/ush/ directory.

  • grids_extrn_mdls_suites_community

    This category of tests ensures that the SRW App workflow running in community mode (i.e., with RUN_ENVIR set to "community") completes successfully for various combinations of predefined grids, physics suites, and input data from different external models. Note that in community mode, all output from the Application is placed under a single experiment directory.

  • grids_extrn_mdls_suites_nco

    This category of tests ensures that the workflow running in NCO mode (i.e., with RUN_ENVIR set to "nco") completes successfully for various combinations of predefined grids, physics suites, and input data from different external models. Note that in NCO mode, an operational run environment is used. This involves a specific directory structure and variable names (see Section 11.4).

  • verification

    This category specifically tests the various combinations of verification capabilities using METPlus.

  • release_SRW_v1

    This category was reserved for the official “Graduate Student Test” case for the Version 1 SRW code release.

  • wflow_features

    This category of tests ensures that the workflow completes successfully with particular features/capabilities activated.

Some tests are duplicated among the above categories via symbolic links, both for legacy reasons (when tests for different capabilities were consolidated) and for convenience when a user would like to run all tests for a specific category (e.g. verification tests).

The script to run the WE2E tests is named run_WE2E_tests.py and is located in the directory ufs-srweather-app/tests/WE2E. Each WE2E test has an associated configuration file named config.${test_name}.yaml, where ${test_name} is the name of the corresponding test. These configuration files are subsets of the full range of config.yaml experiment configuration options. (See Chapter 11 for all configurable options and Section 5.3.2.2 for information on configuring config.yaml.) For each test, the run_WE2E_tests.py script reads in the test configuration file and generates from it a complete config.yaml file. It then calls the generate_FV3LAM_wflow() function, which in turn reads in config.yaml and generates a new experiment for the test. The name of each experiment directory is set to that of the corresponding test, and a copy of config.yaml for each test is placed in its experiment directory.

As with any other experiment within the App, the Python modules required for experiment generation must be loaded before run_WE2E_tests.py can be called. See Section 5.3.1 for information on loading the Python environment on supported platforms. Note also that run_WE2E_tests.py assumes that all of the executables have been built (see Section 4.4). If they have not, then run_WE2E_tests.py will still generate the experiment directories, but the workflows will fail.

Note

The full list of WE2E tests is extensive and some larger, high-resolution tests are computationally expensive. Estimates of walltime and core-hour cost for each test are provided in this table.

14.1. Running the WE2E Tests

Users may specify the set of tests to run in one of three ways. First, users can pass the name of a single test or list of tests to the script. Secondly, they can pass an option to run the fundamental or comprehensive suite of tests. Finally, users can create a text file, such as my_tests.txt, which contains a list of the WE2E tests to run (one per line). Any one of these options can be passed to the run_WE2E_tests.py script via the --tests or -t option.

For example, to run the tests custom_ESGgrid and grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16 (from the wflow_features and grids_extrn_mdls_suites_community categories, respectively), users would enter the following commands from the WE2E working directory (ufs-srweather-app/tests/WE2E/):

echo "custom_ESGgrid" > my_tests.txt
echo "grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16" >> my_tests.txt

For each specified test, run_WE2E_tests.py will generate a new experiment directory and, by default, launch a second function monitor_jobs() that will continuously monitor active jobs, submit new jobs, and track the success or failure status of the experiment in a .yaml file. Finally, when all jobs have finished running (successfully or not), the function print_WE2E_summary() will print a summary of the jobs to screen, including the job’s success or failure, timing information, and (if on an appropriately configured platform) the number of core hours used. An example run would look like this:

$ ./run_WE2E_tests.py -t my_tests.txt -m hera -a gsd-fv3 -q
Checking that all tests are valid
Will run 2 tests:
/user/home/ufs-srweather-app/tests/WE2E/test_configs/wflow_features/config.custom_ESGgrid.yaml
/user/home/ufs-srweather-app/tests/WE2E/test_configs/grids_extrn_mdls_suites_community/config.grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16.yaml
Calling workflow generation function for test custom_ESGgrid

Workflow for test custom_ESGgrid successfully generated in
/user/home/expt_dirs/custom_ESGgrid

Calling workflow generation function for test grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16

Workflow for test grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16 successfully generated in
/user/home/expt_dirs/grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16

calling function that monitors jobs, prints summary
Writing information for all experiments to WE2E_tests_20230418174042.yaml
Checking tests available for monitoring...
Starting experiment custom_ESGgrid running
Updating database for experiment custom_ESGgrid
Starting experiment grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16 running
Updating database for experiment grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
Setup complete; monitoring 2 experiments
Use ctrl-c to pause job submission/monitoring
Experiment custom_ESGgrid is COMPLETE
Took 0:19:29.877497; will no longer monitor.
Experiment grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16 is COMPLETE
Took 0:29:38.951777; will no longer monitor.
All 2 experiments finished
Calculating core-hour usage and printing final summary
----------------------------------------------------------------------------------------------------
Experiment name                                                  | Status    | Core hours used
----------------------------------------------------------------------------------------------------
custom_ESGgrid                                                     COMPLETE              18.02
grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16   COMPLETE              15.52
----------------------------------------------------------------------------------------------------
Total                                                              COMPLETE              33.54

Detailed summary written to /user/home/expt_dirs/WE2E_summary_20230418181025.txt

All experiments are complete
Summary of results available in WE2E_tests_20230418174042.yaml

Note

These examples assume that the user has already built the SRW App and loaded the appropriate python environment as described in Section 5.3.1.

As the script runs, detailed debug output is written to the file log.run_WE2E_tests. This can be useful for debugging if something goes wrong. You can also use the -d flag to print all this output to screen during the run, but this can get quite cluttered.

The final job summary is written by the print_WE2E_summary(); this prints a short summary of experiments to screen, and prints a more detailed summary of all jobs for all experiments in the indicated .txt file.

$ cat /user/home/expt_dirs/WE2E_summary_20230418181025.txt
----------------------------------------------------------------------------------------------------
Experiment name                                                  | Status    | Core hours used
----------------------------------------------------------------------------------------------------
custom_ESGgrid                                                     COMPLETE              18.02
grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16   COMPLETE              15.52
----------------------------------------------------------------------------------------------------
Total                                                              COMPLETE              33.54

Detailed summary of each experiment:

----------------------------------------------------------------------------------------------------
Detailed summary of experiment custom_ESGgrid
in directory /user/home/expt_dirs/custom_ESGgrid
                                        | Status    | Walltime   | Core hours used
----------------------------------------------------------------------------------------------------
make_grid_201907010000                    SUCCEEDED          13.0           0.09
get_extrn_ics_201907010000                SUCCEEDED          10.0           0.00
get_extrn_lbcs_201907010000               SUCCEEDED           6.0           0.00
make_orog_201907010000                    SUCCEEDED          65.0           0.43
make_sfc_climo_201907010000               SUCCEEDED          39.0           0.52
make_ics_mem000_201907010000              SUCCEEDED         120.0           1.60
make_lbcs_mem000_201907010000             SUCCEEDED         201.0           2.68
run_fcst_mem000_201907010000              SUCCEEDED         340.0          11.33
run_post_mem000_f000_201907010000         SUCCEEDED          11.0           0.15
run_post_mem000_f001_201907010000         SUCCEEDED          13.0           0.17
run_post_mem000_f002_201907010000         SUCCEEDED          16.0           0.21
run_post_mem000_f003_201907010000         SUCCEEDED          16.0           0.21
run_post_mem000_f004_201907010000         SUCCEEDED          16.0           0.21
run_post_mem000_f005_201907010000         SUCCEEDED          16.0           0.21
run_post_mem000_f006_201907010000         SUCCEEDED          16.0           0.21
----------------------------------------------------------------------------------------------------
Total                                     COMPLETE                         18.02

----------------------------------------------------------------------------------------------------
Detailed summary of experiment grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
in directory /user/home/expt_dirs/grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
                                        | Status    | Walltime   | Core hours used
----------------------------------------------------------------------------------------------------
make_grid_201907010000                    SUCCEEDED           8.0           0.05
get_extrn_ics_201907010000                SUCCEEDED           5.0           0.00
get_extrn_lbcs_201907010000               SUCCEEDED          11.0           0.00
make_orog_201907010000                    SUCCEEDED          49.0           0.33
make_sfc_climo_201907010000               SUCCEEDED          41.0           0.55
make_ics_mem000_201907010000              SUCCEEDED          83.0           1.11
make_lbcs_mem000_201907010000             SUCCEEDED         199.0           2.65
run_fcst_mem000_201907010000              SUCCEEDED         883.0           9.81
run_post_mem000_f000_201907010000         SUCCEEDED          10.0           0.13
run_post_mem000_f001_201907010000         SUCCEEDED          11.0           0.15
run_post_mem000_f002_201907010000         SUCCEEDED          10.0           0.13
run_post_mem000_f003_201907010000         SUCCEEDED          11.0           0.15
run_post_mem000_f004_201907010000         SUCCEEDED          11.0           0.15
run_post_mem000_f005_201907010000         SUCCEEDED          11.0           0.15
run_post_mem000_f006_201907010000         SUCCEEDED          12.0           0.16
----------------------------------------------------------------------------------------------------
Total                                     COMPLETE                         15.52

One might have noticed the line during the experiment run that reads “Use ctrl-c to pause job submission/monitoring”. The monitor_jobs() function (called automatically after all experiments are generated) is designed to be easily paused and re-started if necessary. If you wish to stop actively submitting jobs, simply quitting the script using “ctrl-c” will stop the function, and give a short message on how to continue the experiment.

Setup complete; monitoring 1 experiments
Use ctrl-c to pause job submission/monitoring
^C


User interrupted monitor script; to resume monitoring jobs run:

./monitor_jobs.py -y=WE2E_tests_20230418174042.yaml -p=1

The full list of options for any of these scripts can be found by using the -h flag. The examples below demonstrate several of the more common options for run_WE2E_tests.py.

  1. To run the tests listed in my_tests.txt on Hera and charge the computational resources used to the “rtrr” account:

    ./run_WE2E_tests.py --tests=my_tests.txt --machine=hera --account=rtrr
    

    This will create the experiment subdirectories for the two sample WE2E tests in the directory ${HOMEdir}/../expt_dirs, where HOMEdir is the top-level directory for the ufs-srweather-app repository (usually set to something like /path/to/ufs-srweather-app). Thus, the following two experiment directories will be created:

    ${HOMEdir}/../expt_dirs/custom_ESGgrid
    ${HOMEdir}/../expt_dirs/grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
    

    Once these experiment directories are created, the script will call the monitor_jobs() function. This function runs rocotorun in the background to monitor the status of jobs in each experiment directory, tracking the status of jobs as they run and complete, and submitting new jobs when they are ready. The progress of monitor_jobs() is tracked in a file WE2E_tests_{datetime}.yaml, where {datetime} is the date and time (in yyyymmddhhmmss format) that the file was created.

  2. Our second example will run the fundamental suite of tests on Orion, charging computational resources to the “gsd-fv3” account, and placing the experiment subdirectories in a subdirectory named test_set_01:

    ./run_WE2E_tests.py -t fundamental -m hera -a gsd-fv3 --expt_basedir "test_set_01" -q
    

    In this case, the full paths to the experiment directories will be:

    ${HOMEdir}/../expt_dirs/test_set_01/grid_RRFS_CONUScompact_25km_ics_HRRR_lbcs_RAP_suite_RRFS_v1beta
    ${HOMEdir}/../expt_dirs/test_set_01/nco_grid_RRFS_CONUS_25km_ics_FV3GFS_lbcs_FV3GFS_timeoffset_suite_GFS_v16
    ${HOMEdir}/../expt_dirs/test_set_01/grid_RRFS_CONUS_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v15p2
    ${HOMEdir}/../expt_dirs/test_set_01/grid_RRFS_CONUS_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v17_p8
    ${HOMEdir}/../expt_dirs/test_set_01/grid_RRFS_CONUScompact_25km_ics_HRRR_lbcs_HRRR_suite_HRRR
    ${HOMEdir}/../expt_dirs/test_set_01/grid_SUBCONUS_Ind_3km_ics_HRRR_lbcs_RAP_suite_WoFS_v0
    ${HOMEdir}/../expt_dirs/test_set_01/grid_RRFS_CONUS_25km_ics_NAM_lbcs_NAM_suite_GFS_v16
    

    The --expt_basedir option is useful for grouping various sets of tests. It can also be given a full path as an argument, which will place experiments in the given location.

    The -q flag (as used in the first example shown above), is helpful for keeping the screen less cluttered; this will suppress the output from generate_FV3LAM_wflow(), only printing important messages (warnings and errors) to screen. As always, this output will still be available in the log.run_WE2E_tests file.

  3. By default, the job monitoring and submission process is serial, using a single task. For test suites that contain many experiments, this means that the script may take a long time to return to a given experiment and submit the next job, due to the amount of time it takes for the rocotorun command to complete. In order to speed this process up, provided you have access to a node with the appropriate availability (e.g., submitting from a compute node), you can run the job monitoring processes in parallel using the -p option:

    ./run_WE2E_tests.py -m=jet -a=gsd-fv3-dev -t=all -q -p 6
    

    Depending on your machine settings, this can reduce the time it takes to run all experiments substantially. However, it should be used with caution on shared resources (such as HPC login nodes) due to the potential to overwhelm machine resources.

  4. This example will run the single experiment “custom_ESGgrid” on Hera, charging computational resources to the “fv3lam” account. For this example, we submit the suite of tests using the legacy cron-based system:

Note

This option is not recommended, as it does not work on some machines and can cause system bottlenecks on others.

./run_WE2E_tests.py -t=custom_ESGgrid -m=hera -a=fv3lam --use_cron_to_relaunch --cron_relaunch_intvl_mnts=1

The option --use_cron_to_relaunch means that, rather than calling the monitor_jobs() function, the generate_FV3LAM_wflow() function will create a new cron job in the user’s cron table that will launch the experiment with the workflow launch script (launch_FV3LAM_wflow.sh). By default this script is run every 2 minutes, but we have changed that to 1 minute with the --cron_relaunch_intvl_mnts=1 argument. This script will run until the workflow either completes successfully (i.e., all tasks SUCCEEDED) or fails (i.e., at least one task fails). The cron job is then removed from the user’s cron table.

14.2. Checking test status and summary

By default, ./run_WE2E_tests.py will actively monitor jobs, printing to screen when jobs are complete (either successfully or with a failure), and print a summary file WE2E_summary_{datetime.now().strftime("%Y%m%d%H%M%S")}.txt. However, if the user is using the legacy crontab option, or would like to summarize one or more experiments that are either not complete or were not handled by the WE2E test scripts, this status/summary file can be generated manually using WE2E_summary.py. In this example, an experiment was generated using the crontab option, and has not yet finished running. We use the -e option to point to the experiment directory and get the current status of the experiment:

  ./WE2E_summary.py -e /user/home/PR_466/expt_dirs/
Updating database for experiment grid_RRFS_CONUScompact_25km_ics_HRRR_lbcs_HRRR_suite_RRFS_v1beta
Updating database for experiment grid_RRFS_CONUS_25km_ics_GSMGFS_lbcs_GSMGFS_suite_GFS_v16
Updating database for experiment grid_RRFS_CONUS_3km_ics_FV3GFS_lbcs_FV3GFS_suite_HRRR
Updating database for experiment specify_template_filenames
Updating database for experiment grid_RRFS_CONUScompact_25km_ics_HRRR_lbcs_RAP_suite_HRRR
Updating database for experiment grid_RRFS_CONUScompact_3km_ics_HRRR_lbcs_RAP_suite_RRFS_v1beta
Updating database for experiment grid_RRFS_CONUS_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_2017_gfdlmp_regional
Updating database for experiment grid_SUBCONUS_Ind_3km_ics_HRRR_lbcs_RAP_suite_HRRR
Updating database for experiment grid_RRFS_CONUS_3km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
Updating database for experiment grid_RRFS_SUBCONUS_3km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
Updating database for experiment specify_DOT_OR_USCORE
Updating database for experiment custom_GFDLgrid__GFDLgrid_USE_NUM_CELLS_IN_FILENAMES_eq_FALSE
Updating database for experiment grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
----------------------------------------------------------------------------------------------------
Experiment name                                             | Status    | Core hours used
----------------------------------------------------------------------------------------------------
grid_RRFS_CONUScompact_25km_ics_HRRR_lbcs_HRRR_suite_RRFS_v1  COMPLETE              49.72
grid_RRFS_CONUS_25km_ics_GSMGFS_lbcs_GSMGFS_suite_GFS_v16     DYING                  6.51
grid_RRFS_CONUS_3km_ics_FV3GFS_lbcs_FV3GFS_suite_HRRR         COMPLETE             411.84
specify_template_filenames                                    COMPLETE              17.36
grid_RRFS_CONUScompact_25km_ics_HRRR_lbcs_RAP_suite_HRRR      COMPLETE              16.03
grid_RRFS_CONUScompact_3km_ics_HRRR_lbcs_RAP_suite_RRFS_v1be  COMPLETE             318.55
grid_RRFS_CONUS_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_2017_g  COMPLETE              17.79
grid_SUBCONUS_Ind_3km_ics_HRRR_lbcs_RAP_suite_HRRR            COMPLETE              17.76
grid_RRFS_CONUS_3km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16      RUNNING                0.00
grid_RRFS_SUBCONUS_3km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16   RUNNING                0.00
specify_DOT_OR_USCORE                                         QUEUED                 0.00
custom_GFDLgrid__GFDLgrid_USE_NUM_CELLS_IN_FILENAMES_eq_FALS  QUEUED                 0.00
grid_RRFS_CONUScompact_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS  QUEUED                 0.00
----------------------------------------------------------------------------------------------------
Total                                                         RUNNING              855.56

Detailed summary written to WE2E_summary_20230306173013.txt

As with all python scripts in the App, additional options for this script can be viewed by calling with the -h argument.

14.3. WE2E Test Information File

If the user wants to see consolidated test information, they can generate a file that can be imported into a spreadsheet program (Google Sheets, Microsoft Excel, etc.) that summarizes each test. This file, named WE2E_test_info.txt by default, is delimited by the | character, and can be created either by running the ./print_test_info.py script, or by generating an experiment using ./run_WE2E_tests.py with the --print_test_info flag.

The rows of the file/sheet represent the full set of available tests (not just the ones to be run). The columns contain the following information (column titles are included in the CSV file):

Column 1
The primary test name followed (in parentheses) by the category subdirectory where it is located.
Column 2
Any alternate names for the test followed by their category subdirectories (in parentheses).
Column 3
The test description.
Column 4
The relative cost of running the dynamics in the test. This gives an idea of how expensive the test is relative to a reference test that runs a single 6-hour forecast on the RRFS_CONUS_25km predefined grid using its default time step (DT_ATMOS: 40). To calculate the relative cost, the absolute cost (abs_cost) is first calculated as follows:
abs_cost = nx*ny*num_time_steps*num_fcsts
Here, nx and ny are the number of grid points in the horizontal (x and y) directions, num_time_steps is the number of time steps in one forecast, and num_fcsts is the number of forecasts the test runs (see Column 5 below). [Note that this cost calculation does not (yet) differentiate between different physics suites.] The relative cost rel_cost is then calculated using
rel_cost = abs_cost/abs_cost_ref
where abs_cost_ref is the absolute cost of running the reference forecast described above, i.e., a single (num_fcsts = 1) 6-hour forecast (FCST_LEN_HRS = 6) on the RRFS_CONUS_25km grid (which currently has nx = 219, ny = 131, and DT_ATMOS =  40 sec (so that num_time_steps = FCST_LEN_HRS*3600/DT_ATMOS = 6*3600/40 = 540). Therefore, the absolute cost reference is calculated as:
abs_cost_ref = 219*131*540*1 = 15,492,060
Column 5
The number of times the forecast model will be run by the test. This is calculated using quantities such as the number of cycle dates (i.e., forecast model start dates) and the number of ensemble members (which is greater than 1 if running ensemble forecasts and 1 otherwise). The number of cycle dates and/or ensemble members is derived from the quantities listed in Columns 6, 7, ….
Columns 6, 7, …
The values of various experiment variables (if defined) in each test’s configuration file. Currently, the following experiment variables are included:
PREDEF_GRID_NAME
CCPP_PHYS_SUITE
EXTRN_MDL_NAME_ICS
EXTRN_MDL_NAME_LBCS
DATE_FIRST_CYCL
DATE_LAST_CYCL
INCR_CYCL_FREQ
FCST_LEN_HRS
DT_ATMOS
LBC_SPEC_INTVL_HRS
NUM_ENS_MEMBERS

14.4. Modifying the WE2E System

This section describes various ways in which the WE2E testing system can be modified to suit specific testing needs.

14.4.1. Modifying an Existing Test

To modify an existing test, simply edit the configuration file for that test by changing existing variable values and/or adding new variables to suit the requirements of the modified test. Such a change may also require modifications to the test description in the header of the file.

14.4.2. Adding a New Test

To add a new test named, e.g., new_test01, to one of the existing test categories, such as wflow_features:

  1. Choose an existing test configuration file in any one of the category directories that matches most closely the new test to be added. Copy that file to config.new_test01.yaml and, if necessary, move it to the wflow_features category directory.

  2. Edit the header comments in config.new_test01.yaml so that they properly describe the new test.

  3. Edit the contents of config.new_test01.yaml by modifying existing experiment variable values and/or adding new variables such that the test runs with the intended configuration.