Skip to content

Jupyter Notebook of sinusoidal regression of Yuba River data from USGS NWIS

Notifications You must be signed in to change notification settings

pjpardun/sinusoidal-regression-yuba-river

Repository files navigation

Sinusoidal Regression - Yuba River

About

A Python Jupyter Notebook showcasing 1.) urllib for web scraping, 2.) pandas/numpy for data wrangling, and 3.) scipy for Sinusoidal Regression of the daily maximum temperatures of the Yuba River covering 5 years (2000-2005) read from the US Geological Survey (USGS) National Water Information System (NWIS) Web Interface: USGS NWIS WI Link image.

It produces visualization of datapoints and regressions, coefficient of determination statistic, and minimum and maximum dates and temperatures during a forecasted period. Jupyter Notebook image. Jupyter Notebook image. Jupyter Notebook image. Jupyter Notebook image. Jupyter Notebook image.

Installation

Clone (for developers):

https://github.com/pjpardun/sinusoidal-regression-yuba-river

Requirements

  • Python (tested on version >= 3.7.2)
  • pandas (tested on version >= 0.24.2)
  • numpy (tested on version >= 1.16.2)
  • scipy (tested on version >= 1.2.1)
  • matplotlib (tested on version >= 3.0.3)

License

MIT License