-
Notifications
You must be signed in to change notification settings - Fork 92
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
Conversation
…e SPITFIRE test into the test suite.
Merge branch 'master' into rosie/spitfire_cleanup Conflicts: components/clm/cime_config/testdefs/testlist_clm.xml
Thanks Rosie, I will get a review in on this over the next few days. |
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. |
Swapped out the EdNoFire for EdFire test.
This PR looks fine to me. Any others want a review? @bandre-ucar, can you sign off on this too? |
Looks fine. I'll test on yellowstone. |
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 |
There was a problem hiding this comment.
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....
We can definitely get rid of it...
…On 29 November 2016 at 17:01, Ben Andre ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In components/clm/src/ED/fire/SFMainMod.F90
<#148 (review)>:
> @@ -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
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....
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#148 (review)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMWsQ-AiKZYKFAS8gOXjyun4qKDT_PY6ks5rDLzugaJpZM4Kx1jn>
.
--
------------------------------------------------------------------------
Dr Rosie A. Fisher
Staff Scientist
Terrestrial Sciences Section
Climate and Global Dynamics
National Center for Atmospheric Research
1850 Table Mesa Drive
Boulder, Colorado, 80305
USA.
+1 303-497-1706
http://www.cgd.ucar.edu/staff/rfisher/
|
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
@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. |
Remove temporary_SF_switch
Testing on yellowstone and hobart. |
[ 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]