Repository navigation
minSpeciesEcoregionShare: remove species rare in an ecoregion (default 0.07) - #135
Merged
Merged
Conversation
…AndCleanInitialCohortData Needs LandR#264 (and its version bump to 1.2.0.9046). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NrcKsYkv9Qx5qU4JTxSzGN
… BC ELF) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NrcKsYkv9Qx5qU4JTxSzGN
Collaborator
Author
|
This type of idea has been discussed for over a year. Now finally implemented. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds the parameter
minSpeciesEcoregionShare(default 0.07) and passes it toLandR::makeAndCleanInitialCohortData(). WithinstudyArea_biomassParam, a species present (cover aboveminCoverThreshold) in fewer than 7% of an ecoregion's vegetated pixels is removed from every pixel of that ecoregion. With no cohorts left there, the existing code gives itestablishprob = 0and nomaxB/maxANPPin that ecoregion.The default comes from BC ELFs with BEC zones (
localEcozones). Western redcedar in the mountain hemlock (MH) zone ranges up to 6.7% by ELF (13.2.1), and in ESSF up to 2.2%. It should not persist in either. Its lowest share where it belongs is 7.3% (ICH in ELF 14.1). Set the parameter to 0 for the old behaviour.Merge order: needs PredictiveEcology/LandR#264 merged and bumped to 1.2.0.9046 (the new
reqdPkgsfloor).tests/testthat/test-metadata.Rlists the new parameter.🤖 Generated with Claude Code
https://claude.ai/code/session_01NrcKsYkv9Qx5qU4JTxSzGN