-
Notifications
You must be signed in to change notification settings - Fork 6
/
0_config.yml
96 lines (79 loc) · 3.38 KB
/
0_config.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
target_default: 0_config
targets:
##-- Historic data configs --##
# Don't touch these unless you have a REALLY good reason because they
# will trigger rebuilds of the historic pipeline and the instantaneous
# part takes a VERY long time.
historic_start_date:
command: as.Date(I('1900-01-01'))
historic_end_date:
command: as.Date(I('2020-12-31'))
historic_dv_fetch_size_limit:
command: I(50)
historic_uv_fetch_size_limit:
command: I(10)
# Use all states and U.S. territories for historic data fetch
historic_fetch_bounding_box:
command: fetch_usa_bbox()
# This one will initiate a rebuild of the quantiles (still lengthy, but not
# like redownloading the data, as the above trigger).
historic_min_yrs_per_site_for_quantile_calc:
command: I(3)
historic_site_types_for_quantile_calc:
command: c(I('GW'))
# Building these are completely decoupled from the rest of the pipeline
# Use these objects in 1_fetch to s3_get the data
historic_unfiltered_site_info_s3_fn:
command: c(I('gw-conditions/historic_gw_site_info_unfiltered.rds'))
historic_unfiltered_data_s3_fn:
command: c(I('gw-conditions/historic_gw_data_unfiltered.csv'))
historic_filtered_data_s3_fn:
command: c(I('gw-conditions/historic_gw_data_filtered.csv'))
historic_filtered_site_info_s3_fn:
command: c(I('gw-conditions/historic_gw_site_info_filtered.rds'))
historic_quantiles_s3_fn:
command: c(I('gw-conditions/historic_gw_quantiles.csv'))
##-- Fetch configs --##
viz_start_date:
command: as.Date(I('2023-01-01'))
viz_end_date:
command: as.Date(I('2023-12-31'))
# Use bounding box in case we want to do this regionally someday
# Start with CONUS only
# I don't think this is being used any more ...
viz_bounding_box:
command: fetch_usa_bbox(conus_only = TRUE)
dv_fetch_size_limit:
command: I(200)
uv_fetch_size_limit:
command: I(50)
# DO NOT CHANGE UNLESS YOU WANT TO REBUILD ALL HISTORIC DATA, TOO!
gw_param_cd:
command: c(I('72019'))
# Additional fetch configs for the states that don't report 72019 pcode
# The values of the pcodes should match up with their corresponding states
addl_gw_param_cds:
command: c(I('62610'), I('62610'), I('72150'))
addl_states:
command: c(I('FL'), I('KS'), I('HI'))
##-- Process configs --##
anomaly_categories:
command: c(I("Very low"), I("Low"), I("Normal"), I("High"), I("Very high"))
anomaly_bins:
command: c(0, 10, 25, 75, 90, 100)
# Albers Equal Area
proj_str:
command: c(I('+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs'))
##-- Visualize configs --##
# SVG dims are in pixels
svg_width:
command: I(1000)
svg_height:
command: I(700)
scico_palette:
command: c(I('roma'))
aria_title:
command: c(I('An animated map of groundwater levels across the United States and territories'))
aria_desc:
command: c(I('Over 3500 USGS well locations across the U.S. are animated through time to show daily groundwater levels compared to the past record. For each site, an arrow-like gylph reflects whether current groundwater levels are higher or lower than has been recorded before, using percentiles binned into 5 range categories; very low, low, normal, high, and very high. The animation is different depending on the given time range.'))
##-- Animate configs --##