Open kaijagahm opened 3 years ago
After re-parameterizing the equation, the new parameters will need to be hard-coded into the vonBCheck()
function, which calls the vonB()
function. The code for these functions can be found in 'checks.R' in the fish entry tool. Currently, they're at lines 718-803.
When this is fixed, the vonBCheck
line in 'fishEntry.R' should be un-commented (currently it's line 369 of fishEntry.R).
Notes from KG/SEJ meeting 6/25: The von Bertalanffy check doesn't currently work well. It flags almost all fish as being too small/overestimates how large they should be based on growth curves.
Likely, the equation needs to be re-parameterized (separate parameters for Long Lake and the other lakes). Can do this by pulling out fish ages and weights from the FISH_OTOLITHS table and fitting growth curves to them. Put the revised parameters into the existing
vonBCheck
andvonB
functions. Note that doing this may depend on first resolving issue #134.Another note: should add another
if()
statement to the check to limit it to only LMB. Currently it checks all species, but the growth curves we have really only apply to LMB.