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

Avoid extra post_data calls from vertvisc #204

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

Hallberg-NOAA
Copy link
Member

Add calls to query_averaging_enabled to avoid unnecessary extra calls to post_data for diagnostics that will never be used in vertvisc and vertvisc_coef. All answers are bitwise identical, but the C.I. testing appears to fail because there are fewer calls to post_data.

@codecov
Copy link

codecov bot commented Sep 13, 2022

Codecov Report

Merging #204 (ec4a45e) into dev/gfdl (5d729f3) will increase coverage by 0.01%.
The diff coverage is 31.57%.

@@             Coverage Diff              @@
##           dev/gfdl     #204      +/-   ##
============================================
+ Coverage     37.14%   37.15%   +0.01%     
============================================
  Files           262      262              
  Lines         72744    72723      -21     
  Branches      13596    13596              
============================================
  Hits          27023    27023              
+ Misses        40707    40684      -23     
- Partials       5014     5016       +2     
Impacted Files Coverage Δ
...c/parameterizations/vertical/MOM_vert_friction.F90 59.01% <31.57%> (-0.13%) ⬇️
...g_src/drivers/solo_driver/MESO_surface_forcing.F90 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

  Add calls to query_averaging_enabled to avoid unnecessary extra calls to
post_data for diagnostics that will never be used in vertvisc and vertvisc_coef.
All answers are bitwise identical, but the C.I. testing appears to fail because
there are fewer calls to post_data.
@marshallward
Copy link
Member

@marshallward marshallward merged commit f0d6680 into NOAA-GFDL:dev/gfdl Sep 16, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the vertvisc_less_diags branch February 2, 2023 14:09
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