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

Confusing warning message when tree calculated values has neg/gross primary biomass of 0 #52

Open
BenCamps opened this issue Jul 10, 2024 · 0 comments

Comments

@BenCamps
Copy link
Contributor

When summing up gross and net primary biomass when UOM is 05 there is a warning check to see if the values are 0. If they are it adds the following warning on Tree Calculated Values "BIOMASS FLAG NOT CHECKED -- NO WEIGHT CALCULATED"

This error can be confusing on for two reasons: It doesn't identify what tree the warning is originating from, and it isn't saying what it actually is checking and assuming that calcBiomass wasn't checked.

see:

dataLayer.LogError("TreeCalculatedValues", (int)tcv.Tree_CN, "W", "21");

dataLayer.LogError("TreeCalculatedValues", (int)pt.Tree_CN, "W", "21");

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