NOAA-EMC / CMEPS

NUOPC Community Mediator for Earth Prediction Systems
https://escomp.github.io/CMEPS/
0 stars 18 forks source link

refactor nems esmFldsExchange #99

Closed DeniseWorthen closed 10 months ago

DeniseWorthen commented 11 months ago

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.

zach1221 commented 10 months ago

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