Fixes #48. Updates biomass_new.R and carbon_new.R to remove columns that no longer exist in FIA databases distributed by the USFS. This allows the rFIA::biomass function to work as expected, but the modelSnag argument in rFIA::carbon now has no effect.
The elimination of modelSnag functionality could be restored if the pre-existing calculations were rewritten to draw from the columns that now exist in the FIA database (since STANDING_DEAD no longer exists, would need to derive it from FIA field TREE.CARBON_AG for dead trees only).
Fixes #48. Updates
biomass_new.R
andcarbon_new.R
to remove columns that no longer exist in FIA databases distributed by the USFS. This allows therFIA::biomass
function to work as expected, but themodelSnag
argument inrFIA::carbon
now has no effect.The elimination of
modelSnag
functionality could be restored if the pre-existing calculations were rewritten to draw from the columns that now exist in the FIA database (since STANDING_DEAD no longer exists, would need to derive it from FIA field TREE.CARBON_AG for dead trees only).