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

+Dimensional rescaling of user OBC test cases #1411

Merged

Conversation

Hallberg-NOAA
Copy link
Collaborator

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 #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.

  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.
@Hallberg-NOAA Hallberg-NOAA requested a review from kshedstrom May 25, 2021 09:27
Copy link
Collaborator

@kshedstrom kshedstrom left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! I approve this PR.

@marshallward
Copy link
Collaborator

marshallward commented Jun 4, 2021

Copy link
Collaborator

@marshallward marshallward left a comment

Choose a reason for hiding this comment

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

Approving on behalf of @kshedstrom

@marshallward marshallward merged commit 121ec5c into mom-ocean:dev/gfdl Jun 4, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the rescale_user_OBC_code branch July 30, 2021 17:56
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