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

Rosie/spitfire cleanup #148

Merged
merged 13 commits into from
Dec 1, 2016
Merged

Rosie/spitfire cleanup #148

merged 13 commits into from
Dec 1, 2016

Conversation

rosiealice
Copy link
Contributor

@rosiealice rosiealice commented Nov 14, 2016

[ Modifications to turn SPITFIRE on]

[Turns on SPITFIRE by changing the previously always-off hard-wired temporary switch. Makes use_ed_spitfire off by default. Adds a single test for when spitfire is on. Fixes two science bugs in the litter moisture and wind effect algorithms. ]

Fixes: [NGT-ED Github issue #22 ]

User interface changes?: [No]

Code review: [Ben Andre. Rosie Fisher. Jackie Shuman, Ryan Knox ]

Test suite: [ed , clm_short_45, clm_short_50, yellowstone, intel]
Test baseline: [ed-clm-44aac42, clm4_5_12_r195]
Test namelist changes:?
Test answer changes: [changes answers when fire is on (expected)]

Test summary: [grep -e FAIL ~/rosie-sf-status.txt | grep -v summary
FAIL ERS_D_Ld5.5x5_amazon.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL ERS_D_Ld5.f09_g16.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL ERS_D_Ld5.f10_f10.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL ERS_D_Ld5.f19_g16.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL ERS_D_Ld5.f45_g37.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL ERS_D_Mmpi-serial_Ld5.1x1_brazil.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL SMS_D_Ld5.f10_f10.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL SMS_D_Ld5.f45_f45.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL SMS_D_Lm6.f45_f45.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
FAIL SMS_D_Mmpi-serial_Ld5.5x5_amazon.ICLM45ED.yellowstone_intel.clm-edTest.clm2.h0.nc : baseline compare clm2.h0 (baseline: compare .base file with ed-clm-44aac42 file)
CFAIL SMS_Ld5.f10_f10.ICLM45ED.yellowstone_intel.clm-edTest.C.1710163-ed-sfclean
CFAIL SMS_Ld5.f19_g16.ICLM45ED.yellowstone_intel.clm-edTest.C.1710163-ed-sfclean]

@rgknox
Copy link
Contributor

rgknox commented Nov 15, 2016

Thanks Rosie, I will get a review in on this over the next few days.
Review: Implementation seems fine, saw no issues. Will start testing on lawrencium soon.

@rgknox
Copy link
Contributor

rgknox commented Nov 28, 2016

All tests look good on lawrencium, except for the "edNoFire" test, because that test condition no longer exists. I think we just need to switch that test to the "edFire" test and we should be good to go.
I'd be happy to make the change if no one gets to it before me.

@rgknox
Copy link
Contributor

rgknox commented Nov 29, 2016

This PR looks fine to me. Any others want a review? @bandre-ucar, can you sign off on this too?

@bandre-ucar bandre-ucar self-assigned this Nov 29, 2016
@bandre-ucar
Copy link
Contributor

Looks fine. I'll test on yellowstone.

@bandre-ucar
Copy link
Contributor

Testing on yellowstone and hobart-nag.

@@ -56,7 +56,7 @@ subroutine fire_model( currentSite, atm2lnd_inst, temperature_inst)

!zero fire things
currentPatch => currentSite%youngest_patch
temporary_SF_switch = 0
temporary_SF_switch = 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just reviewing the changes for the commit message and noticed the temporary_SF_switch is still here.

Spitfire is runtime configurable and is now off by default. Since it is easy to turn on/off via-name list and this is only used to disable spitfire at compile time, it seems like this should be removed....

@rosiealice
Copy link
Contributor Author

rosiealice commented Nov 30, 2016 via email

@rosiealice
Copy link
Contributor Author

Is it easy to get this on to the trunk without modifying the switch? Jackie and I are waiting on getting this piece sorted so we can move ahead with fixing all of the issues we found in the SPITFIRE code while comparing it to newer publications, etc. So, we can easily remove the actual code for the hardwired switch during that process?

Remove temporary_SF_switch. Spitfire is runtime configurable via name
list and is now off by default. This switch was only used to disable
spitfire at compile time.

Fixes: 140

User interface changes?: spitfire configured at runtime instead of
compile time.

Code review: self

Test suite: SMS_D_Mmpi-serial_Ld5.5x5_amazon.ICLM45ED.yellowstone_intel.clm-edTest
Test baseline: 2ac7960
Test namelist changes: none
Test answer changes: bit for bit
Test summary: pass
@bandre-ucar
Copy link
Contributor

@rosiealice It simpler and clearer in the long run remove it now so the changes related to the switch and tests are all in a single merge. I've submitted a PR to you with the fix. Please accept it and I'll test and merge this PR this afternoon.

@bandre-ucar
Copy link
Contributor

Testing on yellowstone and hobart.

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

Successfully merging this pull request may close these issues.

3 participants