-
Notifications
You must be signed in to change notification settings - Fork 2
Implement multi-site local sensitivity analysis workflow #1
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
Open
divine7022
wants to merge
28
commits into
ccmmf:main
Choose a base branch
from
divine7022:local-SA
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 18 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fc9f282
update config
1b4fae2
update template.xml
cb141cf
add R scripts for local sensitivity analysis
8fc2243
add local SA analysis script
68e4be6
add processed data outputs for SA
a38efee
add design_points_198.csv for multisite SA
d82f2d6
add sa_design_points.csv for SA generation
000c14b
add workflow scripts for local SA
ae7e038
Revert "add processed data outputs for SA"
a5c942d
Revert "add sa_design_points.csv for SA generation"
36370ec
made sigma configurable
4fe8777
update sigma_level
6e5489b
corrected dplyr namespace
b38a22a
made quantile block as first entry of sensitivity.analysis
ff3eafd
save regression_results as csv
e3ecab6
updated analyze_environmental_gradient() to fits regressions of both …
481d540
update local sensitivity analysis report
17db11a
ensure data directory exists
d77d112
add the data/design_points.csv path
divine7022 7753a3d
add process_sa_file helper function and refactor doc
divine7022 76a2b6a
refactored to completely drop the clustering logic and it now acts pu…
divine7022 10d2acf
fix indent
divine7022 4aba622
remove XML dependency and replaced raw XML file re-parsing with direc…
divine7022 9b701ae
correct design_points path
divine7022 8692fdc
fix sa variables extraction logic
divine7022 2c0b932
address review comments
divine7022 57865a5
cleanup unused
divine7022 47621d3
update comment
divine7022 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The goal with this file was to handle settings that aren't in the pecan xml. Is there a reason that these are included here rather than the template.xml?
Minimizing config options here, and providing sensible defaults in the template.xml could make it more clear to end users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, template.xml already holds most pecan specific defaults. The items in 000-config.yml fall into two categories,
1 ) project level paths (ccmmf_dir, design_points, pecan_outdir) -- these are system specific and shouldn't live in template.xml since can change per machine
2 ) run configs (n_ensemble, n_met, start_date, end_date) -- moved these here from being hardcoded in
002_build_xml.R so users can configure them in one place. They feed into the XML building step
I have minimized config, let me know if you still have any specifics