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

modern_diag: add the write_data calls #1320

Merged
merged 2 commits into from
Aug 11, 2023

Conversation

uramirez8707
Copy link
Contributor

Description
Adds the write_data calls for the modern diag_manager.
There are separate subroutines for each of the fms2_io fileobjs because otherwise the write_data calls will go into the wrong interface

Fixes # (issue)

How Has This Been Tested?
CI

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

diag_manager/fms_diag_file_object.F90 Outdated Show resolved Hide resolved
diag_manager/fms_diag_file_object.F90 Show resolved Hide resolved
diag_manager/fms_diag_file_object.F90 Outdated Show resolved Hide resolved
call buffer_obj(diag_file%buffer_ids(i))%write_buffer(fileobj)
enddo
else
do i = 1, diag_file%number_of_buffers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be done in parallel?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can do io in parallel, yet(?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually a great response lol

diag_manager/fms_diag_file_object.F90 Show resolved Hide resolved
diag_manager/fms_diag_output_buffer.F90 Outdated Show resolved Hide resolved
diag_manager/fms_diag_output_buffer.F90 Show resolved Hide resolved
diag_manager/fms_diag_output_buffer.F90 Show resolved Hide resolved
diag_manager/fms_diag_output_buffer.F90 Show resolved Hide resolved
diag_manager/fms_diag_output_buffer.F90 Show resolved Hide resolved
@uramirez8707
Copy link
Contributor Author

@thomas-robinson I think everything is fixed in e6b86a4

@thomas-robinson thomas-robinson merged commit 8458bfd into NOAA-GFDL:dmUpdate Aug 11, 2023
17 of 18 checks passed
@uramirez8707 uramirez8707 deleted the add_write_calls branch August 24, 2023 18:43
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
* add the write_data calls

* fix the test_flexible_time after the update
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
* add the write_data calls

* fix the test_flexible_time after the update
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
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.

3 participants