-
Notifications
You must be signed in to change notification settings - Fork 86
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
Reorganize the WE2E (workflow end-to-end) testing system #531
Reorganize the WE2E (workflow end-to-end) testing system #531
Conversation
…ed "WE2E) so that they can be separate from any other types of tests (e.g. unit tests, regression tests, etc) which may (later) have their own subdirectories under "tests". Move all base configuration files and scripts for running WE2E tests to this new subdirectory.
…irectory (grids_extrn_mdls_suites_community).
…rectory grids_extrn_mdls_suites_community.
…ubdirectory grids_extrn_mdls_suites_community.
…rectory grids_extrn_mdls_suites_community and some others to wflow_features.
…rectory wflow_features.
…ory wflow_features.
…he wflow_features subdirectory.
…ry grids_extrn_mdls_suites_nco.
…nt Test (GST) used in the version 1 release of the SRW app to the release_SRW_v1 subdirectory.
…on file used in version 1 of the UFS SRW app.
…ory grids_extrn_mdls_suites_community.
…irectory to use the same naming convention as other such tests in that subdirectory.
…he grids_extrn_mdls_suites_community subdirectory.
…ory grids_extrn_mdls_suites_community.
…level WE2E directory to the wflow_features subdirectory.
…ories (categories) they're in, and their purpose/descriptions.
…y grids_extrn_mdls_suites_community.
…RRFS_CONUS_25km grid in the category/subdirectory named grids_extrn_mdls_suites_community.
…RRFS_CONUS_13km grid in the category/subdirectory named grids_extrn_mdls_suites_community.
…e_GFS_v15p2: The grid is (wrongly) set to the 13km CONUS grid; change it to the 3km CONUS grid.
…RRFS_CONUS_3km grid in the category/subdirectory named grids_extrn_mdls_suites_community.
…RRFS_SUBCONUS_3km grid in the category/subdirectory named grids_extrn_mdls_suites_community.
…id_CONUS_25km_GFDLgrid_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16 and grid_CONUS_3km_GFDLgrid_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16) in the category/subdirectory named grids_extrn_mdls_suites_community.
…e various Alaska (AK) grids.
…les that use various North America (NA) grids.
…category/subdirectory grids_extrn_mdls_suites_nco.
… for Release 1 of the UFS SRW App.
…to config.specify_DOT_OR_USCORE.sh (to make the name of the test more descriptive).
…directory named wflow_features.
…scriptive of its function.
…nsistent with the other test configuration files.
…me it for consistency with other test configuration files.
…tests only by cycle date and/or frequency of LBC update.
RUN_ENVIR="community" | ||
PREEXISTING_DIR_METHOD="rename" | ||
|
||
PREDEF_GRID_NAME="GSD_HRRR_AK_50km" | ||
QUILTING="TRUE" | ||
|
||
CCPP_PHYS_SUITE="FV3_GSD_SAR" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is quilting removed in these WE2E config files because "TRUE" is the default and/or because this option may be removed from the workflow in the near future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because QUILTING is set to "TRUE" in config_defaults.sh, so it doesn't need to be reset in the config files. No plans to remove QUILTING from the workflow!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, OK, should it also be removed from config.community.sh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose yes, and config.nco.sh as well, but I didn't look at those since they're not part of the WE2E tests. I could, but I'd have to test them. I haven't tested most of these reorganized WE2E tests yet. I was hoping to get feedback as to which ones to test.
...trn_mdls_suites_community/config.grid_RRFS_CONUS_25km_ics_HRRR_lbcs_RAP_suite_RRFS_v1beta.sh
Show resolved
Hide resolved
...trn_mdls_suites_community/config.grid_RRFS_CONUS_25km_ics_HRRR_lbcs_RAP_suite_RRFS_v1beta.sh
Show resolved
Hide resolved
…'s done in other WE2E test configuration files.
…into appropriate category directories.
…'s done in other WE2E test configuration files.
DESCRIPTION OF CHANGES:
This PR reorganizes the WE2E testing system so that it is easier to comprehend, use, and modify. The major changes are as follows:
regional_workflow/tests
directory toregional_workflow/tests/WE2E
. This is because we anticipate other types of test in the testing system, e.g. unit tests, which would go underregional_workflow/tests/unit
, etc.regional_workflow/tests/baseline_configs
to category subdirectories underregional_workflow/tests/WE2E/test_configs
. The category subdirectories thus far and the types of tests they contain are:grids_extrn_mdls_suites_community
Tests in community mode of various combinations of the grid, external models for ICs and LBCs, and physics suites.
grids_extrn_mdls_suites_nco
Tests in NCO mode of various combinations of the grid, external models for ICs and LBCs, and physics suites.
release_SRW_v1
The graduate student test (GST) used for the UFS SRW App version 1 release.
wflow_features
Test of workflow features, e.g. ability to set various parameters to user-specified values instead of using the defaults, ability to fetch external model files from different models and on different dates from NOAA-HPSS, etc.
QUILTING="TRUE"
sinceQUILTING
is already set to"TRUE"
by default, removeGRID_GEN_METHOD="ESGgrid"
since a predefined grid is already specified that in turn implies a value forGRID_GEN_METHOD
.RRFS_CONUS_3km
grid was actually running on theRRFS_CONUS_13km
grid.baselines_list.txt
since it it not used.get_WE2Etest_names_subdirs_descs.sh
that:regional_workflow/tests/WE2E/test_configs
) and returns a list of all available test names, the category subdirectories under the base directory in which they are located, the unique test IDs, and the test descriptions.run_experiments.sh
torun_WE2E_tests.sh
.run_WE2E_tests.sh
:get_WE2Etest_names_subdirs_descs
to get a full list of all available tests. Then check the list of test names that the user wants to run to make sure all exist in the full list.ush/bash_utils/filesys_cmds_vrfy.sh
, put thelocal
attribute in front of variables that are supposed to be local.ush/bash_utils/is_element_of.sh
, add the:-
at the end ofarray_name_at
so that the function still works when the array passed in is empty.ush/config_defaults.sh
, edit comments and move groups of variables to more appropriate location in file.TESTS CONDUCTED:
On Hera, ran the following tests so far:
All were successful. Since it is expensive to run all the new WE2E tests, the remainder will be tested gradually and the results recorded in a google spreadsheet (for now; this will have to be automated at some point).
DEPENDENCIES:
There will likely be a companion PR into
ufs-weather-app
that updates the hash ofregional_workflow
, but that can only be created after this PR is merged.DOCUMENTATION:
Detailed documentation for how the new WE2E testing system works is in the comments in the files
run_WE2E_tests.sh
andget_WE2Etest_names_subdirs_descs.sh
. Transferring these to RST files will take time and is likely better to do as part of a separate PR.