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

Carry over standalone #3

Closed
janmandel opened this issue May 21, 2020 · 9 comments
Closed

Carry over standalone #3

janmandel opened this issue May 21, 2020 · 9 comments
Assignees

Comments

@janmandel
Copy link
Member

Split standalone off from https://github.com/openwfm/wrf-fire and make it work with https://github.com/openwfm/WRF-SFIRE

janmandel pushed a commit that referenced this issue May 25, 2020
TYPE: bug fix

KEYWORDS: GOCART, settling

SOURCE: Stacy Walters (internal)

DESCRIPTION OF CHANGES: 
Put calculation of aerosol settling (variable = transfer_to_below_level) in layers > 1 
into IF/ELSE block that calculates gravitational settling for layer = 1.

LIST OF MODIFIED FILES: 
M chem/module_gocart_settling.F

TEST CONDUCTED:
Jenkins shows all tests PASS

**Compiled with debug option -check bounds**
_BEFORE FIX_: 2 indexes are OOB for l==1, 3rd dim of delz (> MAX) and 3rd dim of airden (0)

rsl.out.0000
 l/=1, calculting transfer_to_below_level =   3.153560196907218E-014
 l/=1, calculting transfer_to_below_level =   1.014890436929303E-012
 l/=1, calculting transfer_to_below_level =   2.118741307102124E-011
 l==1, still calculating transfer_to_below_level =
  = (temp_tc*vd_wk1)*((delz(i,j,l2)*airden(i,j,l))/(delz(i,j,l2+1)*airden(i,j,l-1)))
 l==1, index of airden(i,j,l-1) =            1           1           0
  and index of delz(i,j,l2+1) =            1           1          31
 but size of 3rd dim of delz  =           30
rsl.error.0000
forrtl: severe (408): fort: (2): Subscript #3 of the array DELZ has value 31 which is greater than the upper bound of 30

_AFTER FIX_: 
l/=1, calculating transfer_to_below_level =   3.153560196907218E-014
 l/=1, calculating transfer_to_below_level =   1.014890436929303E-012
 l/=1, calculating transfer_to_below_level =   2.118741307102124E-011
 l==1, not calculating transfer_to_below_level
@janmandel janmandel changed the title Standalone Carry over standalone May 26, 2020
@janmandel
Copy link
Member Author

The last commit with /standalone merged here is 3cc61c7 filtered from 22d1e6a

@janmandel
Copy link
Member Author

Need a main program to test balbi model.

@janmandel janmandel mentioned this issue Aug 5, 2022
janmandel added a commit that referenced this issue Aug 14, 2022
@janmandel
Copy link
Member Author

janmandel commented Aug 20, 2022

Further development merged into #45, leaving branch develop-3 as stable for now until develop-45 can be merged into master.

@janmandel
Copy link
Member Author

Branches master, develop-45, and develop-3 advanced to the same commit d9b313e Fri Aug 26 23:44:51 2022

@Fergui
Copy link
Member

Fergui commented Jun 25, 2023

Advancing develop-3 to commit number 363ce81, which is on develop-60 #60
TODO: test against master if the same results using Rothermel

@Fergui Fergui added the active On going work label Jun 25, 2023
@Fergui Fergui assigned Fergui and janmandel and unassigned Fergui Jun 25, 2023
@janmandel
Copy link
Member Author

janmandel commented Jul 29, 2023

@Fergui @Aurel31
When trying to merge release branch into develop-3, conflict in phys/module_fr_sfire_phys.F centered around namelist_fire:

<<<<<<< HEAD
namelist /fuel_categories_anderson_13/ fuel_name,windrf,fgi,fueldepthm,savr, &
    fuelmce,fueldens,st,se,weight,fci_d,fct,ichap,itree,fwh,fz0,ffw, &
    fmc_gl_ndwi_0,fmc_gl_ndwi_rate,fmc_gl_ndwi_stdev, fmc_gl_stdev, &
    adjr0,adjrw,adjrs,fmc_gw01,fmc_gw02,fmc_gw03,fmc_gw04,fmc_gw05,is_dead, k_tc
=======   
namelist /fuel_categories/ fuel_name,windrf,fgi,fueldepthm,savr, &
    fuelmce,fueldens,st,se,weight,fci_d,fct,ichap,itree,idynamic,fwh,fz0,ffw, &
    fmc_gl_ndwi_0,fmc_gl_ndwi_rate,fmc_gl_ndwi_stdev, fmc_gl_stdev, &
    adjr0,adjrw,adjrs,fmc_gw01,fmc_gw02,fmc_gw03,fmc_gw04,fmc_gw05,fmc_gw06, &
    savr_gc01,savr_gc02,savr_gc03,savr_gc04,savr_gc05,savr_gc06, &
    fuelload_gc01,fuelload_gc02,fuelload_gc03,fuelload_gc04,fuelload_gc05,fuelload_gc06
>>>>>>> release

The reason seems to be that commits after my last commit 3c960d7 to the tip of develop-3 (currently at 363ce81) are changes in the fuel subsystem and conflict with different changes the fuel subsystem in the release branch (currently at 792e703).

I am continuing standalone as branch develop-3jm from my last commit 3c960d7 and abandoning branch develop-3.

Please review the orphaned commits in branch develop-3 after 3c960d7 and merge or cherry pick somewhere if you want to keep them.

janmandel added a commit that referenced this issue Jul 30, 2023
janmandel added a commit that referenced this issue Jul 30, 2023
On branch develop-3jm
janmandel added a commit that referenced this issue Jul 30, 2023
git merge develop-3jm
Updating 792e703..420aef7
Fast-forward
 standalone/Makefile        | 9 ++-------
 standalone/module_domain.F | 1 +
 test/em_fire/hill/fire.exe | 1 +
 3 files changed, 4 insertions(+), 7 deletions(-)
only standalone changes, regression not needed
@Aurel31
Copy link
Collaborator

Aurel31 commented Jul 31, 2023

Hi @janmandel
The fuel subsystem is currently under modification to include several fuel classifications.
To solve the conflict, I suggest you keep the fuel_categories namelist name and content as the fuel_categories_anderson_13 name will probably change soon.
The only added variable in the namelist is k_tc which is only used in the new rate of spread model currently under development and not implemented. You can leave it and not merge it.

@janmandel
Copy link
Member Author

Standalone driven by wrfout OK, closing the issue #3

@kylehilburn @Aurel31 @Fergui

@janmandel janmandel removed the active On going work label Aug 3, 2023
janmandel added a commit that referenced this issue Aug 3, 2023
On branch develop-3-abandoned
No changes
@janmandel
Copy link
Member Author

Hi @janmandel The fuel subsystem is currently under modification to include several fuel classifications. To solve the conflict, I suggest you keep the fuel_categories namelist name and content as the fuel_categories_anderson_13 name will probably change soon. The only added variable in the namelist is k_tc which is only used in the new rate of spread model currently under development and not implemented. You can leave it and not merge it.

@Aurel31
OK leaving the extra commits as branch develop-3-abandoned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants