forked from DOI-USGS/lake-temperature-model-prep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path8_viz.yml
77 lines (65 loc) · 2.93 KB
/
8_viz.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
target_default: 8_viz
packages:
- scipiper
- dplyr
- ggplot2
- feather
- lakeattributes
- leaflet
- readr
sources:
- 8_viz/src/merge_lake_data.R
- 8_viz/src/render_html.R
- 8_viz/src/plot_lake_obs_counts.R
- 8_viz/src/count_lake_obs.R
targets:
8_viz:
depends:
- 8_viz/out/lakes_summary_fig.html.ind
- 8_viz/out/lake_obs_counts.png
8_viz/out/lake_obs_counts.png:
command: plot_lake_obs_counts(
out_file = '8_viz/out/lake_obs_counts.png',
temp_obs_ind = '7b_temp_merge/out/temp_data_with_sources.feather.ind',
nml_list_ind = '7_config_merge/out/nml_list.rds.ind')
# -- get WQP, coop data and merge -- #
# -- removes (coarsely defined) duplicates -- #
# -- removes egregious outliers in Jan/Feb (>10 deg C) and July/Aug (surface, <10 deg C)
# -- returns all times -- ##
# update with booleans for:
# has meteo, max depth, hypso, kw, kw_file, obs...
8_viz/inout/lakes_summary.feather.ind:
command: merge_lake_data(
out_ind = target_name,
temp_data_ind = '7b_temp_merge/out/temp_data_with_sources.feather.ind',
lake_depth_ind = '7_config_merge/out/nml_lake_depth_values.rds.ind',
lake_names_ind = '2_crosswalk_munge/out/gnisname_nhdhr_xwalk.rds.ind',
lake_loc_ind = '7_config_merge/out/nml_lat_lon_values.rds.ind',
lake_data_ind = '7_config_merge/out/nml_H_A_values.rds.ind',
lagos_xwalk = "2_crosswalk_munge/out/lagosus_nhdhr_xwalk.rds.ind",
MGLP_xwalk = "2_crosswalk_munge/out/mglp_nhdhr_xwalk.rds.ind",
WBIC_xwalk = "2_crosswalk_munge/out/wbic_nhdhr_xwalk.rds.ind",
Micorps_xwalk = "2_crosswalk_munge/out/micorps_nhdhr_xwalk.rds.ind",
MNDOW_xwalk = "2_crosswalk_munge/out/mndow_nhdhr_xwalk.rds.ind",
Winslow_xwalk = "2_crosswalk_munge/out/winslow_nhdhr_xwalk.rds.ind",
NDGF_xwalk = "2_crosswalk_munge/out/ndgf_nhdhr_xwalk.rds.ind",
kw_ind = "7_config_merge/out/nml_Kw_values.rds.ind",
meteo_ind = "7_config_merge/out/nml_meteo_fl_values.rds.ind",
meteo_files_ind = "7_drivers_munge/out/7_drivers_munged.feather.ind",
toha_varying_kw_ind = "4_params_munge/out/toha_varying_kw.rds.ind",
digitzing_hypos_ind = "8_viz/in/WI_hypso_list.rds.ind")
8_viz/out/lakes_summary_fig.html.ind:
command: render_html(filename_md = 'lake_data_map.Rmd', out_ind = target_name)
depends:
- 8_viz/inout/lakes_summary.feather.ind
8_viz/inout/summary_toha_sf.rds.ind:
command: summarize_MN_toha_lake_data(
out_ind = target_name,
mndow_xwalk_ind = "2_crosswalk_munge/out/mndow_nhdhr_xwalk.rds.ind",
lake_summary_ind = "8_viz/inout/lakes_summary.feather.ind",
walleye_count_ind = "8_viz/in/WAE_numYears_meanCPUE.csv.ind",
plant_priority_ind = "8_viz/in/JakeWalsh_NHDIDs.csv.ind")
8_viz/out/toha_lakes_summary_fig.html.ind:
command: render_html(filename_md = 'toha_lake_data_map.Rmd', out_ind = target_name)
depends:
- 8_viz/inout/summary_toha_sf.rds.ind