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

Summarizing by subplot gives wrong values #31

Open
eartherin opened this issue Jun 6, 2022 · 0 comments
Open

Summarizing by subplot gives wrong values #31

eartherin opened this issue Jun 6, 2022 · 0 comments

Comments

@eartherin
Copy link

My colleague and I were going over some numbers that he generated using rFIA and grouping by SUBP. He compared those to values that I had scripted out by aggregating from TREE table that I pulled directly from FIADB. The data from the tree tables were both identical; the issue came when summarizing at the subplot level. rFIA values of TPA and total BA were too low when grouped by the subplot level. We determined that this is because, in rFIA, the TPA_UNADJ is not being multiplied by 4 to account for the smaller area in a subplot compared to the entire plot. This is a major problem for anyone using rFIA for subplot level aggregations who is unaware that the returned values should be multiplied by 4 to be correct.

I see 2 potential solutions - it could be either preventing aggregation at the subplot level, or altering the rFIA package so that when SUBP is selected as a grouping variable, TPA_UNADJ is multiplied by 4. There may be another solution that I’m not considering.

Thanks for addressing this.

-Erin Berryman (RMRS-FIA)

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

No branches or pull requests

1 participant