-
Notifications
You must be signed in to change notification settings - Fork 788
Fitch bug fix: axial induction factor #2242
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
base: develop
Are you sure you want to change the base?
Conversation
@SengersB Thank you very much for your contribution to the WRF model. Your code has many many differences from the develop branch in our repository. For example, your LICENSE.txt file is different from our version. There maybe many more modified files (out of 267 files) are not part of your bug fix. Please clone the latest WRF model code, and add only the code that pertaining to the bug fix to this PR. |
@weiwangncar Thanks for the quick response. I used the branch |
@SengersB Starting from WRF v4.7.1 is good. But did you really changed 267 files to implement your Fitch fix? It is unlikely. You should identify the files changed in your original code, and add them to the new release. If you started with WRFv4.7.1, the changes that are already in that version should not show up as updates. See this page for information on how to make code changes. |
@SengersB Is your intention to contribute your modification to our repository? Or do you plan to maintain the code in your own branch? |
@weiwangncar I have started over fresh from release-r4.7.1 made sure my modification were added. My intention is to contribute the modification to your repository, so to be part of the next (bugfix) release. We are not maintaining the code ourselves. |
@SengersB It still says 'Files changed 278'. See the last item on top of your PR message. |
@weiwangncar That is compared to your branch wrf-model:develop. Should I use this branch as a base? |
@SengersB Our master and develop branches are the same. You should first clone the WRF repository code (make sure that code is version 4.7.1 by checking the top level README file), and then add your changes in those five files to the cloned code. Please see the page I provided early for instructions. |
1a7a185
to
c43caff
Compare
@weiwangncar Alright turns out I just had to rebase. Pending clarification on the LICENSE.txt, I hope this is what you need to review and merge. |
@SengersB Thanks, and this is what we expect to see! The regression test has passed too:
|
@SengersB The remaining issue is the text for license which we will have to come out of way to deal with it. |
Bug fix and very small dev in Fitch wind farm parameterization
TYPE: bug fix
KEYWORDS: fitch, wind farm parameterization, turbine, wind farm, wind energy
SOURCE: Balthazar Sengers, Fraunhofer IWES
DESCRIPTION OF CHANGES:
Problem:
Solution:
ISSUE: For use when this PR closes an issue.
Fixes #123
LIST OF MODIFIED FILES: list of changed files (use
git diff --name-status master
to get formatted list)Registry/Registry.EM_COMMON
dyn_em/module_first_rk_step_part1.F
phys/module_pbl_driver.F
phys/module_wind_fitch.F
LICENSE.txt
TESTS CONDUCTED:
RELEASE NOTE:
Fitch wind farm parameterization: correct local (grid cell) wind speed to free wind speed using axial induction correction proposed by Vollmer et al. (2024) https://doi.org/10.5194/wes-9-1689-2024