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

Reintroduces the option to flush_nc_files with fms2_io #826

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

uramirez8707
Copy link
Contributor

@uramirez8707 uramirez8707 commented Sep 23, 2021

Description
Reintroduces the option to flush_nc_files with fms2_io

This works the same way it did in 2019.01.03 but with fms2_io. If flush_nc_files is .true., it will call diag_output:diag_flush which will call fms2_io:flush_file which will call nf90_sync
Fixes #819

How Has This Been Tested?
Passes a unit test that I created.
Ran c96L33_am4p0_cmip6Diag with intel18, prod-openmp on gaea and everything still works.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

@rem1776 rem1776 merged commit c057b75 into NOAA-GFDL:main Oct 7, 2021
@uramirez8707 uramirez8707 deleted the 819_flush_nc_files branch January 25, 2022 16:09
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.

Reintroduce option to flush_nc_files
5 participants