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

Simplify changes to the generic tracer interface for cobalt-p4: ocean_BGC side #8

Merged
merged 7 commits into from
Jan 26, 2024

Conversation

yichengt900
Copy link
Collaborator

@yichengt900 yichengt900 commented Jan 23, 2024

This PR is to address #7 .

The new cobalt-p4 requires several variables from MOM6 (e.g. geolat for day-length calculation as well as eqs_of_state for density calculation).

We revisited the initial modifications and removed unnecessary changes to minimize the impact on the generic tracer interface at the ocean_BGC side. The results match those obtained from the original codes in the 1-D and NWA12 RT tests.

I will conduct a 5-year run to ensure the consistency of the results.
Update The restart files from this PR (/gpfs/f5/gfdl_med/scratch/Yi-cheng.Teng/fre/g_tracer/NWA12/NWA12_COBALT_2023_10_v2/ncrc5.intel22-prod/archive/restart) are identical to the baselines (/gpfs/f5/cefi/scratch/Yi-cheng.Teng/fre/cefi/NWA12/NWA12_COBALT_2023_10_v2/ncrc5.intel22-prod/archive).

Dependency: NOAA-CEFI-Regional-Ocean-Modeling/MOM6#3

@yichengt900 yichengt900 requested a review from clouden90 January 26, 2024 15:15
Copy link
Contributor

@theresa-morrison theresa-morrison left a comment

Choose a reason for hiding this comment

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

This seems straightforward. I think as long as the optional arguments are setup in a way will ensure that the model is not filling things in if they are not specified.

generic_tracers/generic_COBALT.F90 Outdated Show resolved Hide resolved
generic_tracers/generic_tracer.F90 Outdated Show resolved Hide resolved
Copy link
Contributor

@theresa-morrison theresa-morrison 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 making these changes. This looks good to me.

@yichengt900 yichengt900 merged commit 4af91db into dev/cefi Jan 26, 2024
@yichengt900 yichengt900 deleted the feature/g_tracer branch January 26, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants