Skip to content

Write restart files using the write grid component#629

Merged
BrianCurtis-NOAA merged 26 commits into
NOAA-EMC:developfrom
DusanJovic-NOAA:quilting_restart
Mar 28, 2023
Merged

Write restart files using the write grid component#629
BrianCurtis-NOAA merged 26 commits into
NOAA-EMC:developfrom
DusanJovic-NOAA:quilting_restart

Conversation

@DusanJovic-NOAA
Copy link
Copy Markdown
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

Comment thread io/module_write_netcdf.F90 Outdated
Comment thread atmos_model.F90 Outdated
Comment thread fv3_cap.F90
Comment thread fv3_cap.F90 Outdated
Comment thread fv3_cap.F90 Outdated
Comment thread io/module_write_netcdf.F90
Comment thread io/module_write_netcdf.F90 Outdated
Comment thread io/module_write_restart_netcdf.F90 Outdated
Comment thread io/module_write_restart_netcdf.F90 Outdated
 * Remove unused operator (==) and date_to_string from atmos_model.F90
 * Delete unnecessary debug prints
Comment thread io/module_write_restart_netcdf.F90 Outdated
Comment thread io/module_write_restart_netcdf.F90 Outdated
Comment thread io/module_write_restart_netcdf.F90 Outdated
Comment thread io/module_write_restart_netcdf.F90 Outdated
Comment thread io/module_write_restart_netcdf.F90 Outdated
Comment thread io/module_wrt_grid_comp.F90
Comment thread io/module_wrt_grid_comp.F90
Comment thread module_fcst_grid_comp.F90
@jkbk2004 jkbk2004 requested a review from junwang-noaa March 16, 2023 12:36
@jkbk2004
Copy link
Copy Markdown
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
Comment thread io/FV3GFS_restart_io.F90
@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