flr/FLCore

harvest slot in FLStock

marchtaylor opened this issue · 6 comments

Just a small clarification needed for the FLStock class - The help file states that the harvest slot should contain "Harvest rate or fishing mortality. The units of the FLQuant should be set to 'harvest' or 'f' accordingly (FLQuant)". From what I can tell, "hr" should be defined as the unit in the case of harvest rate. Or are both "hr" and "harvest" accepted?

Hi,

Yes, should be either 'f' or 'hr'. Although units is a character slot mostly for house-keeping purposes, the ssb method looks at units of harvest to do the right calculation. Fixed in current commit.

Thanks for the update.

I would have thought this might also affect FLash::fwd, but it looks like that only accepts @harvest=="f". Out of curiosity, is there a reason why "hr" is not an option?

FLash is all coded around Baranov, so it was done only for F. For FLasher we could have an hr target, I assume. Maybe you could add an issue on it at

https://github.com/iagomosqueira/FLasher/issues

Thanks Iago - will do.