Skip to content

Commit dd2d1e8

Browse files
Merge pull request #42 from DOI-USGS/patch
patches wrt MC's internal review
2 parents 5df3587 + b98d10f commit dd2d1e8

12 files changed

+75
-58
lines changed

2_process.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ p2_targets <- list(
127127

128128
## Expand to determine all days within drought
129129
tar_target(p2_major_droughts_expanded,
130-
expand_drought_prop(drought_prop = p2_major_droughts)),
130+
expand_drought_prop(drought_prop = p2_major_droughts_with1970)),
131131

132132
## Expand for plotting geom ribbons (shading on regional plots)
133133
# here, these produce a row for each degree from 0 to 380 (n = 381)

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;500;600;700;800&display=swap');
7676
$SourceSans: 'Source Sans Pro', sans-serif;
7777
$textcolor: #333534;
78-
@import url('https://fonts.googleapis.com/css2?family=Edu+TAS+Beginner&display=swap');
79-
$writeFont: 'Edu TAS Beginner', cursive;
78+
@import url('https://fonts.googleapis.com/css2?family=Neucha&display=swap');
79+
$writeFont: 'Neucha', cursive;
8080
// whole page except header fit within viewport - no scrolling
8181
#app {
8282
width: 100%;
-14.9 KB
Loading
768 KB
Loading
-141 KB
Loading
-18.6 KB
Loading

src/assets/svgs/annotation_drawings-01.svg

Lines changed: 2 additions & 2 deletions
Loading

src/assets/svgs/annotation_drawings-forEditingInAI.svg

Lines changed: 3 additions & 3 deletions
Loading

src/assets/text/droughtAnnotations_desktop.js

Lines changed: 37 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,39 @@ export default {
33
{
44
id: '285',
55
date: '1922-06-01',
6-
text: 'The drought at this streamgage was 285 days long',
6+
text: 'Each bar shows the duration of drought at a single gage. The taller and darker the bar, the longer the drought event was.',
77
desktop_x_offset_per: 58,
88
desktop_text_anchor: 'start',
99
desktop_text_width: 250
1010
},
11-
{
12-
id: 'map',
13-
date: '1921-06-01',
14-
text: 'Map of streamgages that had one of the 2000 most severe droughts.',
15-
desktop_x_offset_per: 60,
16-
desktop_text_anchor: 'start',
17-
desktop_text_width: 250
18-
} ,
19-
{
20-
id: 'redmap',
21-
date: '1929-03-01',
22-
text: 'Streamgage locations in each major drought period are highlighted on the map in red.',
23-
desktop_x_offset_per: 60,
24-
desktop_text_anchor: 'start',
25-
desktop_text_width: 250
26-
} ,
2711
{
2812
id: 'yaxis',
2913
date: '1921-08-01',
30-
text: 'Time',
14+
text: 'Scroll through time',
3115
desktop_x_offset_per: 22,
3216
desktop_text_anchor: 'start',
3317
desktop_text_width: 250
3418
},
19+
{
20+
id: 'map',
21+
date: '1925-11-01',
22+
text: 'The drought at this streamgage was 1,154 days long.',
23+
desktop_x_offset_per: 58,
24+
desktop_text_anchor: 'start',
25+
desktop_text_width: 250
26+
},
27+
{
28+
id: '1920s-gages',
29+
date: '1927-01-01',
30+
text: 'From 1920 to 1951, the data comprises 313 streamgages (see Methods).',
31+
desktop_x_offset_per: 63,
32+
desktop_text_anchor: 'start',
33+
desktop_text_width: 250
34+
},
3535
{
3636
id: 'xaxis',
3737
date: '1925-05-01',
38-
text: 'Wider = more simultaneous droughts',
38+
text: 'Number of gages in drought',
3939
desktop_x_offset_per: 55,
4040
desktop_text_anchor: 'start',
4141
desktop_text_width: 275
@@ -48,6 +48,14 @@ export default {
4848
desktop_text_anchor: 'start',
4949
desktop_text_width: 250
5050
},
51+
{
52+
id: '1950s-gages',
53+
date: '1950-01-01',
54+
text: 'From 1950 to 1980, the data comprises 1,912 streamgages (see Methods).',
55+
desktop_x_offset_per: 63,
56+
desktop_text_anchor: 'start',
57+
desktop_text_width: 250
58+
},
5159
{
5260
id: '1950s',
5361
date: '1958-06-01',
@@ -73,6 +81,14 @@ export default {
7381
desktop_text_width: 250
7482
},
7583

84+
{
85+
id: '1980s-gages',
86+
date: '1980-01-01',
87+
text: 'From 1981 to 2020, the data comprises 3,198 streamgages (see Methods).',
88+
desktop_x_offset_per: 63,
89+
desktop_text_anchor: 'start',
90+
desktop_text_width: 250
91+
},
7692
{
7793
id: '1980s-fact',
7894
date: '1987-07-01',
@@ -84,7 +100,7 @@ export default {
84100
{
85101
id: '2000s-fact1',
86102
date: '2000-06-01',
87-
text: 'Over 31% of the 2000 most severe droughts happened during this period',
103+
text: 'Over 31% of the 2,000 most severe droughts happened during this period',
88104
desktop_x_offset_per: 62,
89105
desktop_text_anchor: 'start',
90106
desktop_text_width: 250
@@ -100,7 +116,7 @@ export default {
100116
{
101117
id: '2000s',
102118
date: '2009-01-01',
103-
text: 'The longest drought of all was near Tampa, Florida, and lasted over 6 years!',
119+
text: 'The longest drought of all was near Tampa, FL, and lasted over 6 years!',
104120
desktop_x_offset_per: 62,
105121
desktop_text_anchor: 'start',
106122
desktop_text_width: 250

src/assets/text/droughtAnnotations_mobile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default {
5050
{
5151
id: 'dustbowl_1',
5252
date: '1930-03-01',
53-
text: 'Dust Bowl: Drought hit most of the U.S. in the 1930s, but the farmers and ranchers of the Great Plains were hit hardest. Not enough rain combined with too much farming and grazing made the top layer of soil loose and dry. Heavy winds blew the dry soil into massive dust storms, which is why we call this period in history the “dust bowl.”',
53+
text: 'Dust Bowl: Drought hit much of the U.S. in the 1930s, bringing great hardship to the farmers and ranchers of the Great Plains. Not enough rain combined with too much farming and grazing made the top layer of soil loose and dry. Heavy winds blew the dry soil into massive dust storms, which is why we call this period in history the “dust bowl.”',
5454
mobile_x_offset_per: 24
5555
},
5656
{

0 commit comments

Comments
 (0)