Add boundaries argument to run_sdmtmb() and add new area to boundaries_data #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was changed/addressed
I don't know what the current workflow is, but for exploring the fraction of Petrale Sole north of 46 degrees 53.3 minutes, I found it helpful to be able to add a boundary argument to
run_sdmtmb()
. Perhaps this is unnecessary if you typically run the model once and then separately callcalc_index_areas()
after the initial estimation. If so, go ahead and delete this PR.I also added new "North of 46deg 53.3min" and "South of 46deg 53.3min" areas to boundaries_data. If you'd rather not have that file include stuff like this, but think the other commit is useful, please cherry pick as you wish.
These changes allowed me to get everything I wanted in a single call to
run_sdmtmb()
:Related to issue(s)
No issue. Need for petrale calculation discussed by email.