-
Notifications
You must be signed in to change notification settings - Fork 157
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
Fix dumpfields=true option by using ESMF_FieldBundleWrite #856
Conversation
When I run one of the coupled regression tests (cpld_control_p8_intel) with
but model continues to execute. I see only |
@DusanJovic-NOAA would you like to include the one line change in PR#857? That PR should have no impact on RT. Thanks |
Sure, I can merge changes from #857. |
@DusanJovic-NOAA I'd like to add the fix the scalar_id=0 issue (#838). It also adds a check to enforce the setting of the NTile scalar index. I made a draft PR to your FV3 branch here. |
I just synced my branch with develop, can you sync your branch. Thanks. |
I should be up to date w/ develop. |
* fix issues w/ cplscalars * error out of all 3 spatial indices are not present * add check for scalar_id = 0
@DusanJovic-NOAA I've tested the dumpfields and it is working, but I've made a PR to your branch for a couple of changes. First, to add a timeslice, so that files can be ncrcat'td into a timeseries. Also, in the other components, we generally retrieve the The second change is to write the filenames w/ either an import time or export time string. This makes comparing w/ the mediator history files easier. I've checked that using the FV3 dump fields capability does match the mediator history files (matching cmeps 'import from atm' == fv3 'export from cap'). |
* use import and export time strings * add timeslice
Thanks for fixing this @DusanJovic-NOAA. It has been not working for over a year! |
Testing on #2355 has completed, please continue with the merge process here. Thank you. |
Description
This PR fixes
dumpfields=true
option which can be used to write all coupling fields (from import and export states) by using updated version of ESMF'sESMF_FieldBundleWrite
function instead of oldESMFIO_Write
.Fixes ufs-community/ufs-weather-model#1765
Is a change of answers expected from this PR? No.
Issue(s) addressed
Link the issues to be closed with this PR, whether in this repository, or in another repository.
(Remember, issues should always be created before starting work on a PR branch!)
Testing
How were these changes tested?
What compilers / HPCs was it tested with?
Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)
Have the ufs-weather-model regression test been run? On what platform?
Dependencies
N/A