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

Update masking_mod.F90 #84

Merged
merged 3 commits into from
Oct 17, 2024
Merged

Update masking_mod.F90 #84

merged 3 commits into from
Oct 17, 2024

Conversation

AminIlia-NOAA
Copy link
Contributor

Changed minlat in masking_mod.F90 to -78

Resolves ##83

-->

Type of change

  • Bug fix (fixes something broken)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? YES
  • Does this change require a documentation update? NO

-->

Checklist

  • Any dependent changes have been merged and published
  • 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
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • I have made corresponding changes to the documentation if necessary

Changed minlat to -78
@@ -27,7 +27,7 @@ subroutine remap_masks(vfill)
! local variables
integer :: rc, ncid, varid, n
character(len=240) :: wgtsfile
real :: minlat = -79.75
real :: minlat = -78.00
Copy link
Contributor

@DeniseWorthen DeniseWorthen Oct 3, 2024

Choose a reason for hiding this comment

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

@AminIlia-NOAA Did you verify that this minimum is valid for all OCN resolutions, meaning no spurious interpolated values appear at any rectilinear resolution?

The last valid ocean grid point is at

1/4deg 78.525S
1/2deg 77.72S
1deg 77.77S
5deg 75S

Copy link
Contributor Author

@AminIlia-NOAA AminIlia-NOAA Oct 3, 2024

Choose a reason for hiding this comment

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

@DeniseWorthen Thank you for your comment.

Yes, this should resolve it. However as I mention the main problem could be source from another thing. We will loose some computational nodes for 1/4 deg however those are outside ocean edge. Please let me know your opinion.

Changed minlat to -78.63 to avoid loosing any node results in 1/4 deg resolution.
@DeniseWorthen
Copy link
Contributor

DeniseWorthen commented Oct 17, 2024

@aerorahul It wasn't clear to me that it had actually been tested and confirmed to work for all resolutions vs just "it should resolve it".

Perhaps the latest commit changing the value was the result of that testing?

@aerorahul
Copy link
Contributor

@aerorahul It wasn't clear to me that it had actually been tested and confirmed to work for all resolutions vs just "it should resolve it".

Perhaps the latest commit changing the value was the result of that testing?

No sure. If you agree with the change and think it should fix the issue, please approve and we can merge. It will get tested when we run the tests in the global-workflow. If an issue exists then, we can follow up with another PR.
Does that work for you @AminIlia-NOAA @DeniseWorthen?

Copy link
Contributor

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

looks good to me.

@aerorahul aerorahul merged commit 0083831 into NOAA-EMC:develop Oct 17, 2024
3 checks passed
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