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

fix restart issues with OBC experiments #3

Conversation

nikizadehgfdl
Copy link

The NWA OBC experiments suffer from a restart issue. There are a few bugs mixed together that were causing these and this update tries to address them. There were two basic issues; 1. A few missing halo updates causing the physical as well as obgc experiments not to reproduce
2. Bad logic for determining the update time for obgc tracers that use a segment updating period larger than DT.

Here's how to address these:

  1. Apply halo updates to h,uhr,vhr before use in tracer reservoir update
    fixes the restart issue for the physical model T&S
    fixes the restart issue for the BGC tracers when segment update period = DT
  2. Fix the restart issue for BGC tracers when segment update period > DT
    fixes the logic for setting the update time (it was not correct)
    Note that DT_OBC_SEG_UPDATE_OBGC has to be an integer multiple of DT and DT_THERM !

- This update fixes the restart issues for OBC runs if reservoir length scale is set to zero
- There is still a restart issue when the reservoir length scale is non-zero
  even for the physical (noCOBALT) models that has to be fixed.
- Apply halo updates to h,uhr,vhr before use in tracer reservoir update
    fixes the restart issue for the physical model T&S
    fixes the restart issue for the BGC tracers when segment update period  = DT
- There is still a restart issue for BGC tracers when segment update period > DT
- However the later restart issue is absent when tracer reservoir INPUT length scale is 0
  which points to an issue in segment%tr_Reg%Tr(m)%t
- Apply halo updates to h,uhr,vhr before use in tracer reservoir update
      fixes the restart issue for the physical model T&S
      fixes the restart issue for the BGC tracers when segment update period  = DT
- Fix the restart issue for BGC tracers when segment update period > DT
      fixes the logic for setting the update time (it was not correct)
      Note that DT_OBC_SEG_UPDATE_OBGC has to be an integer multiple of DT and DT_THERM !
@andrew-c-ross andrew-c-ross merged commit e039d54 into andrew-c-ross:merge-bgc-obc-3 May 24, 2022
andrew-c-ross pushed a commit that referenced this pull request Jul 1, 2024
* mod g_tracer interface

* mod g_tracer interface

* Simplify g_tracer interface changes

* add description
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