-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add Wave slow loop coupling and Field Exchanges for waves in nems #266
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
233a89b
add fix for file writing when dststatus_print=true
DeniseWorthen c26a1b6
Merge remote-tracking branch 'escomp/master' into feature/updcmeps
DeniseWorthen aae1fe9
Merge remote-tracking branch 'escomp/master' into feature/updcmeps
DeniseWorthen a0011cb
Merge remote-tracking branch 'MV/feature/cism_bugfixes' into feature/…
DeniseWorthen 843a1f1
add u10m,v10m from atm->wav
DeniseWorthen f0fa04c
add wave->atm field
DeniseWorthen 5beead0
Update CMEPS (#58)
DeniseWorthen be3b1bb
Merge branch 'NOAA-EMC:emc/develop' into feature/wavcoupling
DeniseWorthen 16364c2
add more wav coupling fields
DeniseWorthen fff8fbc
change mapping for z0
DeniseWorthen 8be8da0
add -> wav in post atm and post ocn
DeniseWorthen 8ec7328
add unity norm for wave
DeniseWorthen 6b59926
current tested changes for wave coupling
DeniseWorthen 7a44b63
fix merge of stokes to ocn
DeniseWorthen 8b117b4
Update CMEPS (#60)
DeniseWorthen cd2ae27
Merge branch 'NOAA-EMC:emc/develop' into feature/wavcoupling
DeniseWorthen b873989
change Sw_zo to Sw_z0 for hafs
DeniseWorthen 5fb8561
switch src/dst masks for wave
DeniseWorthen 84a17b7
tidy up, remove commented out code blocks
DeniseWorthen 94ead4a
initial commit for waves in slow loop
DeniseWorthen 1a27645
compile fixes
DeniseWorthen 5cfe6c2
add retrieval of wav accum values on restart
DeniseWorthen 5640b6b
Merge remote-tracking branch 'escomp/master' into feature/wavslowbs1
DeniseWorthen 907a966
remove extra ice->atm mapping in post ice
DeniseWorthen e442504
fix compile errors
DeniseWorthen dcf29bf
Merge remote-tracking branch 'escomp/master' into feature/wavslowbs1
DeniseWorthen 40be8c3
simplify src/dst masking for nems
DeniseWorthen 963557d
fix nx,ny for compwav for writing accumWav
DeniseWorthen 6066d50
insert conditional for waves in nems
DeniseWorthen 3c5d32d
fixes for cesm run sequence
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, we were also using these type conditionals in the HAFS specific field exchange file. I think it would be nice to unify those files to single one in the future. I think the conditional could also include the name of the component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the use in hafs is not quite the same. For both hafs and cesm, there are two calls to the fldsExchange, one for advertise and one for initialize. The conditionals I see in the hafs and cesm fldExchanges are related to that---in both cases at the initialize call you're doing the addmap,addmerge only if the field is in the expFB and also present in the impFB. I do think it would be nice to have a cleaner way of doing all that checking though.
But for the nems modes, esmFieldsExchange_nems is only called once (for phase=advertise) and the addmap and addmerge are done then. There is no checking for whether the fields are present or not. I did consider this as an issue, and refactored the esmfFieldsExchange_nems to do both an advertise and an initialize phase like for hafs and cesm. But I still had the same issue---with waves going through the connectors, having the mediator also trying to advertise those same fields (even if they're not connected) broke reproducibility. So this conditional completely removes the advertisement of fields if the mediator is not in use for the waves.