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

Fix area logic in SCM #544

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix area logic in SCM #544

wants to merge 2 commits into from

Conversation

hertneky
Copy link
Collaborator

@hertneky hertneky commented Nov 14, 2024

  1. Correctly assign area from the DEPHY forcing file. -> pulled out of the "if surfaceForcingLSM = lsm" statement since some canned cases have "surface_forcing_lsm = none".

  2. Allow column_area to override scm_state%area if it is defined in the case_confil nml. When not defined in the case_config, scm_state%area is zero. In this case, use the default case area from the DEPHY forcing file.

@grantfirl @dustinswales Should there also be logic if area is not present in DEPHY file and not in the nml? (probably) Should there be some logging added to write what area is being used? LMK and I can add.

#540

@hertneky hertneky self-assigned this Nov 14, 2024
@hertneky hertneky added this to the CCPP SCM v7.1.0 (bugfix) milestone Nov 14, 2024
@hertneky hertneky linked an issue Nov 14, 2024 that may be closed by this pull request
@hertneky hertneky removed this from the CCPP SCM v7.1.0 (bugfix) milestone Nov 14, 2024
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.

Fix definition of area in scm setup
1 participant