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

Change to pass_var for h and correct barotropic mass source #521

Merged
merged 4 commits into from
Jun 15, 2017

Conversation

Hallberg-NOAA
Copy link
Collaborator

This commit addresses the recent issue that triggered pull request #520, and also includes a change that improve answers in some configurations that are outside of the testing configuration.

  Corrected a bug when DIABATIC_FIRST=True in how the compensation for the
difference between the dynamic sea surface height used by the barotropic solver
and the height that the layers would have if net mass sources were applied
gradually instead of abruptly at the start of the thermodynamic time step. This
would change answers if both SPLIT and DIABATIC_FIRST are true and the value of
BT_MASS_SOURCE_LIMIT > 0.0, but as there are currently no test cases that match
these conditions, the answers are unchanged in all of the test cases. In cases
where the answers do change, they are unambiguously better based on weaker high
frequency gravity waves arising from coupling shocks.
  Corrected spelling errors and content errors in several of the comments
describing subroutine arguments.  All answers are bitwise identical.
  Reverted to the simpler pass_var routines for the single 3-d variable h.  This
avoids the issue that triggered the recent pull request mom-ocean#520, and it should have
no performance impacts.  (In fact, by letting each call have its own halo size,
it might lead to performance improvements in subsequent commits.)  All answers
are bitwise identical.
@adcroft
Copy link
Collaborator

adcroft commented Jun 14, 2017

It's in the pipe... https://gitlab.gfdl.noaa.gov/ogrp/MOM6/pipelines/1956

It looks like this changes the time used for some diagnostics?

@Hallberg-NOAA
Copy link
Collaborator Author

Yes, this commit does change (i.e. correct) the time used for some of the bottom boundary layer properties, to reflect the fact that these properties are calculated every coupled time step, and are not constant over an entire thermodynamic time step when THERMO_SPANS_COUPLING is true. Perhaps the code itself should be revisited, but this makes the diagnostic times consistent with what is coded.

@adcroft
Copy link
Collaborator

adcroft commented Jun 15, 2017 via email

@adcroft adcroft merged commit d20e897 into mom-ocean:dev/gfdl Jun 15, 2017
nikizadehgfdl pushed a commit to nikizadehgfdl/MOM6 that referenced this pull request Oct 9, 2017
- Last commit updates available_diags and MOM_parameter_doc.all (for one expt).

- NOAA-GFDL/MOM6@3486d83 Merge branch 'ashao-offline_tracer_updates' into dev/gfdl
- NOAA-GFDL/MOM6@d96c87b Final changes before PR
- NOAA-GFDL/MOM6@ce44698 Undo some changes made for diagnostic purposes, add comments, and cleanup code before PR
- NOAA-GFDL/MOM6@d8627bc Merge branch 'dev/gfdl' of https://github.com/NOAA-GFDL/MOM6 into offline_tracer_updates
- NOAA-GFDL/MOM6@d20e897 Merge pull request mom-ocean#521 from Hallberg-NOAA/dev/gfdl
- NOAA-GFDL/MOM6@a8565c7 Replaced group_pass of h with pass_var of h
- NOAA-GFDL/MOM6@5daf60f Corrected typos in dOxyGen comments
- NOAA-GFDL/MOM6@e8b7f0e Merge branch 'dev/gfdl' of github.com:NOAA-GFDL/MOM6 into dev/gfdl
- NOAA-GFDL/MOM6@1e8c2b4 Merge pull request mom-ocean#520 from NOAA-GFDL/user/wfcooke/grouphalopass_fix
- NOAA-GFDL/MOM6@db3a5b5 (*)Corrected the barotropic mass source compensation
- NOAA-GFDL/MOM6@833dd84 Bugfix to reintroduce group halo pass check removed in 282a160
- NOAA-GFDL/MOM6@2b8670f Merge pull request mom-ocean#519 from Hallberg-NOAA/dev/gfdl
- NOAA-GFDL/MOM6@b80fc8b Merge branch 'dev/gfdl' of github.com:NOAA-GFDL/MOM6 into dev/gfdl
- NOAA-GFDL/MOM6@144daae Merge branch 'dev/gfdl' of github.com:NOAA-GFDL/MOM6 into dev/gfdl
- NOAA-GFDL/MOM6@e1aed13 +Eliminated calc_bbl from the vertvisc_type
- NOAA-GFDL/MOM6@0576b2b (*)Moved set_viscous_BBL out of the dynamics code
- NOAA-GFDL/MOM6@53d03a7 Fixed conflicts with upstream dev/gfdl
- NOAA-GFDL/MOM6@7ddc722 Added option to intersperse ALE step between horizontal advection iterations.
- NOAA-GFDL/MOM6@af73ea8 Tracer now conserves when remapping input fields onto a different grid. This primarily resulted from an error in the indexing when the fields were being updated. Now to test in OM4_05
- NOAA-GFDL/MOM6@ff690d1 To aid in the debugging of tracer routines, a new subroutine is created in MOM_tracer_registry.F90: MOM_tracer_chkinv. This routine calculates the global inventories of all tracers in the registry. Some of the debugging checksums in the offline tracer routines are updated to use this new function.
- NOAA-GFDL/MOM6@ab0575d Add option to skip convective readjustment when reading offline fields from z inputs
- NOAA-GFDL/MOM6@f4e0063 Changes made so that regridding onto pure isopycnal kind of works. Need to figure out why the redistribution of residual does not fully conserve.
- NOAA-GFDL/MOM6@d2af9df Clean up some changes that were made for development purposes
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