added some old blog posts

This commit is contained in:
Ben Varick 2025-10-30 13:12:41 -07:00
parent 63319128c1
commit 022922dfc7
Signed by: ben
SSH key fingerprint: SHA256:jWnpFDAcacYM5aPFpYRqlsamlDyKNpSj3jj+k4ojtUo
18 changed files with 847 additions and 15 deletions

View file

@ -0,0 +1,11 @@
+++
date = '2024-10-14T19:13:18Z'
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.
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
![Example graph](https://git.dendroalsia.net/ben/USGS_NWIS/media/branch/main/example_last_6_months.png)