ptompalski / MISTR

Implementation of Ontario's growth and yield models
8 stars 1 forks source link

Problem when specifying SFU parameter #3

Closed dfelixsattler closed 5 months ago

dfelixsattler commented 5 months ago

StandAttributes returns an error whenever an SFU parameter is specified. For example:

StandAttributes(SI = 18, age = 85, species = "PJ", SFU = "PJ1")

Error in calc_BA(SI = SI, BHage = bhage, SppId = SppId2, stocking = stocking, : No formula for NA

Likewise,

StandAttributes(SI = 18, age = 85, SFU = "PJ1", stocking = 1)

Species not provided. Using PJ as dominant species based on the entered SFU (PJ1). Error in calc_BA(SI = SI, BHage = bhage, SppId = SppId2, stocking = stocking, : No formula for NA