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

.createCohortData not doing what it says it does? #37

Open
CeresBarros opened this issue Feb 14, 2020 · 5 comments
Open

.createCohortData not doing what it says it does? #37

CeresBarros opened this issue Feb 14, 2020 · 5 comments

Comments

@CeresBarros
Copy link
Member

.createCohortData is supposed to (among other things) message(blue("Set B to 0 where cover > 0 and age = 0, because B is least quality dataset")). However this doesn't seem to be enforced in the code. Both B (biomass) and age are indeed being corrected (to 0) when cover == 0. However, having cover > 0 and age == 0 doesn't seem to be assessed, nor to influence/correct B to 0.

@eliotmcintire
Copy link
Contributor

eliotmcintire commented Feb 18, 2020 via email

@CeresBarros
Copy link
Member Author

Just noticed that the described behaviour is enforced at the end of the makeAndCleanInitialCohortData call (after the .createCohortData call). However, I suggest that it is "copied" to .createCohortData, for consistency with the message and the other checks/fixes that .createCohortData makes.

I also wonder if it makes sense to leave cover > 0 when age == 0 (and B is forced to 0).
Thoughts?

@CeresBarros
Copy link
Member Author

see #38

@achubaty
Copy link
Contributor

achubaty commented May 9, 2024

has this been resolved?

@CeresBarros
Copy link
Member Author

I don't think so

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