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

+Add DOME_tracer and tracer_example runtime params #298

Merged
merged 2 commits into from
Jan 13, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Added the new runtime parameters DOME_TRACER_STRIPE_WIDTH, DOME_TRACER_STRIPE_LAT and DOME_TRACER_SHEET_SPACING to specify the previously hard-coded dimensional parameters in the DOME_tracer module, and added the runtime parameters TRACER_EXAMPLE_STRIPE_WIDTH and TRACER_EXAMPLE_STRIPE_LAT to specify parameters used by tracer_example. This change requires that an ocean grid type be passed to register_DOME_tracer and USER_register_tracer_example instead of a hor_index type.

Descriptions of the units of a number of internal variables were added to both modules. In addition, the confusing (and dimensionally heterogeneous) trdc array in tracer_column_physics was replaced with 3 internal variables with more suggestive names.

By default all answers are bitwise identical, but there are new entries in the MOM_parameter_doc.all files for cases that have USE_DOME_TRACER=True or USE_USER_TRACER_EXAMPLE=True.

  Added the new runtime parameters DOME_TRACER_STRIPE_WIDTH,
DOME_TRACER_STRIPE_LAT and DOME_TRACER_SHEET_SPACING to specify the previously
hard-coded dimensional parameters in the DOME_tracer module, and added the
runtime parameters TRACER_EXAMPLE_STRIPE_WIDTH and TRACER_EXAMPLE_STRIPE_LAT to
specify parameters used by tracer_example.  This change requires that an ocean
grid type be passed to register_DOME_tracer and USER_register_tracer_example
instead of a hor_index type.

  Descriptions of the units of a number of internal variables were added to both
modules.  In addition, the confusing (and dimensionally heterogeneous) trdc
array in tracer_column_physics was replaced with 3 internal variables with more
suggestive names.

  By default all answers are bitwise identical, but there are new entries in the
MOM_parameter_doc.all files for cases that have USE_DOME_TRACER=True or
USE_USER_TRACER_EXAMPLE=True.
@Hallberg-NOAA Hallberg-NOAA added documentation Improvements or additions to documentation Parameter change Input parameter changes (addition, removal, or description) labels Jan 4, 2023
@codecov
Copy link

codecov bot commented Jan 4, 2023

Codecov Report

Merging #298 (c803da5) into dev/gfdl (1d918b6) will increase coverage by 0.00%.
The diff coverage is 34.61%.

@@            Coverage Diff            @@
##           dev/gfdl     #298   +/-   ##
=========================================
  Coverage     37.10%   37.10%           
=========================================
  Files           263      263           
  Lines         73789    73795    +6     
  Branches      13756    13756           
=========================================
+ Hits          27380    27383    +3     
- Misses        41346    41350    +4     
+ Partials       5063     5062    -1     
Impacted Files Coverage Δ
src/tracer/MOM_tracer_flow_control.F90 25.00% <ø> (ø)
src/tracer/tracer_example.F90 0.00% <0.00%> (ø)
src/tracer/DOME_tracer.F90 53.09% <81.81%> (+1.27%) ⬆️
src/framework/MOM_document.F90 73.36% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/17953 ✔️ 🟡

@marshallward marshallward merged commit 237194d into NOAA-GFDL:dev/gfdl Jan 13, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the explicit_tracer_params branch February 2, 2023 13:29
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants