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

Fix to reading of partial OBCs from file. #164

Merged
merged 1 commit into from
Jul 15, 2022
Merged

Fix to reading of partial OBCs from file. #164

merged 1 commit into from
Jul 15, 2022

Conversation

kshedstrom
Copy link

Fix to issue #163

@codecov
Copy link

codecov bot commented Jul 13, 2022

Codecov Report

Merging #164 (48875ea) into dev/gfdl (43771d8) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           dev/gfdl     #164   +/-   ##
=========================================
  Coverage     34.01%   34.01%           
=========================================
  Files           259      259           
  Lines         70209    70209           
  Branches      13012    13012           
=========================================
  Hits          23884    23884           
  Misses        41826    41826           
  Partials       4499     4499           
Impacted Files Coverage Δ
src/core/MOM_open_boundary.F90 22.96% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43771d8...48875ea. Read the comment docs.

Copy link
Member

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

I have examined these changes, and I think that I understand what they are doing.

These expressions now have become very long, and could be simplified and made easier to understand and perhaps facilitate future modifications by defining new variables, like j_file_off = G%jdg_offset - segment%HI%Jsgb (and similarly for i_file_off) or else to define variables like js_obc_file = js_obc + G%jdg_offset - segment%HI%Jsgb (and similarly for je_obc_file, is_obc_file and ie_obc_file) at about line 3740 of this file. However, these simplifications could be made in a future change, after this PR has been merged into the code.

@marshallward
Copy link
Member

This is from dev/esmg, so this commit needs to be merge-commited.

@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/16121 ✔️

@marshallward marshallward merged commit 9a3aa1e into NOAA-GFDL:dev/gfdl Jul 15, 2022
marshallward pushed a commit that referenced this pull request Jul 27, 2022
* Add a variable to shorten some statements

- suggested by @Hallberg-NOAA in the discussion for #164

* Fix to small i/j error
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.

None yet

3 participants