lkerr / groundfish-MSE

Development of Robust Management Strategies for Northeast Groundfish Fisheries in a Changing Climate
MIT License
4 stars 2 forks source link

SSB and SSB_cur #260

Closed mle2718 closed 1 year ago

mle2718 commented 1 year ago

I noticed the outputs SSB and SSB_cur are saved. Can someone help me figure out the difference between these two?

https://github.com/lkerr/groundfish-MSE/blob/cc47350ce27e43a11bd4443ba41cadb4c7e3a592/functions/get_containers.R#L38 https://github.com/lkerr/groundfish-MSE/blob/cc47350ce27e43a11bd4443ba41cadb4c7e3a592/functions/get_containers.R#L89

https://github.com/lkerr/groundfish-MSE/blob/ea59c71d82db906bd7f280c4390809ba0b5c8c86/functions/datawrangling/get_fillRepArrays.R#L16-L25

jerellejesse commented 1 year ago

Looks like the SSB is calculated like this using the Jan-1 abundance from the previous year https://github.com/lkerr/groundfish-MSE/blob/72ef93b48c7603bda40f0f78dc2127bc3d1019ca/functions/popdy/get_J1Updates.R#L21

And the SSB_cur is using the abundance for the current year, calculated like this https://github.com/lkerr/groundfish-MSE/blob/72ef93b48c7603bda40f0f78dc2127bc3d1019ca/functions/popdy/get_J1Updates.R#L82

mle2718 commented 1 year ago

Thanks! Also that's ...weird.