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

Write restart files using the write grid component #629

Merged
merged 26 commits into from
Mar 28, 2023

Conversation

DusanJovic-NOAA
Copy link
Collaborator

Description

This PR adds support for writing restart files using the write grid component.

For each restart file an esmf field bundle is created and populated with esmf fields, which use native Fortran pointers that point to buffers into which all data required are copied from both physics and dynamics internal states.

This is enabled by setting new logical parameter in 'model_configure', named restart_quilting to .true.

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? Regression test on Hera and Orion.
What compilers / HPCs was it tested with? Intel
Are the changes covered by regression tests? Yes.
Have the ufs-weather-model regression test been run? Yes. On what platform? Hera and Orion

  • Will the code updates change regression test baseline? No.
  • Please commit the regression test log files in your ufs-weather-model branch

Dependencies

If testing this branch requires non-default branches in other repositories, list them.
Those branches should have matching names (ideally)

Do PRs in upstream repositories need to be merged first?
If so add the "waiting for other repos" label and list the upstream PRs

atmos_model.F90 Outdated Show resolved Hide resolved
fv3_cap.F90 Outdated Show resolved Hide resolved
fv3_cap.F90 Outdated Show resolved Hide resolved
 * Remove unused operator (==) and date_to_string from atmos_model.F90
 * Delete unnecessary debug prints
@jkbk2004
Copy link
Collaborator

@DusanJovic-NOAA cubed sphere pr was merged. can you update submodule pointer and revert change in gitmodules?

@jkbk2004 jkbk2004 self-requested a review March 28, 2023 14:22
@BrianCurtis-NOAA BrianCurtis-NOAA merged commit bcd12a4 into NOAA-EMC:develop Mar 28, 2023
@DusanJovic-NOAA DusanJovic-NOAA deleted the quilting_restart branch August 31, 2023 20:47
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.

Add writing restart capability on fv3atm write grid component for global and regional apps
4 participants