Skip to content

Standardized syntax in mask2d logical tests#102

Merged
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:standardize_mask_logic
Apr 11, 2022
Merged

Standardized syntax in mask2d logical tests#102
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:standardize_mask_logic

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Modified the syntax of the logical comparisons with the various mask2d
variables to always check whether they are larger than 0.0, not 0.5 and use
similar syntax throughout the MOM6 code. Because these arrays are always either
0.0 or 1.0, the answers are bitwise identical.

  Modified the syntax of the logical comparisons with the various mask2d
variables to always check whether they are larger than 0.0, not 0.5 and use
similar syntax throughout the MOM6 code.  Because these arrays are always either
0.0 or 1.0, the answers are bitwise identical.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 5, 2022

Codecov Report

Merging #102 (50cd379) into dev/gfdl (7f6dac2) will increase coverage by 0.00%.
The diff coverage is 2.85%.

@@            Coverage Diff            @@
##           dev/gfdl     #102   +/-   ##
=========================================
  Coverage     28.75%   28.75%           
=========================================
  Files           248      248           
  Lines         72976    72974    -2     
=========================================
  Hits          20985    20985           
+ Misses        51991    51989    -2     
Impacted Files Coverage Δ
...g_src/drivers/solo_driver/MESO_surface_forcing.F90 0.00% <0.00%> (ø)
...ig_src/drivers/solo_driver/MOM_surface_forcing.F90 21.05% <0.00%> (ø)
src/ALE/coord_adapt.F90 0.00% <0.00%> (ø)
src/core/MOM_forcing_type.F90 42.68% <0.00%> (ø)
src/diagnostics/MOM_wave_speed.F90 23.97% <0.00%> (ø)
src/diagnostics/MOM_wave_structure.F90 0.00% <0.00%> (ø)
src/parameterizations/vertical/MOM_ALE_sponge.F90 15.88% <0.00%> (ø)
...rameterizations/vertical/MOM_diapyc_energy_req.F90 0.00% <0.00%> (ø)
...c/parameterizations/vertical/MOM_energetic_PBL.F90 46.19% <0.00%> (ø)
...rameterizations/vertical/MOM_entrain_diffusive.F90 27.99% <0.00%> (ø)
... and 15 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 7f6dac2...50cd379. Read the comment docs.

@marshallward
Copy link
Copy Markdown
Member

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

@marshallward marshallward merged commit e9fdf5d into NOAA-GFDL:dev/gfdl Apr 11, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the standardize_mask_logic branch July 16, 2022 10:05
marshallward pushed a commit that referenced this pull request Sep 12, 2022
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