Repository navigation
write sensitivity runs only for a site's own PFTs - #4136
Open
divine7022 wants to merge 4 commits into
Open
divine7022 wants to merge 4 commits into
divine7022 wants to merge 4 commits into
Conversation
infotroph
reviewed
Oct 5, 2026
| # a site's configs only get its own PFTs' parameters (see | ||
| # write.ensemble.configs), so a run moving another PFT's trait would just | ||
| # repeat the median run | ||
| site.pfts <- intersect(as.character(unlist(settings$run$site$site.pft)), pft.names) |
Member
There was a problem hiding this comment.
Does SA support segmented runs? In the segmented case site.pft contains the initial PFT and others are activated in later segments using the PFT parameters passed here.
Member
There was a problem hiding this comment.
I suspect one could make a design argument that from the run.write.configs perspective maybe site.pft should contain every PFT the site will use at any time in the run. But making it work that way would need a change in how write.config.SIPNET handles it and I'm not immediately sure how we'd mark the initially active PFT.
Member
|
@divine7022 gentle nudge about my question above -- seems important to get right before merging. |
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.
Description
run.write.configsdrops design rows that move a trait of a PFT not listed in the site's<site.pft>, before the SA runs are written. If none of the site's PFTs were sampled nothing is dropped, the same rulewrite.ensemble.configsuses.Motivation and Context
write.ensemble.configs()gives each site only its own PFTs' parameters, so a run moving another PFT's trait was an exact copy of the median run. The oldwrite.sa.configs()skipped them.In my 100 site statewide design this was 633 runs per site instead of 157
Review Time Estimate
Types of changes
Checklist: