Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

´create.fleets.data´ does not distinguish fixed biomass stock #17

Open
marchtaylor opened this issue May 31, 2017 · 2 comments
Open

Comments

@marchtaylor
Copy link
Contributor

I have several stocks which are without age structure, (1 year class), but which will be fixed populations (i.e. no biomass dynamics). In the create.fleets.data conditioning function, I get an error at lines 464-466 (https://github.com/flr/FLBEIA/blob/master/R/Conditioning_create.fleets.data.R) because I am not providing a biomass growth value in the list stks.data:

if(length(stk.age.min:stk.age.max)==1){
     largs$stk.gB <- get(grep(stks.data[[ nmfl.met.stk]],pattern=paste(nmfl.met.stk,'_gB.flq',sep=''), value = TRUE)) 
}else{ largs <- NULL}

Should I just provide a dummy value (e.g. 1.0), or is there a change that should be made to the conditioning function?

@ssanchezAZTI
Copy link
Contributor

ssanchezAZTI commented Jun 1, 2017 via email

@marchtaylor
Copy link
Contributor Author

Hi Sonia,
Great, thanks for this information and the notice of the new manual.
Cheers, Marc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants