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

Deal with disconnects between equations that switch when trees cross a size threshhold #17

Closed
teixeirak opened this issue Feb 7, 2018 · 3 comments
Assignees
Labels
Projects

Comments

@teixeirak
Copy link
Member

The database will allow application of different equations to trees of different size (e.g., switch from a highly specific allometry for small sizes to a more generic one at sizes above that sampled for the specific one). This is desirable. However, when a tree crosses a size threshold, estimates of woody growth and ANPP will be seriously flawed. To address this, we need to incorporate code that forces the application of only one allometric equation-- even outside its range--to trees that grow over such a threshhold.

@teixeirak teixeirak added this to issues to address in related functions in R code Feb 8, 2018
@teixeirak
Copy link
Member Author

This will apply more to "wrapper" code than to allodb.

When looking at changes in biomass, we should track the allometry ID that is applied to each individual. If the allometry ID changes from one census to the next, we need to go back and calculate biomass using a consistent allometry, even if (slightly) outside the range for which an allometry was developed. When there's an equal number of records before and after the tree crossed a threshold, err on the side of using the allometry for larger diameters, as the tree will continue to grow (plus this should introduce less error).

@teixeirak
Copy link
Member Author

In cases where we transition from one equation to another as tree size increases, we should select the equation based where the lines cross rather than the min/max DBH associated to each allometry. For instance, for Liriodendron, small trees are described by a function that accelerates rapidly with DBH, and larger trees by a more gradual function. Based on the min/max diameters for each equation, trees would grow and then shrink by quite a bit when you transition to the new equation. Rather than allow this, we should switch to the large tree equation when the small-tree equation gets above what it would predict. (Sorry, I didn't save the plot showing this example, but it would be easy to reconstruct.)

@gonzalezeb
Copy link
Contributor

Closing issue. This was solve with the weighting system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
R code
issues to address in related functions
Development

No branches or pull requests

3 participants