-
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
base: main
Are you sure you want to change the base?
Changes from 23 commits
fc9f282
1b4fae2
cb141cf
8fc2243
68e4be6
a38efee
d82f2d6
000c14b
ae7e038
a5c942d
36370ec
4fe8777
6e5489b
b38a22a
ff3eafd
e3ecab6
481d540
17db11a
d77d112
7753a3d
76a2b6a
10d2acf
4aba622
9b701ae
8692fdc
2c0b932
57865a5
47621d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,8 +8,19 @@ default: | |||||
| raw_data_dir: "data_raw" | ||||||
| cache_dir: "cache" | ||||||
| pecan_outdir: "/projectnb2/dietzelab/ccmmf/modelout/ccmmf_phase_2b_mixed_pfts_20250701" | ||||||
| master_design_points: "/projectnb2/dietzelab/ccmmf/data/design_points.csv" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: these are just design points ...
Suggested change
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. rename 👍 |
||||||
| pecan_xml_template: "data_raw/template.xml" | ||||||
| sites: | ||||||
| design_points_file: "data_raw/sa_design_points.csv" | ||||||
| n_sample: 10 | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it would be more clear to put |
||||||
| sensitivity: | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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, 2 ) run configs (n_ensemble, n_met, start_date, end_date) -- moved these here from being hardcoded in I have minimized config, let me know if you still have any specifics |
||||||
| sigma_levels: [-3, -2, -1, 1, 2, 3] # Standard | ||||||
| # Or use [-2, -1, 1, 2] for faster runs | ||||||
| # ensemble: | ||||||
| # size: 20 | ||||||
| # n_met: 10 | ||||||
| # run: | ||||||
| # start_date: "2016-01-01" | ||||||
| # end_date: "2023-12-31" | ||||||
| projection: | ||||||
| ca_albers_crs: 3310 | ||||||
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.
Once we have ccmmf_dir, can we change this to use that as a variable? That way it is only necessary to change the system-specific path once. (also applies to master_design points etc. )
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.
I looked into this, unfortunately yaml doesn't support variable substitution like $ccmmf_dir/modelout/...
If you'd prefer we could switch to an R based config