Skip to content

otherfutures/get-lake-levels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Short Description:

Produces CSV & JSON files for US lake level info.

Instructions:

  1. The source code for this project can be found in lake_levels.py above.

  2. Please check the required libraries/packages before running.
    All of them should be native to Python except for beautifulsoup4 & prompt_toolkit.
    Those can be downloaded via pip in the shell/command line:

pip install beautifulsoup4
pip install prompt_toolkit
  1. If you decide to fork/change this program, please don't hammer the website this program scrapes info from into oblivion.
    The information doesn't update all that often anyways.

Longer Descriptions:

Since we're experiencing more & longer droughts, it might be useful/helpful to monitor lake levels.
This program scrapes national lake information & creates a CSV & JSON file.
The information comes from https://lakelevels.info & is already freely & publicly accessible,
but it lacks a real API to programmatically use the info.

Info can be retrieved by state (a fuzzy autocomplete for searching states exists in the program) or
all the lake levels on record can be amassed into one file each for CSV & JSON.
Unfortunately, this is not a comprehensive list of all the lakes in the US (let alone the world),
but can still be useful to get a sense of how familiar bodies of water are doing in near real time.

About

Produces CSV & JSON files for US lake level info.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages