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

change all fms2 fileobj instances to fms2io_fileobj #1327

Closed
wants to merge 10 commits into from

Conversation

mcallic2
Copy link
Contributor

@mcallic2 mcallic2 commented Aug 10, 2023

Description
The changes in this pr include changing all instances of the FmsNetcdfFile_t types named fileobj to fms2io_fileobj

Fixes # (issue)

How Has This Been Tested?
autotools with gcc/13.1.0 , netcdf/4.9.2, mpich/4.1.2 , hdf5/1.14.1-2 , libyaml/0.2.5

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

@mcallic2 mcallic2 marked this pull request as draft August 10, 2023 21:12
@mcallic2 mcallic2 marked this pull request as ready for review August 14, 2023 18:39
Comment on lines +1109 to +1110
class(FmsNetcdfFile_t), INTENT(INOUT) :: fms2io_fileobj !< Fms2_io fileobj to write to
character(len=*), INTENT(IN) :: varname !< Name of the variable
Copy link
Member

Choose a reason for hiding this comment

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

I don't think you should add these spaces to line up the comments because then YOU become the owner of those lines. I think you can remove the spaces between fms2io_fileobj and !< instead to make the comments line up.

@@ -742,7 +744,8 @@ subroutine fill_subaxis(this, starting_index, ending_index, axis_id, parent_id,
integer , intent(in) :: starting_index !< Starting index of the subRegion for the PE
integer , intent(in) :: ending_index !< Ending index of the subRegion for the PE
integer , intent(in) :: axis_id !< Axis id to assign to the subaxis
integer , intent(in) :: parent_id !< The id of the parent axis, the subaxis belongs to
integer , intent(in) :: parent_id !< The id of the parent axis,
Copy link
Member

Choose a reason for hiding this comment

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

Did you modify this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

line count issue most likely

Comment on lines +294 to +302
subroutine write_axis_metadata(this, fms2io_fileobj, edges_in_file, parent_axis)
class(fmsDiagAxis_type), target, INTENT(IN) :: this !< diag_axis obj
class(FmsNetcdfFile_t), INTENT(INOUT) :: fms2io_fileobj !< Fms2_io fileobj to write the data to
logical, INTENT(IN) :: edges_in_file !< .True. if the edges to this axis are
!! already in the file
class(fmsDiagAxis_type), OPTIONAL, target, INTENT(IN) :: parent_axis !< If the axis is a subaxis, axis
!! object for the parent axis
!! (this will be used to get some
!! of the metadata info)
Copy link
Member

Choose a reason for hiding this comment

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

Why are there so many differences here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

spacing, uriel told me I better keep everything looking pretty

@mcallic2
Copy link
Contributor Author

easier to start over

@mcallic2 mcallic2 closed this Aug 15, 2023
@mcallic2 mcallic2 deleted the diag-changefileobj branch October 6, 2023 17:12
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.

2 participants