bug fix: initialization of 1000-h fuel moisture content, computation of the net fuel load#1516
Conversation
fmc_gc_initial_value(3)=fmc_1000h changed to fmc_gc_initial_value(4)=fmc_1000h This bug resulted to null (0) 1000h FMC and erroneous 100h FMC initialisation.
|
jenkins |
|
@tmgiannaros This is your first pull request (PR) for WRF. When the blank commit is started, there is a fixed format for the information from you. This allows us to search for keywords in the git log. Here is the format: There is no Please go back through the commit message (you can do this directly from the github web page for this PR #1516 as the easy method) and edit it to conform to our format. For your first PR, there will be more than usual communication back and forth, just so that you are prepared for your next PRs. Again, we very much appreciate the time you have spent to relay this bug fix back to the community. |
|
Dave, Best, |
|
@tmgiannaros
For clarity: Everything else should be automatic for the PR. Remember to edit the commit message with the github web interface. |
|
@tmgiannaros
|
|
|
@pedro-jm @dudhia @weiwangncar |
|
@tmgiannaros |
Dave, the small computational mod does not necessarily mean an update to the code. If this part of the code is to be updated, then the entire set of equations in WRF Fire code need to be updated as well for consistency. I have not yet started doing so, but I plan to do so in the future. Could you technically guide me on what you need me to do? |
|
@tmgiannaros |
|
@davegill
|
|
@pedro-jm |
|
@davegill Yes, I approve this PR. |
|
@pedro-jm
You can formally approve by going to files changed and then review changes
buttons.
…On Wed, Nov 17, 2021 at 3:30 PM pedro-jm ***@***.***> wrote:
@davegill <https://github.com/davegill> Yes, I approve this PR.
@tmgiannaros <https://github.com/tmgiannaros> Thanks for fixing this
Theodore.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1516 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIZ77CNMKNBWBMQZQHVB4LUMQUILANCNFSM44YIWVAQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
smileMchen
left a comment
There was a problem hiding this comment.
This PR looks fie to me.
…of the net fuel load (wrf-model#1516) TYPE: bug fix KEYWORDS: fuel moisture initialisation, net fuel load computation, WRF-Fire SOURCE: Theodore M. Giannaros (National Observatory of Athens, Greece) DESCRIPTION OF CHANGES: Problem: Incorrect indexing in the initialization of fuel moisture content in subroutine `read_namelist_fire`, in WRF file `phys/module_fr_fire_phys.F`. Solution: Changed `fmc_gc_initial_value(3)=fmc_1000h` to `fmc_gc_initial_value(4)=fmc_1000h` in subroutine `read_namelist_fire`, in WRF file `phys/module_fr_fire_phys.F`. LIST OF MODIFIED FILES: M phys/module_fr_fire_phys.F TESTS CONDUCTED: 1. The correction applied resolved the erroneous initialization of both 1000h and 100h fuel moisture content. Prior to this correction, `fmc_gc_initial_value(3)=fmc_1000h` and no initialization was carried out for fmc_gc_initial_value(4). This resulted to erroneously setting `fmc_gc_initial_value(3)=fmc_1000h` and `fmc_gc_initial_value(4)=0` (was left uninitialized). Following the correction, both variables are correctly set (`fmc_gc_initial_value(3)=fmc_100h` and `fmc_gc_initial_value(4)=fmc_1000h`). 2. Jenkins is all PASS. RELEASE NOTE: Bug fix for fire module related to the initialization of 1000-h fuel moisture content due to an incorrect indexing assignment from the namelist entries for fuel classes.
TYPE: bug fix
KEYWORDS: fuel moisture initialisation, net fuel load computation, WRF-Fire
SOURCE: Theodore M. Giannaros (National Observatory of Athens, Greece)
DESCRIPTION OF CHANGES:
Problem:
Incorrect indexing in the initialization of fuel moisture content in subroutine
read_namelist_fire, in WRF filephys/module_fr_fire_phys.F.Solution:
Changed
fmc_gc_initial_value(3)=fmc_1000htofmc_gc_initial_value(4)=fmc_1000hin subroutineread_namelist_fire, in WRF filephys/module_fr_fire_phys.F.LIST OF MODIFIED FILES:
M phys/module_fr_fire_phys.F
TESTS CONDUCTED:
this correction,
fmc_gc_initial_value(3)=fmc_1000hand no initialization was carried out for fmc_gc_initial_value(4).This resulted to erroneously setting
fmc_gc_initial_value(3)=fmc_1000handfmc_gc_initial_value(4)=0(wasleft uninitialized). Following the correction, both variables are correctly set (
fmc_gc_initial_value(3)=fmc_100handfmc_gc_initial_value(4)=fmc_1000h).RELEASE NOTE: Bug fix for fire module related to the initialization of fuel moisture content due to an incorrect indexing assignment from the namelist entries for fuel classes.