Skip to content

Dev/gfdl#4

Merged
pjpegion merged 9 commits into
stoch_eosfrom
dev/gfdl
Aug 6, 2020
Merged

Dev/gfdl#4
pjpegion merged 9 commits into
stoch_eosfrom
dev/gfdl

Conversation

@pjpegion
Copy link
Copy Markdown
Owner

@pjpegion pjpegion commented Aug 6, 2020

merge in Alistair's updates to my stochastic branch

marshallward and others added 9 commits July 30, 2020 10:56
The current OBC segment list includes a "segment zero" which corresponds
to when the segment maps (segnum_u, segnum_v) point to OBC_NONE, which
is set to zero.

The purpose of this "segment zero" seems to be for avoiding invalid
references, so that OBC%segment(OBC%segnum_[uv](i,j)) always returns a
valid result, included when set to OBC_NONE.  This results in reading
and setting values which are unused or unneeded.

This patch replaces these redundant accesses to segment zero with
various conditional blocks for avoiding these accesses.
There were a few remaining segnum_[uv] references in MOM_open_boundary
which could reference segment zero.  This patch fixes those references.
- Adds a diagnostic of the parameterized SGS T variance used in the
  Brankart correction to the PGF
- The SGS T variance is measure from the grid-scale variance. It should
  be a horizontal difference but is approximated as along coordinate.
  This adds thickness weighting to avoid large values near topography.
@pjpegion pjpegion merged commit 6d05360 into stoch_eos Aug 6, 2020
pjpegion pushed a commit that referenced this pull request Feb 1, 2021
pjpegion pushed a commit that referenced this pull request Apr 12, 2021
Update CPT fork of MOM6 to latest (12/10/2020) from NOAA-GFDL
pjpegion pushed a commit that referenced this pull request Jun 11, 2021
fix array size declaration and post_data
pjpegion pushed a commit that referenced this pull request Jul 28, 2021
Only write checksums from root PE MCT/NUOPC caps
pjpegion pushed a commit that referenced this pull request Jun 15, 2022
Correct a couple of typos in hor_visc
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.

4 participants