Skip to content

refactor nems esmFldsExchange#99

Merged
DeniseWorthen merged 504 commits into
NOAA-EMC:emc/developfrom
DeniseWorthen:feature/refactor_nemsFldsX
Oct 5, 2023
Merged

refactor nems esmFldsExchange#99
DeniseWorthen merged 504 commits into
NOAA-EMC:emc/developfrom
DeniseWorthen:feature/refactor_nemsFldsX

Conversation

@DeniseWorthen
Copy link
Copy Markdown
Collaborator

@DeniseWorthen DeniseWorthen commented Sep 9, 2023

Description of changes

Simplifies the field exchanges defined for the UFS. Nearly all coupling_mode specific blocks were removed within the fields exchange, as well as in a few locations in the generic CMEPS code. A single logical med_aoflux_to_ocn was introduced in the fields exchange which allowed the collapse of most logical if-else blocks. This is still not ideal, but isolates all changes to CMEPS and requires no changes in other components.

Unnecessary trims on field names were also removed and comments were modified for consistency and simplification.

add werror to extbuild
### Description of changes
Add werror to github testing - no gfortran warnings allowed.

### Specific notes

Contributors other than yourself, if any:

CMEPS Issues Fixed (include github issue #):

Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial) 
BFB
Any User Interface Changes (namelist or namelist defaults changes)? NO

### Testing performed

Testing performed if application target is CESM:
- [ ] (recommended) CIME_DRIVER=nuopc scripts_regression_tests.py
   - machines:
   - details (e.g. failed tests):
- [ ] (recommended) CESM testlist_drv.xml
   - machines and compilers:
   - details (e.g. failed tests):
- [X] (optional) CESM prealpha test
   - machines and compilers   cheyenne, intel, gnu, github testing.
   - details (e.g. failed tests):
- [ ] (other) please described in detail
   - machines and compilers
   - details (e.g. failed tests):

Testing performed if application target is UFS-coupled:
- [ ] (recommended) UFS-coupled testing
   - description:
   - details (e.g. failed tests):

Testing performed if application target is UFS-HAFS:
- [ ] (recommended) UFS-HAFS testing
   - description:
   - details (e.g. failed tests):

### Hashes used for testing:

- [X] CESM:
  - repository to check out: https://github.com/ESCOMP/CESM.git
  - branch/hash: cesm2_3_beta11
- [ ] UFS-coupled, then umbrella repostiory to check out and associated hash:
  - repository to check out:
  - branch/hash:
- [ ] UFS-HAFS, then umbrella repostiory to check out and associated hash:
  - repository to check out:
  - branch/hash:
Copy link
Copy Markdown
Collaborator

@uturuncoglu uturuncoglu left a comment

Choose a reason for hiding this comment

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

@DeniseWorthen It looks good to me. Thanks for cleaning those if statements. I hope we could get rid of all of those in the future.

@zach1221
Copy link
Copy Markdown

zach1221 commented Oct 5, 2023

@DeniseWorthen testing is finished on ufs-wm #1894, please feel free to merge this sub-component PR when you're able.

@DeniseWorthen DeniseWorthen merged commit a5dea5f into NOAA-EMC:emc/develop Oct 5, 2023
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.

Refactor Fields exchange module for UFS