forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 60
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
+Add 7 runtime parameters for user init modules #292
Merged
marshallward
merged 5 commits into
NOAA-GFDL:dev/gfdl
from
Hallberg-NOAA:explicit_user_params
Jan 5, 2023
Merged
+Add 7 runtime parameters for user init modules #292
marshallward
merged 5 commits into
NOAA-GFDL:dev/gfdl
from
Hallberg-NOAA:explicit_user_params
Jan 5, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added the new runtime parameter BENCHMARK_T_LIGHT and reuse the existing parameter S_REF to specify the previously hard-coded dimensional parameters in the benchmark_initialization module. By default all answers are bitwise identical, but there are new entries in the MOM_parameter_doc.all files for the benchmark test case.
Added the new runtime parameters INITIAL_SSS, DOME2D_T_BAY and DOME2D_EAST_SPONGE_S_RANGE to specify the previously hard-coded dimensional parameters in the DOME2d_initialization module. By default all answers are bitwise identical, but there are new entries in the MOM_parameter_doc.all files for the flow_downslope and similar test cases.
Added the new runtime parameters INITIAL_SSS and SLOSHING_T_PERT to specify the previously hard-coded dimensional parameters in the sloshing_initialization module. Also added comments documenting the purpose and units of the internal real variables in sloshing_initialization.F90. There is also a new comment questioning whether the temperature perturbations are being applied correctly, but for now the code reproduces the previous answers. By default all answers are bitwise identical, but there are new entries in the MOM_parameter_doc.all files for the sloshing test cases.
Added the new runtime parameters DOME_T_LIGHT and reuse the existing parameter S_REF to specify the previously hard-coded dimensional parameters in the DOME_initialization module. By default all answers are bitwise identical, but there are new entries in the MOM_parameter_doc.all files for versions of the DOME test case with temperature and salinity as state variables.
Hallberg-NOAA
added
documentation
Improvements or additions to documentation
Parameter change
Input parameter changes (addition, removal, or description)
labels
Dec 23, 2022
Codecov Report
@@ Coverage Diff @@
## dev/gfdl #292 +/- ##
============================================
- Coverage 37.06% 37.06% -0.01%
============================================
Files 263 263
Lines 73631 73644 +13
Branches 13722 13723 +1
============================================
+ Hits 27295 27299 +4
- Misses 41299 41309 +10
+ Partials 5037 5036 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
marshallward
approved these changes
Jan 5, 2023
Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/17868 ✔️ 🟡 |
This was referenced Apr 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
Parameter change
Input parameter changes (addition, removal, or description)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds 7 new runtime parameters to replace hard-coded dimensional parameters in 4 user initialization modules (benchmark_initialization, DOME2d_initialization, sloshing_initialization and DOME_initialization). The new runtime parameters that were added are BENCHMARK_T_LIGHT, INITIAL_SSS, DOME2D_T_BAY, DOME2D_EAST_SPONGE_S_RANGE, INITIAL_SSS, SLOSHING_T_PERT and DOME_T_LIGHT. By default all answers are bitwise identical, but there are new entries in the MOM_parameter_doc.all files for configurations using the four impacted modules.
The commits in this PR include: