{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Ice Out Dates" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Records of 'ice-out' and 'ice-in' days on selected Minnesota lakes are available from the Minnesota DNR at their web site [Ice Out Dates](http://www.dnr.state.mn.us/ice_out/index.html). The customs for determining ice-out and ice-in vary from lake to lake, so it's difficult to compare across different lakes. The DNR does attempt to use the same observers and criteria for each lake so longitudinal data series can provide useful insights." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Initialization" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Load Python Modules" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false, "jupyter": { "outputs_hidden": false } }, "outputs": [], "source": [ "# Display graphics inline with the notebook\n", "%matplotlib inline\n", "\n", "# Standard Python modules\n", "import numpy as np\n", "import matplotlib.pyplot as plt\n", "import pandas as pd\n", "import os\n", "import datetime\n", "import seaborn as sns\n", "sns.set_context('talk')\n", "\n", "# Statistics modules\n", "import statsmodels.api as sm" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": true, "jupyter": { "outputs_hidden": true } }, "outputs": [], "source": [ "# Directory where data files are stored\n", "dir = \"../data/\"\n", "img = \"../images/\"" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Rainy Lake" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false, "jupyter": { "outputs_hidden": false } }, "outputs": [ { "data": { "text/html": [ "
\n", " | DOY | \n", "n | \n", "
---|---|---|
ice out date | \n", "\n", " | \n", " |
1930-05-03 | \n", "123 | \n", "0 | \n", "
1931-05-05 | \n", "125 | \n", "1 | \n", "
1932-05-07 | \n", "128 | \n", "2 | \n", "
1933-05-06 | \n", "126 | \n", "3 | \n", "
1934-05-06 | \n", "126 | \n", "4 | \n", "