hunter-stanke / rFIA

rFIA
https://rfia.netlify.com/
47 stars 23 forks source link

growMort function won't run #50

Open langoodall opened 9 months ago

langoodall commented 9 months ago

Hello,

When I attempt to use the growMort function it runs for a while but then hits an error and tells me that it cannot find the variable P2PNTCNT_EU. When I look for this in the FIADB user guide I also cannot find it. Has it changed name and is still in the data in a different form, or is this function now fundamentally broken because of the absence of this variable. The data I am using comes from NC if that helps.

Cheers,

Louis

lzjlj commented 3 months ago

I also encountered this problem. The main reason is that the updated data deleted some of the original content. You can find the reason by looking at the calculation formula of the growMorth function. The solution is to modify the formula or add a column of content to the data and set the value to missing.