-
Notifications
You must be signed in to change notification settings - Fork 4
/
3_observations.yml
41 lines (34 loc) · 1.25 KB
/
3_observations.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
target_default: 3_observations
packages:
- sf
- yaml
- nhdplusTools
- dplyr
- scipiper
sources:
- 3_observations/src/crosswalk_functions.R
- 3_observations/src/combine_obs.R
targets:
3_observations:
depends:
- 3_observations/out/nwis_nhdhr_flowline_crosswalk.rds.ind
- 3_observations/out/obs_subset.rds.ind
3_observations/out/nwis_nhdhr_flowline_crosswalk.rds.ind:
command: nwis_to_nhdhr_flowline(
ind_file = target_name,
nwis_uv_sites_file = '3_observations/in/nwis_uv_inventory.feather',
nwis_dv_sites_file = '3_observations/in/nwis_dv_inventory.feather')
3_observations/out/nwis_nhdhr_flowline_crosswalk.rds:
command: gd_get('3_observations/out/nwis_nhdhr_flowline_crosswalk.rds.ind')
3_observations/out/obs_subset.rds.ind:
command: subset_obs(
ind_file = target_name,
site_ids = '2_1_model_fabric/out/site_ids.rds',
obs = '3_observations/in/daily_temperatures.rds')
3_observations/out/obs_subset.rds:
command: gd_get('3_observations/out/obs_subset.rds.ind')
3_observations/out/obs_temp_flow.rds.ind:
command: combine_obs(
ind_file = target_name,
temp_obs_file = '3_observations/in/obs_temp_full.rds',
flow_obs_file = '3_observations/in/obs_flow_full.rds')