-
Notifications
You must be signed in to change notification settings - Fork 93
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
interaction with snow bugfix causes restart failures with ED #74
Comments
Ben, thanks for narrowing this down. It seems to me that there might now be a problem with frac_sno not actually If there is snow (h2osno(c)>1, line 516 in canopyhydrology) then I can't find that logic. Maybe it's in a different file. It seems wierd Sean, does this make sense? Cheers, On 10 June 2016 at 11:04, Ben Andre [email protected] wrote:
Dr Rosie A. Fisher Terrestrial Sciences Section |
From my discussion with Sean Swenson and tracing through the code, I think the logic is that that frac_sno is being updated by canopy hydrology. For the conditions you described (existing snow, no melt, no new), it was set either by cold start, restart or the previous time step. There is no update for the current step because nothing changed. |
That sounds right. Apologies for my earlier missing of that train of In the previous world, when there was snow, it was actually being updated On 14 June 2016 at 09:48, Ben Andre [email protected] wrote:
Dr Rosie A. Fisher Terrestrial Sciences Section |
Two things from conversation with Sean....
We'll keep thinking about it. On 14 June 2016 at 11:12, rosie fisher [email protected] wrote:
Dr Rosie A. Fisher Terrestrial Sciences Section |
You can clone my version of the repo: git clone [email protected]:bandre-ucar/ed-clm.git
cd ed-clm
git checkout -b i74-ed-snow-bugfix 56dfb030
cd cime/scripts
./create_test -testname ERS_D_Ld5.f10_f10.ICLM45ED.yellowstone_intel.clm-edTest -testid i74 go into into the test directory, compile, submit, check 'TestStatus' file. |
Note from Sean Swenson:
|
I ran Rosie's proposed change from i74-ed-snow-bugfix at revision 9cf97cf through the test suite. This appears to have resolved almost all the restart problems in #74, #14, #43 . There is only a single remaining restart failure:
How do we want to proceed? Do @ckoven or @rgknox want to review it? Do we want to bring this into master as a separate PR first, then I can merge it into my branch? |
This is great news guys. Congrats on getting this stuff squared away. I took a look through Rosie's changes, and the seem plenty large enough to merit their own PR. |
This looks closed, have all these problems been resolved? |
@rgknox I think this has been resolved. |
Summary of Issue:
CLM 5 development included a series changes and bugfixes to snow, see clm4_5_x_r121, r141, r142, r141, r149, r153.
ED seems to be compatible with most of these, but a bugfix in r153 causes ED f10 and f45 restarts to break. See comments in #46. The exact change which causes restarts to break is:
Sean Swenson said that the changes is correct, because that if block should only be changing
frac_sno
when there is snow melt, not when snow melt is zero. If there is no melt, then thefrac_sno
should be left at the previous value until another process modifies it.ED interacts with snow through the
frac_sno_eff
variable, used to determine the fraction_exposed at each height class. See EDCLMLinkMod.F90.Expected behavior and actual behavior:
ED should restart correctly at f10 and f45 resolutions. f09 and f19 are not expected to work (#14 and #43).
Visualizing diffs in restart files, the error occurs at a single point in the antarctic, just north of McMurdo.
Steps to reproduce the problem (should include create_newcase or create_test command along with any user_nl or xml changes):
Checkout any version of ED after the merge with r153 and run a restart test at f45 or f10.
What is the changeset ID of the code, and the machine you are using:
56dfb03 and any later changes.
have you modified the code? If so, it must be committed and available for testing:
no
The text was updated successfully, but these errors were encountered: