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

Clean up orography code #987

Open
wants to merge 57 commits into
base: develop
Choose a base branch
from

Conversation

GeorgeGayno-NOAA
Copy link
Collaborator

@GeorgeGayno-NOAA GeorgeGayno-NOAA commented Sep 24, 2024

DESCRIPTION OF CHANGES:

Clean up orography code.

  • Remove unused subroutines and logic.
  • Move utility routines to their own module.
  • Move i/o routines to their own module.
  • Remove dependency on IP and SP libraries
  • Add some unit testing.

TESTS CONDUCTED:

  • Compile branch on all Tier 1 machines using Intel (Orion, Jet, Hera, Hercules and WCOSS2). Done using 2de84bc.
  • Compile branch on Hera using GNU. Done using 2de84bc.
  • Compile branch in 'Debug' mode on WCOSS2. Done using 2de84bc.
  • Run unit tests locally on any Tier 1 machine. Done on Hera using 2de84bc. All tests passed, including the three new orog tests. Tests were done using both Intel and Gnu.
  • Run grid_gen consistency tests locally on all Tier 1 machines (using Intel). Done using 2de84bc on Jet, Hera, Hercules, Orion and WCOSS2. All tests passed.

Additional tests:

  • The branch at 2de84bc was compiled in 'debug' mode (using Intel) on WCOSS2. All grid_gen consistency tests failed, but differences were considered 'round-off'.
  • The branch at 2de84bc was compiled in 'release' mode (using Intel) on Hercules. A global uniform C1152 grid was successfully created.
  • The branch at 2de84bc was compiled in 'debug' mode (using Intel) on Hercules. A global uniform C1152 grid was successfully created.
  • The branch at 2de84bc was compiled in 'release' mode using Gnu on Hera. A global uniform C768 grid was successfully created.

DEPENDENCIES:

None.

DOCUMENTATION:

Doxygen was built (with no warnings) on Hera using 2de84bc.

ISSUE:

Fixes #970.

GeorgeGayno-NOAA and others added 30 commits June 27, 2024 19:53
used anymore. Remove associated logic.

Fixes ufs-community#970.
uneeded routine maxmin. Some general clean up.

Fixes ufs-community#970.
George Gayno and others added 27 commits July 26, 2024 10:14
most utility routines. Create unit test for that routine.

Fixes ufs-community#970.
minmax. Write unit test for this new routine.

Fixes ufs-community#970.
to prevent divide by zero at poles. Add unit testing for
this function.

Fixes ufs-community#970.
Regression tests all passed.

Fixes ufs-community#970.
@GeorgeGayno-NOAA GeorgeGayno-NOAA marked this pull request as ready for review September 24, 2024 19:58
Copy link
Collaborator

@sanatcumar sanatcumar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiled and tested the default (C96.mx100) case on Hera. Works as expected .

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.

More clean up of orog code
2 participants