wrf-model / WRF

The official repository for the Weather Research and Forecasting (WRF) model
Other
1.18k stars 658 forks source link

Fix AHE option 2 and a problem with mosaic #2005

Closed epn09 closed 4 months ago

epn09 commented 5 months ago

Related to PR#1881.

TYPE: bug fix

KEYWORDS: anthropogenic heat, mosaic

SOURCE: Do Ngoc Khanh (Tokyo Institute of Technology)

DESCRIPTION OF CHANGES: Problem 1:

Solution 1:

Problem 2:

Solution 2:

This PR also removes a few unused variables in their declaration.

LIST OF MODIFIED FILES: M dyn_em/module_first_rk_step_part1.F M phys/module_pbl_driver.F M phys/module_sf_noahdrv.F M phys/module_surface_driver.F

TESTS CONDUCTED: The Jenkins tests are all passing.

RELEASE NOTE: Fix AHE option 2 and a problem with mosaic

dudhia commented 5 months ago

Yes, it is needed in the surface driver.

epn09 commented 5 months ago

@cenlinhe @tslin2 I have converted INOUT back to IN for FRC_URB2D and made a slight modification to initialize_real. For the new options, the output was identical.

epn09 commented 4 months ago

@cenlinhe @tslin2 Happy Chinese new year. Any updates on this?

cenlinhe commented 4 months ago

The modifications look good to me. @dudhia Are we going to include this PR to the v4.6 release or do you prefer to merge this PR for v4.6.1 minor release? Have we frozen the v4.6 release branch?

dudhia commented 4 months ago

There is still time to get this in the release. We have the test phase to consider any remaining questions.

epn09 commented 4 months ago

@weiwangncar @dudhia @cenlinhe Do you have any further concerns about this PR? I'll be on leave from Thursday.