-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow registry fields with initial_value to not error on not found in…
… input data (#365) Tag name (required for release branches): Originator(s): @jimmielin (with extensive guidance from @peverwhee) Description (include the issue title, and the keyword ['closes', 'fixes', 'resolves'] followed by the issue number): * Fixes #359 Should enable CAM7 / CAM4 regression tests to run again despite no PBL scheme, if `pbuf_pblh` includes `<initial_value>0.0_kind_phys</initial_value>` in registry.xml - separate PR will include this. Describe any changes made to build system: * Adds `vars_init_value` in generation of physics_inputs.F90 to record which variables have an `<initial_value>` set in `registry.xml` Describe any changes made to the namelist: N/A List any changes to the defaults for the input datasets (e.g. boundary datasets): N/A List all files eliminated and why: N/A List all files added and what they do: ``` A test/unit/python/sample_files/write_init_files/phys_vars_init_check_initial_value.F90 A test/unit/python/sample_files/write_init_files/physics_inputs_initial_value.F90 A test/unit/python/sample_files/write_init_files/simple_reg_initial_value.xml - new test sample files for write_init_files ``` List all existing files that have been modified, and describe the changes: (Helpful git command: `git diff --name-status development...<your_branch_name>`) ``` M cime_config/cam_autogen.py M cime_config/cam_build_cache.py M cime_config/cam_config.py M src/data/generate_registry_data.py - pass variables having initial_value element in registry.xml M src/data/write_init_files.py - add error_on_not_found=.false. to variables having initial_value element - or write info message for variables that cannot be read (i.e., no horizontal dimension) M test/unit/python/sample_files/build_cache_files/update_reg_build_cache.xml M test/unit/python/test_build_cache.py M test/unit/python/test_cam_autogen.py M test/unit/python/test_registry.py M test/unit/python/test_write_init_files.py - fix compatibility of existing tests with new vars_init_value argument - add test_simple_initial_value_write_init unit test ``` If there are new failures (compared to the `test/existing-test-failures.txt` file), have them OK'd by the gatekeeper, note them here, and add them to the file. If there are baseline differences, include the test and the reason for the diff. What is the nature of the change? Roundoff? derecho/intel/aux_sima: derecho/gnu/aux_sima: If this changes climate describe any run(s) done to evaluate the new climate in enough detail that it(they) could be reproduced: CAM-SIMA date used for the baseline comparison tests if different than latest:
- Loading branch information
Showing
13 changed files
with
910 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.