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

change wrf_error_fatal and wrf_message calls to macros to remain unif… #1891

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

weiwangncar
Copy link
Collaborator

@weiwangncar weiwangncar commented Jun 28, 2023

TYPE: text only

KEYWORDS: urban schemes, message calls

SOURCE: internal

DESCRIPTION OF CHANGES:
Problem:
The three urban scheme routines have a few wrf_message and wrf_error_fatal calls that should be replaced by macros defined at the top of modules so that the code maintains consistency with those in MPAS.

Solution:
The calls are replaced by the macros.

LIST OF MODIFIED FILES:
M phys/module_sf_bem.F
M phys/module_sf_bep_bem.F
M phys/module_sf_urban.F

TESTS CONDUCTED:

  1. The code compiles.
  2. The Jenkins tests are all passing.

@weiwangncar weiwangncar requested a review from a team as a code owner June 28, 2023 20:35
@weiwangncar
Copy link
Collaborator Author

The regression test results:

Test Type              | Expected  | Received |  Failed
= = = = = = = = = = = = = = = = = = = = = = = =  = = = =
Number of Tests        : 23           24
Number of Builds       : 60           57
Number of Simulations  : 158           150        0
Number of Comparisons  : 95           86        0

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

@weiwangncar weiwangncar merged commit e916756 into wrf-model:release-v4.5.1 Jul 7, 2023
1 of 4 checks passed
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
…ied with MPAS (wrf-model#1891)

TYPE:  text only

KEYWORDS: urban schemes, message calls

SOURCE: internal

DESCRIPTION OF CHANGES:
Problem:
The three urban scheme routines have a few wrf_message and wrf_error_fatal calls that should be replaced by macros defined at the top of modules so that the code maintains consistency with those in MPAS.

Solution:
The calls are replaced by the macros.

LIST OF MODIFIED FILES: 
M       phys/module_sf_bem.F
M       phys/module_sf_bep_bem.F
M       phys/module_sf_urban.F

TESTS CONDUCTED: 
1. The code compiles. No impact on results.
2. The Jenkins tests are all passing.
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