USFS-PNW / Fia-Biosum-Manager

User interface and main code repository for Biosum
http://biosum.info/
Other
3 stars 3 forks source link

change in behavior sought for when vol and biomass attributes differ between master.tree and JAR calcs #256

Open jsfried opened 3 years ago

jsfried commented 3 years ago

currently master.tree populates Vol/bio attributes from jar calcs unless these return a null in which case that attribute is carried from the FIADB.tree data. This assignment logic fails to notify us of a potential glitch. It should not be the case that one is null and one is not. Instead of making re-assignments, it would be more helpful to write the cases where this occurs to a text or database table as a diagnostic and pop an OK dialog box to alert the user to the event and location of the diagnostic. Goal: convert this conditional (on null) assignment to produce diagnostically useful info (i.e., a kind of audit).