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

Fixes: growth and allometry #395

Merged
merged 4 commits into from
Jun 8, 2018
Merged

Conversation

rgknox
Copy link
Contributor

@rgknox rgknox commented Jun 6, 2018

Description:

This PR adds two bug fixes. Bug 1: During plant growth, there is a routine that re-calculates plant diameter in cases where either integration errors or fusion has generated structural biomass that is off-allometry with diameter. After correcting diameter, we were not updating the allometric targets, now we do. Bug 2: In sapwood allometric calculations, the derivative of the sapwood biomass was not being calculated in cases where sapwood was being capped to not exceed structural biomass (ie very small plants).

Collaborators:

@ckoven provided discussion and testing

Expectation of Answer Changes:

This may change answers slightly for very large trees and possibly for very small plants.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the in-code documentation AND wiki accordingly.
  • I have read the CONTRIBUTING document.
  • FATES PASS/FAIL regression tests were run
  • If answers were expected to change, evaluation was performed and provided

Test Results:

HLM test hash-tag:

19f887d

Test Output:

fates test suite, All PASS

@rgknox rgknox requested a review from ckoven June 7, 2018 19:11
Copy link
Contributor

@ckoven ckoven left a comment

Choose a reason for hiding this comment

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

Chatted about this with @rgknox. It all makes sense to me. Also I've been using this code for ensemble runs that went out successfully for 400 years (when it was dying at year 125 before).

@rgknox rgknox force-pushed the rgknox-growth-allom-fixes branch from 9a85b61 to d2b79d9 Compare June 7, 2018 23:11
@jenniferholm
Copy link
Contributor

@rgknox - nice job catching these bugs. Regarding the bug #1, now that the allometry targets are updated (after corrected plant diameter), do you think this will have a big effect on reducing the diameter of very large trees? Or only a minimal effect since it sounds like it is only for plants in integration errors or fusion?
I'm asking this because I'm wondering if I should re-run my Manaus simulations after these bug fixes. With the latest code I'm still seeing the resurgence of dominance of really big trees. (But I have also been testing with different canopy spreads and carbon allocation and mortality of large trees, which is helping to reduce the large trees).

@rgknox
Copy link
Contributor Author

rgknox commented Jun 8, 2018

Hi @jenniferholm ,

Its hard to say but I don't expect much difference in results. The benefits will mostly be towards integration stability. Like you said, the differences are going to be on the scale of the integration errors and fusion errors and those aren't very high.
I would not recommend re-running your simulations.

@jenniferholm
Copy link
Contributor

@rgknox - Ok, sounds good! Thanks

@rgknox rgknox merged commit 94bfdd3 into NGEET:master Jun 8, 2018
@rgknox rgknox deleted the rgknox-growth-allom-fixes branch July 31, 2018 23:14
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