Hi!
I have a question regarding the function ss3om::readFLSss3(). I am working with an SS3 model with four seasons, where:
- Spawning occurs at the beginning of April (season 2).
- Recruitment is set at the beginning of July (season 3).
However, when reading the model into FLStock using readFLSss3(), it appears that only season 1 is being considered, which results in recruitment being equal to zero (rec = 0).
Upon inspecting the FLStock object, I noticed that the season dimension is set to 1, instead of reflecting the four seasons defined in the SS3 model.
stk
An object of class "FLStock"
Name: ane.27.9aS
Description: 2024, ICES, SS3
Quant: age
Dims: age year unit season area iter
4 36 1 1 1 1
Range: min max pgroup minyear maxyear minfbar maxfbar
0 3 3 1989 2024 0 3
Metrics:
rec: 0 - 0 (1000)
ssb: 11456 - 38736 (t)
catch: 566 - 9528 (t)
fbar: 0.042 - 0.931 (f)
How can I ensure that readFLSss3() correctly reads all seasons from the SS3 model?
Is there a specific option or argument in the function to correctly assign spawning stock biomass (SSB) and recruitment to the appropriate seasons?
I would appreciate any guidance on how to resolve this issue.
María José
Hi!
I have a question regarding the function ss3om::readFLSss3(). I am working with an SS3 model with four seasons, where:
However, when reading the model into FLStock using readFLSss3(), it appears that only season 1 is being considered, which results in recruitment being equal to zero (rec = 0).
Upon inspecting the FLStock object, I noticed that the season dimension is set to 1, instead of reflecting the four seasons defined in the SS3 model.
stk
An object of class "FLStock"
Name: ane.27.9aS
Description: 2024, ICES, SS3
Quant: age
Dims: age year unit season area iter
4 36 1 1 1 1
Range: min max pgroup minyear maxyear minfbar maxfbar
0 3 3 1989 2024 0 3
Metrics:
rec: 0 - 0 (1000)
ssb: 11456 - 38736 (t)
catch: 566 - 9528 (t)
fbar: 0.042 - 0.931 (f)
How can I ensure that readFLSss3() correctly reads all seasons from the SS3 model?
Is there a specific option or argument in the function to correctly assign spawning stock biomass (SSB) and recruitment to the appropriate seasons?
I would appreciate any guidance on how to resolve this issue.
María José