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 missing oops for CLM plus urban check #1783

Merged

Conversation

weiwangncar
Copy link
Collaborator

@weiwangncar weiwangncar commented Nov 10, 2022

TYPE: bug fix

KEYWORDS: clm, urban cross check

SOURCE: reported by Shuhua Chen, UC Davis, internal

DESCRIPTION OF CHANGES:
Problem:
Error check variable oops is not incremented when urban options are checked against land model option CLM.

Solution:
Increment variable oops to correct the error.

LIST OF MODIFIED FILES:
M share/module_check_a_mundo.F

TESTS CONDUCTED:

  1. Yes. Model gracefully stops when both CLM and an urban option are selected.
  2. The Jenkins tests are all passing.

RELEASE NOTE: Model will stop if both CLM and an urban physics option are selected.

@weiwangncar weiwangncar requested review from a team as code owners November 10, 2022 03:11
@weiwangncar
Copy link
Collaborator Author

The reg tests have passed:

Test Type              | Expected  | Received |  Failed
= = = = = = = = = = = = = = = = = = = = = = = =  = = = =
Number of Tests        : 23           24
Number of Builds       : 60           58
Number of Simulations  : 158           156        0
Number of Comparisons  : 95           92        0

Failed Simulations are: 
None
Which comparisons are not bit-for-bit: 
None

@dudhia
Copy link
Collaborator

dudhia commented Nov 10, 2022

Might have to restrict it to just Noah and NoahMP for urban options.

Copy link
Collaborator

@dudhia dudhia left a comment

Choose a reason for hiding this comment

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

This only prevents CLM from using urban options. Ideally only Noah and NoahMP should be allowed, but good for now.

@weiwangncar
Copy link
Collaborator Author

@smileMchen @kkeene44 Can one of you approve this PR if it looks good to you?

@weiwangncar weiwangncar merged commit 49f99a2 into wrf-model:release-v4.4.2 Dec 9, 2022
@weiwangncar weiwangncar deleted the fix-clm+urban-check branch December 9, 2022 08:48
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
TYPE: Bug fix

KEYWORDS: clm, urban cross check

SOURCE: reported by Shuhua Chen, UC Davis, internal

DESCRIPTION OF CHANGES:
Problem:
Error check variable oops is not incremented when urban options are checked against land model option CLM.

Solution:
Increment variable oops to correct the error.

LIST OF MODIFIED FILES: 
M      share/module_check_a_mundo.F

TESTS CONDUCTED: 
1. Yes. Model gracefully stops when both CLM and an urban option are selected.
2. The Jenkins tests are all passing.

RELEASE NOTE: Model will stop if both CLM and an urban physics option are selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants