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

Develop cleanup #4

Closed
wants to merge 11 commits into from
Closed

Develop cleanup #4

wants to merge 11 commits into from

Conversation

natalie-perlin
Copy link
Owner

--- Delete this line and those above before hitting "Create pull request" ---

DESCRIPTION OF CHANGES:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

TESTS CONDUCTED:

  • hera.intel
  • orion.intel
  • cheyenne.intel
  • cheyenne.gnu
  • gaea.intel
  • jet.intel
  • wcoss2.intel
  • NOAA Cloud (indicate which platform)
  • Jenkins
  • fundamental test suite
  • comprehensive tests (specify which if a subset was used)

DEPENDENCIES:

DOCUMENTATION:

ISSUE:

CHECKLIST

  • My code follows the style guidelines in the Contributor's Guide
  • I have performed a self-review of my own code using the Code Reviewer's Guide
  • I have commented my code, particularly in hard-to-understand areas
  • My changes need updates to the documentation. I have made corresponding changes to the documentation
  • My changes do not require updates to the documentation (explain).
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • Any dependent changes have been merged and published

LABELS (optional):

A Code Manager needs to add the following labels to this PR:

  • Work In Progress
  • bug
  • enhancement
  • documentation
  • release
  • high priority
  • run_ci
  • run_we2e_fundamental_tests
  • run_we2e_comprehensive_tests
  • Needs Cheyenne test
  • Needs Jet test
  • Needs Hera test
  • Needs Orion test
  • help wanted

CONTRIBUTORS (optional):

danielabdi-noaa and others added 11 commits October 13, 2022 13:00
…munity#404)

* Remove ENV_INIT_SCRIPT/init_env and source /etc/profile in lmod-setup.

* Move TOPO_DIR and SFC_CLIMO_INPUT_DIR to appropriate sections.

* Bug fix for orion and wcoss2 machine files.

* Remove ENV_INIT from wcoss2 machine file.

* Modify setting of +u/-u.

* Do the same for set +e/-e

* Minor modification.

* Hack for gaea python3 loading.
…nce again. (ufs-community#417)

* Update modulefiles/build_hera_intel and modulefiles/srw_common to allow the SRW to build and run on Hera following update to HPC-stack.

* Update modulefiles/build_jet_intel and modulefiles/build_orion_intel so that NetCDF will be loaded before nccmp.
…y#411)

* Deprecating CYCL_HRS

Changes were made to all config files and scripts to use FIRST and LAST
cycle definitions to accept the cycle HH, and frequency will start from
those for all relevant computation.

* Updating docs to remove ref to CYCL_HRS

* Remove CYCL_HRS from workflow.

* Add option to run all tests.

* Fixes needed to run WE2E tests.

* Fix the failed test.

* Make specification of groups of test more flexible.

* Addressing Mike's review comments.

* Addressing Gerard's comments.
…ufs-community#412)

* Only run tests on specific branches.

* Removing deprecated build.yml
…y#413)

* Convert modulefiles to Lua.

* Fix for orion build.

* Fix for cheyenne, but issue with load_any remains.

* Bug fix for jet data locations.

* Hack for Cheyenne: Emulate load_any with try_load + isloaded combo

* Fix NCO mode non-ensemble run dependency issue.

* Wcoss2 bug fix thanks to @chan-hoo

* Remove conda activation message from wcoss2 modulefile.
…ow.py (ufs-community#414)

The error messaging in the generate_FV3LAM_wflow.py has been overhauled to be more pythonic and more user-friendly. The old bash-like print_err_msg_exit() calls are replaced with proper exception handling, and print_info_msg() calls are replaced with the use of Python's built-in logging module. The latter has the added benefit of giving the same "tee"-like functionality--where messages are printed to screen and written to a log file simultaneously--without the need for messy subprocesses and the confusing error messages that come with them.

Errors are now handled in a consistent way, with the errors clearly highlighted both on screen and in the log file, as well as an easy-to-follow exception traceback for those wanting that information. In addition, several error conditions that were previously not caught at the generate step now cause the script to fail with helpful error messages.

From the user perspective, functionality will not change, aside from differences when error conditions are present. Successful runs will remain the same, except that some log messaging has been clarified, and the log file contains additional information for each message, as well as some indentation changes for ease of reading.
Restore correct `conda activate` message for Cheyenne
…fs-community#430)

* Remove old, deprecated "update_fork.pl" script

* Move contents of test/ to tests/ to consolidate testing directories

* Update tests/README.md for new path

* Fixed one more new script location

* Changes for CI tests from Daniel
…-community#421)

* Move fixed-file mapping variables out of config_defaults.
Also, move other variables that are unlikely/never changed by user.

* Minor bug fix.

* Use python script to check python version and packages.

* Minor fixes.

* Format python files with black.

* Add pipefail in strict error checking mode.

* Remove debugging comments from UFS_plot

* More formatting changes.

* Removed unused python utilities.
@natalie-perlin natalie-perlin deleted the develop_cleanup branch November 11, 2022 20:35
natalie-perlin pushed a commit that referenced this pull request Jan 23, 2024
Bring in changes from release/public-v2.2.0 to allow running on Gaea C5
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.

5 participants