Skip to content

Commit 21ed05f

Browse files
authored
Merge pull request #261 from lxiam26/main
Documentation Updates
2 parents 00f571f + c5345ae commit 21ed05f

File tree

4 files changed

+24
-13
lines changed

4 files changed

+24
-13
lines changed
574 KB
Loading

app/static/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,15 @@ nav a:hover {
329329
z-index: 0;
330330
}
331331

332+
.map_img {
333+
display: block;
334+
margin: 20px auto;
335+
max-width: 645px;
336+
width: 100%;
337+
height: auto;
338+
}
339+
340+
332341
.auth-container {
333342
display: flex;
334343
flex-direction: row;

app/templates/about.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% block content %}
44
<h2>Flagging Program</h2>
55
<p>
6-
Of the many services that the CRWA provides to the greater Boston community, one of those is monitoring whether it is safe to boat in the Charles River.The CRWA
6+
Of the many services that the CRWA provides to the greater Boston community, one of those is monitoring whether it is safe to boat in the Charles River. The CRWA
77
Flagging Program uses a system of color-coded flags to indicate whether or not the river's water quality is safe for boating at 13 boating locations between Watertown and Boston.
88
Flag colors are based on <i>E. coli</i> and cyanobacteria (blue-green algae) levels, as well as if a CSO discharge has occurred in the last 48 hours.
99
Blue flags indicate suitable boating conditions and red flags indicate potential health risks.
@@ -17,10 +17,14 @@ <h2>Flagging Program</h2>
1717
</iframe>
1818
</div>
1919
</div>
20-
<h2>Water Contamination</h2>
20+
<h2>Water Quality</h2>
21+
<p>
22+
CRWA conducts water quality sampling every week during the peak recreational season in the Lower Basin
23+
(final 10 miles of the river from the Watertown Dam to the New Charles River Dam) from May to late October.
24+
During monitoring events, CRWA measures water temperature and depth and collects water quality samples at four sampling locations.
25+
</p>
26+
<img class="map_img" src="{{ url_for('static', filename='images/boathouse_map.png') }}" alt="Map of the 13 boathouses for the 4 reaches (as of 2025)"/>
2127
<p>
22-
CRWA conducts water quality sampling every week during the peak recreational season in the Lower Basin from May to late October.
23-
During monitoring events, CRWA measures water temperature and depth and collects water quality samples at four sampling locations in the Lower Basin.
2428
G&L Laboratory in Quincy analyzes the samples for <i>E. coli</i> bacteria. Water temperature and depth are measured in situ with a digital field thermometer
2529
and a digital depth finder, respectively. Sampling locations are center channel sites, upstream of the following bridges: North Beacon Street,
2630
Larz Anderson Memorial Bridge, Boston University Bridge, and Longfellow Bridge. All samples are manual grab samples collected from a boat.
@@ -43,20 +47,20 @@ <h3>Cyanobacteria</h3>
4347
Cyanobacteria, also called blue-green algae, are microscopic cells that naturally grow in rivers and lakes. Cyanobacteria populations can explode in warm water with excess nutrients, and exposure
4448
to these blooms can have negative health effects for humans, animals, and ecosystems. CRWA monitors cyanobacteria levels in the Charles River Basin in Boston and Cambridge during the summer and
4549
reports high levels to the Department of Public Health.
46-
(<a href="https://www.crwa.org/monitor.html">CRWA Website</a>)
50+
(<a href="https://www.crwa.org/cyano-monitoring">CRWA Website</a>)
4751
</p>
4852
<h2>Predictive Models</h2>
4953
<p>
5054
As part of our public notification program, CRWA uses statistical models to predict the likelihood that water quality will be in violation of the State's recreational water quality standard threshold value at each of our four sampling reaches.
51-
The models use antecedent rainfall, river flow, wind speed and air and water temperature to make predictions every hour throughout the recreational season. Models are necessary to produce real time water quality forecasts
55+
The models use antecedent rainfall, river flow, relative humidity, photosynthetic active radiation, gage height, dew point, and pressure to make predictions every hour throughout the recreational season. Models are necessary to produce real time water quality forecasts
5256
because <i>E. coli</i> analysis requires at least 24 hours between sample collection and result reporting. These hourly forecasts allow boaters to make informed decisions about their desired contact with the river based on current
5357
river water quality conditions.
5458
(<a href="https://www.crwa.org/s/2024-Flagging-Report_FINAL-1.pdf">2024 Flagging Report</a>)
5559
</p>
5660
<p>
5761
CRWA's predictive models utilize live data from a HOBOlink RX3000 Remote Monitoring Station device, which is
5862
stationed at a boathouse on the Charles River. (You can download the latest raw data from this device
59-
<a href="https://www.hobolink.com/p/0cdac4a6910cef5a8883deb005d73ae1">here</a>.) Additionally, the model utilizes
63+
<a href="Update with new link https://hobolink.com/p/279ab82333aa3378b932370ed5ddc712">here</a>.) Additionally, the model utilizes
6064
data from two USGS stream gauges located in Waltham and Brookline.</a>
6165
</p>
6266
<h2>Credits</h2>
@@ -69,11 +73,9 @@ <h2>Credits</h2>
6973
<p>
7074
The predictive model currently being used for the flagging program website was developed and deployed by <a href="https://www.linkedin.com/in/laura_xia" target="_blank">Laura Xia</a>
7175
(MIT, class of 2026).
72-
<!-- She has updated the model with new data to reflect the changing conditions of the Charles River. -->
73-
74-
<!-- We can also write a quick sentence about the model and how it was developed if you'd like.
75-
"In addition to updating the model with new data to reflect the changing conditions of the Charles River, Laura's model improves on previous modeling efforts by replacing the older model's logistic regression with a regression on log(E. coli cfu/100ml), using machine learning methods for feature selection, and using [hierarchical modeling? partial pooling? mixed effects?] to regularize inter-reach model parameters." Jumping the gun on the last one though. 😂 You should phrase the description of the model yourself, though, I'm only offering this as a starting point. Also, we'll obviously wait on a description until you think it's done. -->
76-
76+
She has updated the model with new data to reflect the changing conditions of the Charles River.
77+
She has also updated the model itself to regress on the log E. coli concentration directly instead of using a logistic regression.
78+
Various aspects like feature selection, weight balancing, and mixed effects were explored in depth in this process.
7779
</p>
7880
<p>
7981
This website is open source. You can view the source code and a list of contributors

app/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h2>About CRWA's Water Quality Models</h2>
3434
who recommends bloom advisories.</li>
3535
<li>If <strong>CRWA's water quality models</strong> predict <i>E. coli</i> bacteria levels that exceed the State's
3636
recreational water quality standard threshold value, red flags will be flown at the affected boathouses. CRWA estimates <i>E. coli</i>
37-
bacteria levels using models that take into account a variety of environmental factors including rainfall and river
37+
bacteria levels using models that take into account rainfall and river
3838
flow. CRWA collects water samples weekly to verify the model forecasts.</li>
3939
</ol>
4040
<h2>Stay Updated</h2>

0 commit comments

Comments
 (0)