edited formatting
This commit is contained in:
parent
786a1f3965
commit
53b6310732
6 changed files with 25 additions and 10 deletions
|
|
@ -3,10 +3,16 @@ date = '2024-01-01T19:13:02Z'
|
||||||
title = 'Pretty rivers'
|
title = 'Pretty rivers'
|
||||||
+++
|
+++
|
||||||
|
|
||||||
I like looking at maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.
|
I like maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.
|
||||||
|
|
||||||
|
|
||||||
The code that generates these maps is here: https://git.dendroalsia.net/ben/pretty_rivers
|
The code that generates these maps is here: https://git.dendroalsia.net/ben/pretty_rivers
|
||||||
|
|
||||||
|
|
||||||
|
One key to making the map visually appealing, is setting the width of the river relative to the upstream watershed area. The USGS data includes that watershed area, and through trying different options, I found that this ratio worked well:
|
||||||
|
|
||||||
|
linewidth = (upstream surface area)^0.3204*0.0446
|
||||||
|
|
||||||
|
This works for the extent and river sizes in Wisconsin, I have to adjust it for maps of smaller areas or different sized rivers.
|
||||||
|
|
||||||

|

|
||||||
|
|
@ -3,9 +3,11 @@ date = '2024-10-14T19:13:18Z'
|
||||||
title = 'River level charts'
|
title = 'River level charts'
|
||||||
+++
|
+++
|
||||||
|
|
||||||
I'm interested in rivers (both ecologically and recreationally) and I want to know water level they are currently at, and how does that compare to their water levels throughout the year and in their recent history.
|
I'm interested in rivers (both ecologically and recreationally) and I want to know
|
||||||
In the US, the United States Geologic Survey (USGS) maintains a large set of realtime water level sensors, and that dataset is queriable through an API. So I wrote these scripts that take a set of rivers and their associated gauge IDs, downloads the recent and historical data and generates a bunch of graphs.
|
- what water level different rivers are currently at
|
||||||
|
- how does that compare to their water levels throughout the year and in their recent history
|
||||||
|
|
||||||
|
In the US, the United States Geologic Survey (USGS) maintains a large set of realtime water level sensors, and that dataset is queriable through an API. So I wrote these scripts that take a set of rivers and their associated gauge IDs, downloads the recent and historical data and generates a bunch of graphs.
|
||||||
|
|
||||||
Here's the code: https://git.dendroalsia.net/ben/USGS_NWIS
|
Here's the code: https://git.dendroalsia.net/ben/USGS_NWIS
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,14 @@
|
||||||
<link>https://www.dendroalsia.net/blog/riverlevelcharts/</link>
|
<link>https://www.dendroalsia.net/blog/riverlevelcharts/</link>
|
||||||
<pubDate>Mon, 14 Oct 2024 19:13:18 +0000</pubDate>
|
<pubDate>Mon, 14 Oct 2024 19:13:18 +0000</pubDate>
|
||||||
<guid>https://www.dendroalsia.net/blog/riverlevelcharts/</guid>
|
<guid>https://www.dendroalsia.net/blog/riverlevelcharts/</guid>
|
||||||
<description><p>I&rsquo;m interested in rivers (both ecologically and recreationally) and I want to know water level they are currently at, and how does that compare to their water levels throughout the year and in their recent history.
In the US, the United States Geologic Survey (USGS) maintains a large set of realtime water level sensors, and that dataset is queriable through an API. So I wrote these scripts that take a set of rivers and their associated gauge IDs, downloads the recent and historical data and generates a bunch of graphs.</p></description>
|
<description><p>I&rsquo;m interested in rivers (both ecologically and recreationally) and I want to know</p>
<ul>
<li>what water level different rivers are currently at</li>
<li>how does that compare to their water levels throughout the year and in their recent history</li>
</ul>
<p>In the US, the United States Geologic Survey (USGS) maintains a large set of realtime water level sensors, and that dataset is queriable through an API. So I wrote these scripts that take a set of rivers and their associated gauge IDs, downloads the recent and historical data and generates a bunch of graphs.</p></description>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<title>Pretty rivers</title>
|
<title>Pretty rivers</title>
|
||||||
<link>https://www.dendroalsia.net/blog/prettyrivers/</link>
|
<link>https://www.dendroalsia.net/blog/prettyrivers/</link>
|
||||||
<pubDate>Mon, 01 Jan 2024 19:13:02 +0000</pubDate>
|
<pubDate>Mon, 01 Jan 2024 19:13:02 +0000</pubDate>
|
||||||
<guid>https://www.dendroalsia.net/blog/prettyrivers/</guid>
|
<guid>https://www.dendroalsia.net/blog/prettyrivers/</guid>
|
||||||
<description><p>I like looking at maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.</p>
<p>The code that generates these maps is here: <a href="https://git.dendroalsia.net/ben/pretty_rivers">https://git.dendroalsia.net/ben/pretty_rivers</a></p>
<p><img src="https://www.dendroalsia.net/blog/prettyrivers/wisconsin_rivers.png" alt="Wisconsin Rivers"></p></description>
|
<description><p>I like maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.</p>
<p>The code that generates these maps is here: <a href="https://git.dendroalsia.net/ben/pretty_rivers">https://git.dendroalsia.net/ben/pretty_rivers</a></p>
<p>One key to making the map visually appealing, is setting the width of the river relative to the upstream watershed area. The USGS data includes that watershed area, and through trying different options, I found that this ratio worked well:</p></description>
|
||||||
</item>
|
</item>
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
|
||||||
|
|
@ -169,8 +169,11 @@ Pretty Rivers - Dendroalsia
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container markdown top-pad">
|
<div class="container markdown top-pad">
|
||||||
<p>I like looking at maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.</p>
|
<p>I like maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.</p>
|
||||||
<p>The code that generates these maps is here: <a href="https://git.dendroalsia.net/ben/pretty_rivers">https://git.dendroalsia.net/ben/pretty_rivers</a></p>
|
<p>The code that generates these maps is here: <a href="https://git.dendroalsia.net/ben/pretty_rivers">https://git.dendroalsia.net/ben/pretty_rivers</a></p>
|
||||||
|
<p>One key to making the map visually appealing, is setting the width of the river relative to the upstream watershed area. The USGS data includes that watershed area, and through trying different options, I found that this ratio worked well:</p>
|
||||||
|
<p>linewidth = (upstream surface area)^0.3204*0.0446</p>
|
||||||
|
<p>This works for the extent and river sizes in Wisconsin, I have to adjust it for maps of smaller areas or different sized rivers.</p>
|
||||||
<p><img src="/blog/prettyrivers/wisconsin_rivers.png" alt="Wisconsin Rivers"></p>
|
<p><img src="/blog/prettyrivers/wisconsin_rivers.png" alt="Wisconsin Rivers"></p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -169,8 +169,12 @@ River Level Charts - Dendroalsia
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container markdown top-pad">
|
<div class="container markdown top-pad">
|
||||||
<p>I’m interested in rivers (both ecologically and recreationally) and I want to know water level they are currently at, and how does that compare to their water levels throughout the year and in their recent history.
|
<p>I’m interested in rivers (both ecologically and recreationally) and I want to know</p>
|
||||||
In the US, the United States Geologic Survey (USGS) maintains a large set of realtime water level sensors, and that dataset is queriable through an API. So I wrote these scripts that take a set of rivers and their associated gauge IDs, downloads the recent and historical data and generates a bunch of graphs.</p>
|
<ul>
|
||||||
|
<li>what water level different rivers are currently at</li>
|
||||||
|
<li>how does that compare to their water levels throughout the year and in their recent history</li>
|
||||||
|
</ul>
|
||||||
|
<p>In the US, the United States Geologic Survey (USGS) maintains a large set of realtime water level sensors, and that dataset is queriable through an API. So I wrote these scripts that take a set of rivers and their associated gauge IDs, downloads the recent and historical data and generates a bunch of graphs.</p>
|
||||||
<p>Here’s the code: <a href="https://git.dendroalsia.net/ben/USGS_NWIS">https://git.dendroalsia.net/ben/USGS_NWIS</a></p>
|
<p>Here’s the code: <a href="https://git.dendroalsia.net/ben/USGS_NWIS">https://git.dendroalsia.net/ben/USGS_NWIS</a></p>
|
||||||
<p><img src="/blog/riverlevelcharts/example_last_6_months.png" alt="Example graph"></p>
|
<p><img src="/blog/riverlevelcharts/example_last_6_months.png" alt="Example graph"></p>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,14 @@
|
||||||
<link>https://www.dendroalsia.net/blog/riverlevelcharts/</link>
|
<link>https://www.dendroalsia.net/blog/riverlevelcharts/</link>
|
||||||
<pubDate>Mon, 14 Oct 2024 19:13:18 +0000</pubDate>
|
<pubDate>Mon, 14 Oct 2024 19:13:18 +0000</pubDate>
|
||||||
<guid>https://www.dendroalsia.net/blog/riverlevelcharts/</guid>
|
<guid>https://www.dendroalsia.net/blog/riverlevelcharts/</guid>
|
||||||
<description><p>I&rsquo;m interested in rivers (both ecologically and recreationally) and I want to know water level they are currently at, and how does that compare to their water levels throughout the year and in their recent history.
In the US, the United States Geologic Survey (USGS) maintains a large set of realtime water level sensors, and that dataset is queriable through an API. So I wrote these scripts that take a set of rivers and their associated gauge IDs, downloads the recent and historical data and generates a bunch of graphs.</p></description>
|
<description><p>I&rsquo;m interested in rivers (both ecologically and recreationally) and I want to know</p>
<ul>
<li>what water level different rivers are currently at</li>
<li>how does that compare to their water levels throughout the year and in their recent history</li>
</ul>
<p>In the US, the United States Geologic Survey (USGS) maintains a large set of realtime water level sensors, and that dataset is queriable through an API. So I wrote these scripts that take a set of rivers and their associated gauge IDs, downloads the recent and historical data and generates a bunch of graphs.</p></description>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<title>Pretty rivers</title>
|
<title>Pretty rivers</title>
|
||||||
<link>https://www.dendroalsia.net/blog/prettyrivers/</link>
|
<link>https://www.dendroalsia.net/blog/prettyrivers/</link>
|
||||||
<pubDate>Mon, 01 Jan 2024 19:13:02 +0000</pubDate>
|
<pubDate>Mon, 01 Jan 2024 19:13:02 +0000</pubDate>
|
||||||
<guid>https://www.dendroalsia.net/blog/prettyrivers/</guid>
|
<guid>https://www.dendroalsia.net/blog/prettyrivers/</guid>
|
||||||
<description><p>I like looking at maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.</p>
<p>The code that generates these maps is here: <a href="https://git.dendroalsia.net/ben/pretty_rivers">https://git.dendroalsia.net/ben/pretty_rivers</a></p>
<p><img src="https://www.dendroalsia.net/blog/prettyrivers/wisconsin_rivers.png" alt="Wisconsin Rivers"></p></description>
|
<description><p>I like maps that isolate different natural features. And I think that rivers make pretty patterns. So I made a series of scripts that generates a pretty map of rivers. I hope to print the maps of places that are important to me as art.</p>
<p>The code that generates these maps is here: <a href="https://git.dendroalsia.net/ben/pretty_rivers">https://git.dendroalsia.net/ben/pretty_rivers</a></p>
<p>One key to making the map visually appealing, is setting the width of the river relative to the upstream watershed area. The USGS data includes that watershed area, and through trying different options, I found that this ratio worked well:</p></description>
|
||||||
</item>
|
</item>
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue