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

Set levels with cloud from parent model #17

Merged
merged 5 commits into from
Jul 9, 2024

Conversation

lizziel
Copy link
Contributor

@lizziel lizziel commented Jun 20, 2024

Name and Institution (Required)

Name: Lizzie Lundgren
Institution: Harvard University

Describe the update

This PR changes Cloud-J so that parameter LWEPAR (# levels with cloud) is passed from the parent model if not using Cloud-J standalone. This enables using Cloud-J in parent models with different vertical grids.

This update also more generalizes the condition in which vertical level information is passed from the parent model. Previously total number of vertical levels could only be set from the parent if using GEOS-Chem. New C-preprocessor switch CLOUDJ_STANDALONE allows removing MODEL_GEOSCHEM for that section.

Expected changes

This is a zero diff update for GEOS-Chem benchmarks.

Reference(s)

none

Related Github Issues and PRs

closes #16
geoschem/geos-chem#2342 (merge required for compatibility with this PR)

lizziel added 3 commits June 20, 2024 16:24
This update removes the requirement of using MODEL_GEOSCHEM if
passing vertical grid from parent model.

Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
# levels with cloud is now passed as an argument in Init_Cldj.

Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
@lizziel lizziel changed the base branch from main to dev/7.7.2 June 20, 2024 20:36
@lizziel lizziel added the enhancement New feature or request label Jun 20, 2024
@lizziel lizziel added this to the 7.7.2 milestone Jun 20, 2024
@lizziel lizziel marked this pull request as draft June 27, 2024 17:04
@lizziel lizziel marked this pull request as ready for review July 8, 2024 19:29
@yantosca yantosca assigned yantosca and lizziel and unassigned yantosca Jul 8, 2024
Copy link
Contributor

@yantosca yantosca left a comment

Choose a reason for hiding this comment

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

Thanks @lizziel. This looks good to merge pending resolution of a couple of minor issues, as noted in comments.

src/Core/cldj_cmn_mod.F90 Show resolved Hide resolved
src/Core/cldj_init_mod.F90 Outdated Show resolved Hide resolved
lizziel added 2 commits July 8, 2024 18:04
Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
@lizziel
Copy link
Contributor Author

lizziel commented Jul 8, 2024

@yantosca, I applied the changes. Ready for another review.

@yantosca yantosca self-requested a review July 9, 2024 00:25
Copy link
Contributor

@yantosca yantosca left a comment

Choose a reason for hiding this comment

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

Thanks @lizziel! Good to merge.

Copy link
Contributor

yantosca commented Jul 9, 2024

@lizziel: Also, the integration tests in GEOS-Chem for corresponding PR #2342 passed. Let me know when you merge this into the dev/7.7.2 branch and then I'll complete the GEOS-Chem PR merges into the no-diff-to-benchmark branch.

@lizziel lizziel merged commit 2d75997 into dev/7.7.2 Jul 9, 2024
2 checks passed
@yantosca yantosca deleted the feature/set_levels_with_cloud_from_parent_model branch August 29, 2024 20:21
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.

Cloud-J assumes GMAO 72-level vertical grid
2 participants