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

Removes missing_value argument from fns in MOM_diag_remap #1091

Merged
merged 2 commits into from
Apr 21, 2020
Merged

Removes missing_value argument from fns in MOM_diag_remap #1091

merged 2 commits into from
Apr 21, 2020

Conversation

adcroft
Copy link
Collaborator

@adcroft adcroft commented Apr 16, 2020

  • This is a very small step towards Remove missing_value from MOM6 code #769. When I looked at what it will take to deal with Remove missing_value from MOM6 code #769 it turns out diag_mediator needs a significant refactor that just isn't going to happen overnight.
  • missing_value was an argument to several functions in MOM_diag_remap but was not used. At one point these functions incorrectly used missing_value to mask data but this is not the correct usage of missing_value nor the right way to do masking in MOM6. This was fixed 3 years ago and this commit simply removes unused arguments.

- missing_value was a argument to several functions in MOM_diag_remap
  but was not used. At one point these functions incorrectly used
  missing_value to mask data but this is not the correct usage of
  missing_value not the right way to use masking in MOM6. This was
  fixed 3 years ago and this commit simply removes unused arguments.
@adcroft adcroft requested a review from marshallward April 16, 2020 21:07
marshallward
marshallward approved these changes Apr 17, 2020
@marshallward
Copy link
Collaborator

There are conflicts in this PR now, can you take a look when you get a chance?

@codecov-io
Copy link

codecov-io commented Apr 21, 2020

Codecov Report

Merging #1091 into dev/gfdl will decrease coverage by 4.52%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1091      +/-   ##
============================================
- Coverage     45.80%   41.27%   -4.53%     
============================================
  Files           215      215              
  Lines         69480    69480              
============================================
- Hits          31822    28679    -3143     
- Misses        37658    40801    +3143     
Impacted Files Coverage Δ
src/framework/MOM_diag_mediator.F90 63.71% <100.00%> (ø)
src/framework/MOM_diag_remap.F90 92.79% <100.00%> (ø)
src/ALE/PCM_functions.F90 0.00% <0.00%> (-100.00%) ⬇️
src/core/MOM_dynamics_unsplit_RK2.F90 0.00% <0.00%> (-92.62%) ⬇️
src/framework/MOM_random.F90 0.00% <0.00%> (-87.50%) ⬇️
src/tracer/MOM_lateral_boundary_diffusion.F90 1.10% <0.00%> (-69.38%) ⬇️
src/core/MOM_unit_tests.F90 0.00% <0.00%> (-62.50%) ⬇️
src/framework/MOM_horizontal_regridding.F90 0.00% <0.00%> (-56.91%) ⬇️
src/ALE/PPM_functions.F90 38.73% <0.00%> (-55.86%) ⬇️
src/framework/MOM_diag_vkernels.F90 48.44% <0.00%> (-42.24%) ⬇️
... and 36 more

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 c745c5b...c88c818. Read the comment docs.

@marshallward
Copy link
Collaborator

I resolved the commit in the GitHub editor, but obviously it has now not been tested locally. Would be good for you to review it if you get a chance.

@marshallward
Copy link
Collaborator

marshallward commented Apr 21, 2020

Gaea regression testing: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/pipelines/10237

No regressions.

@marshallward marshallward merged commit c505ad3 into mom-ocean:dev/gfdl Apr 21, 2020
@adcroft adcroft deleted the rm-missing-value-from-diag-remap branch June 17, 2020 02:57
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