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.biols.data not working correctly #16

Open
marchtaylor opened this issue May 5, 2017 · 7 comments
Open

create.biols.data not working correctly #16

marchtaylor opened this issue May 5, 2017 · 7 comments

Comments

@marchtaylor
Copy link
Contributor

Dear FLBEIA folks,
I am trying to recondition my FLBiols object and am having trouble with the create.biols.data function.

First, there seems to be a mistake in the help file - Rather than the list elements needing "stk.min.age" and "stk.max.age", I believe these should be named "stk.age.min" and "stk.age.max". Also, "stk_range.plusgroup" is missing.

I also believe the function has yet to be updated to the new FLBiol format. For example, several of the dimension checks call stk.fec instead of stk.fec$fec.

@AgurtzaneUrtizberea
Copy link
Contributor

AgurtzaneUrtizberea commented May 5, 2017 via email

@marchtaylor
Copy link
Contributor Author

Thanks Agurtzane. I'm attempting to do my conditioning outside the function for the meantime. I've come across the following issue with FLBiol as well: flr/FLCore#35

Seems to not want to allow expanding of the @fec, @mat, and @rec dimensions to include projection years. Maybe you have experienced this issue as well.

@ssanchezAZTI
Copy link
Contributor

ssanchezAZTI commented May 5, 2017 via email

@marchtaylor
Copy link
Contributor Author

Great - fast response time here :-)

Also, I managed to find out how to replace values in the model slots of the new FLBiol format. You may need to adopt some of your code that replaces NAs: e.g. mat(biol)[is.na(mat(biol))] <- 0

@marchtaylor
Copy link
Contributor Author

One more related issue: create.list.stks.flqa will probably need to be updated to get patterns "range.min" and "range.max" objects (instead of "age.min" and "age.max")

@ssanchezAZTI
Copy link
Contributor

ssanchezAZTI commented May 8, 2017 via email

@AgurtzaneUrtizberea
Copy link
Contributor

AgurtzaneUrtizberea commented May 18, 2017 via email

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

3 participants