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

+Clean up dimensional rescaling in OBC code #138

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Use the new scale argument to time_interp_external to standardize where the
dimensional rescaling occurs for the OBC code, and to use properly dimensionally
rescaled internal variables. This includes the addition of the new function
scale_factor_from_name, and there are new verticalGrid_type and unit_scale_type
arguments to initialize_segment_data. All answers are bitwise identical and
are passing dimensional consistency testing, including in Alex Bozec's Gulf of
Mexico regional configuration, but there are new arguments to public interfaces.

  Use the new scale argument to time_interp_external to standardize where the
dimensional rescaling occurs for the OBC code, and to use properly dimensionally
rescaled internal variables.  This includes the addition of the new function
scale_factor_from_name, and there are new verticalGrid_type and unit_scale_type
arguments to initialize_segment_data.  All answers are bitwise identical and
are passing dimensional consistency testing, including in Alex Bozec's Gulf of
Mexico regional configuration, but there are new arguments to public interfaces.
@codecov
Copy link

codecov bot commented Jun 3, 2022

Codecov Report

Merging #138 (3364c29) into dev/gfdl (4288d41) will decrease coverage by 0.00%.
The diff coverage is 26.00%.

@@             Coverage Diff              @@
##           dev/gfdl     #138      +/-   ##
============================================
- Coverage     33.45%   33.45%   -0.01%     
============================================
  Files           262      262              
  Lines         71413    71436      +23     
  Branches      13336    13340       +4     
============================================
+ Hits          23891    23896       +5     
- Misses        43048    43066      +18     
  Partials       4474     4474              
Impacted Files Coverage Δ
src/user/DOME_initialization.F90 0.00% <0.00%> (ø)
src/core/MOM_open_boundary.F90 22.99% <25.00%> (-0.02%) ⬇️
src/initialization/MOM_state_initialization.F90 17.10% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4288d41...3364c29. Read the comment docs.

@marshallward
Copy link
Member

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

@marshallward marshallward merged commit 328c440 into NOAA-GFDL:dev/gfdl Jun 8, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the simplify_OBC_rescaling branch July 16, 2022 09:42
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.

None yet

2 participants