Skip to content

Trying to fix Kelvin wave boundary condition.#1406

Merged
marshallward merged 2 commits into
mom-ocean:dev/gfdlfrom
ESMG:dev/esmg
May 26, 2021
Merged

Trying to fix Kelvin wave boundary condition.#1406
marshallward merged 2 commits into
mom-ocean:dev/gfdlfrom
ESMG:dev/esmg

Conversation

@kshedstrom
Copy link
Copy Markdown
Collaborator

  • Better, but doesn't quite pass RESCALE tests.

- Better, but doesn't quite pass RESCALE tests.
Hallberg-NOAA added a commit to Hallberg-NOAA/MOM6 that referenced this pull request May 25, 2021
  Add dimensional rescaling of user OBC test cases, including documentation of
the units of variables in the Kelvin, shelfwave, tidal_bay and dyed_channel
initialization and rescaling parameters parameters via optional scale arguments
to get_param calls.  These changes also incorporate the answer-changing
correction to the Kelvin wave OBC test case in PR mom-ocean#1406, with a comment noting
what seems like an additional bug in this test case.  This commit includes
adding a unit_scale_type argument to call_OBC_register, register_file_OBC,
register_tidal_bay_OBC, register_Kelvin_OBC, register_shelfwave_OBC and
register_dyed_channel_OBC.  These Kelvin wave OBC configuration from
ESMG-configs now passes the dimensional rescaling tests.  All answers are
bitwise identical in the MOM6_examples test cases, but there are interface
changes.
Copy link
Copy Markdown
Collaborator

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that these changes are correct. The problems with the dimensional scaling tests that are noted in the description of this PR is addressed in the subsequent PR #1411.

@marshallward
Copy link
Copy Markdown
Collaborator

@marshallward marshallward merged commit dd9c90e into mom-ocean:dev/gfdl May 26, 2021
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.

3 participants