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

Add meaningful error message for 1-stratum data-sets #71

Closed
AdamCSmithCWS opened this issue Nov 10, 2023 · 0 comments · Fixed by #84
Closed

Add meaningful error message for 1-stratum data-sets #71

AdamCSmithCWS opened this issue Nov 10, 2023 · 0 comments · Fixed by #84
Assignees

Comments

@AdamCSmithCWS
Copy link
Contributor

Currently, datasets with only 1 stratum (species with very small ranges and coarse grained stratifications such as BCRs), throw an obscure error in the run_model() function. The error references a dimension mismatch that relates to a multi-dimensional array that should have a dimension defined by the number of strata.

To do:

  1. Short-term: add a meaningful error message. include suggestions to try a finer grained stratification (latlong).
  2. Long-term: adjust the code and models so that the models can be fit using only a single stratum.
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

Successfully merging a pull request may close this issue.

1 participant