abkfenris/gage-web

View on GitHub
doc/dead/html/app.html

Summary

Maintainability
Test Coverage


<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>app package &mdash; Gage-Web 0.1 documentation</title>
  

  
  

  
  <link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>

  
  
    

  

  
  
    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  

  
    <link rel="top" title="Gage-Web 0.1 documentation" href="index.html"/>
        <link rel="next" title="app.admin package" href="app.admin.html"/>
        <link rel="prev" title="Gage-Web API Documentation" href="api.html"/> 

  
  <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-nav-search">
        <a href="index.html" class="fa fa-home"> Gage-Web</a>
        <div role="search">
  <form id ="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>
      </div>

      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
        
        
            <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="api.html">Gage-Web API Documentation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api.html#api">API</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="current reference internal" href="">app package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#subpackages">Subpackages</a></li>
<li class="toctree-l2"><a class="reference internal" href="#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-app.admin">app.admin module</a></li>
<li class="toctree-l2"><a class="reference internal" href="#app-api-module">app.api module</a></li>
<li class="toctree-l2"><a class="reference internal" href="#app-auth-module">app.auth module</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-app.backup">app.backup module</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-app.models">app.models module</a></li>
<li class="toctree-l2"><a class="reference internal" href="#module-app">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="manage.html">manage module</a></li>
</ul>

        
      </div>
      &nbsp;
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
        <a href="index.html">Gage-Web</a>
      </nav>


      
      <div class="wy-nav-content">
        <div class="rst-content">
          <div role="navigation" aria-label="breadcrumbs navigation">
  <ul class="wy-breadcrumbs">
    <li><a href="index.html">Docs</a> &raquo;</li>
      
    <li>app package</li>
      <li class="wy-breadcrumbs-aside">
        
          <a href="_sources/app.txt" rel="nofollow"> View page source</a>
        
      </li>
  </ul>
  <hr/>
</div>
          <div role="main">
            
  <div class="section" id="app-package">
<h1>app package<a class="headerlink" href="#app-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="app.admin.html">app.admin package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="app.admin.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.admin.html#module-app.admin.views">app.admin.views module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.admin.html#module-app.admin">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="app.api_1_0.html">app.api_1_0 package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#app-api-1-0-errors-module">app.api_1_0.errors module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#module-app.api_1_0.gages">app.api_1_0.gages module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#module-app.api_1_0.regions">app.api_1_0.regions module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#module-app.api_1_0.rivers">app.api_1_0.rivers module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#module-app.api_1_0.samples">app.api_1_0.samples module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#module-app.api_1_0.sections">app.api_1_0.sections module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#module-app.api_1_0.sensors">app.api_1_0.sensors module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.api_1_0.html#module-app.api_1_0">Module contents</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="app.main.html">app.main package</a><ul>
<li class="toctree-l2"><a class="reference internal" href="app.main.html#submodules">Submodules</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.main.html#module-app.main.errors">app.main.errors module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.main.html#module-app.main.plot">app.main.plot module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.main.html#module-app.main.views">app.main.views module</a></li>
<li class="toctree-l2"><a class="reference internal" href="app.main.html#module-app.main">Module contents</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-app.admin">
<span id="app-admin-module"></span><h2>app.admin module<a class="headerlink" href="#module-app.admin" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="app-api-module">
<h2>app.api module<a class="headerlink" href="#app-api-module" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="app-auth-module">
<h2>app.auth module<a class="headerlink" href="#app-auth-module" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-app.backup">
<span id="app-backup-module"></span><h2>app.backup module<a class="headerlink" href="#module-app.backup" title="Permalink to this headline">¶</a></h2>
<p>Use Dropbox to backup the database every six hours, or import to backup a specific file on demand</p>
<dl class="function">
<dt id="app.backup.backup">
<tt class="descclassname">app.backup.</tt><tt class="descname">backup</tt><big>(</big><em>filename</em><big>)</big><a class="reference internal" href="_modules/app/backup.html#backup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.backup.backup" title="Permalink to this definition">¶</a></dt>
<dd><p>Backs up a specified file</p>
</dd></dl>

</div>
<div class="section" id="module-app.models">
<span id="app-models-module"></span><h2>app.models module<a class="headerlink" href="#module-app.models" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="app.models.Gage">
<em class="property">class </em><tt class="descclassname">app.models.</tt><tt class="descname">Gage</tt><big>(</big><em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/app/models.html#Gage"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Gage" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">flask_sqlalchemy.Model</span></tt></p>
<dl class="attribute">
<dt id="app.models.Gage.backend_notes">
<tt class="descname">backend_notes</tt><a class="headerlink" href="#app.models.Gage.backend_notes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.description">
<tt class="descname">description</tt><a class="headerlink" href="#app.models.Gage.description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.elevation">
<tt class="descname">elevation</tt><a class="headerlink" href="#app.models.Gage.elevation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.elevationUnits">
<tt class="descname">elevationUnits</tt><a class="headerlink" href="#app.models.Gage.elevationUnits" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.ended">
<tt class="descname">ended</tt><a class="headerlink" href="#app.models.Gage.ended" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.id">
<tt class="descname">id</tt><a class="headerlink" href="#app.models.Gage.id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Gage.latlon">
<tt class="descname">latlon</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Gage.latlon"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Gage.latlon" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a shapely point
gage.latlon().y for latitude
gage.latlon().x for longitude</p>
</dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.local_town">
<tt class="descname">local_town</tt><a class="headerlink" href="#app.models.Gage.local_town" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.location">
<tt class="descname">location</tt><a class="headerlink" href="#app.models.Gage.location" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.name">
<tt class="descname">name</tt><a class="headerlink" href="#app.models.Gage.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Gage.new_sample">
<tt class="descname">new_sample</tt><big>(</big><em>stype</em>, <em>value</em>, <em>sdatetime</em><big>)</big><a class="reference internal" href="_modules/app/models.html#Gage.new_sample"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Gage.new_sample" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.point">
<tt class="descname">point</tt><a class="headerlink" href="#app.models.Gage.point" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.regions">
<tt class="descname">regions</tt><a class="headerlink" href="#app.models.Gage.regions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.river">
<tt class="descname">river</tt><a class="headerlink" href="#app.models.Gage.river" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.river_id">
<tt class="descname">river_id</tt><a class="headerlink" href="#app.models.Gage.river_id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.short_description">
<tt class="descname">short_description</tt><a class="headerlink" href="#app.models.Gage.short_description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.slug">
<tt class="descname">slug</tt><a class="headerlink" href="#app.models.Gage.slug" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.started">
<tt class="descname">started</tt><a class="headerlink" href="#app.models.Gage.started" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Gage.to_json">
<tt class="descname">to_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Gage.to_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Gage.to_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Gage.to_long_json">
<tt class="descname">to_long_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Gage.to_long_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Gage.to_long_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.user">
<tt class="descname">user</tt><a class="headerlink" href="#app.models.Gage.user" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.user_id">
<tt class="descname">user_id</tt><a class="headerlink" href="#app.models.Gage.user_id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.visible">
<tt class="descname">visible</tt><a class="headerlink" href="#app.models.Gage.visible" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Gage.zipcode">
<tt class="descname">zipcode</tt><a class="headerlink" href="#app.models.Gage.zipcode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="app.models.Region">
<em class="property">class </em><tt class="descclassname">app.models.</tt><tt class="descname">Region</tt><big>(</big><em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/app/models.html#Region"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Region" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">flask_sqlalchemy.Model</span></tt></p>
<dl class="attribute">
<dt id="app.models.Region.description">
<tt class="descname">description</tt><a class="headerlink" href="#app.models.Region.description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Region.header_image">
<tt class="descname">header_image</tt><a class="headerlink" href="#app.models.Region.header_image" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Region.id">
<tt class="descname">id</tt><a class="headerlink" href="#app.models.Region.id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Region.name">
<tt class="descname">name</tt><a class="headerlink" href="#app.models.Region.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Region.short_description">
<tt class="descname">short_description</tt><a class="headerlink" href="#app.models.Region.short_description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Region.slug">
<tt class="descname">slug</tt><a class="headerlink" href="#app.models.Region.slug" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Region.to_json">
<tt class="descname">to_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Region.to_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Region.to_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Region.to_long_json">
<tt class="descname">to_long_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Region.to_long_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Region.to_long_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="app.models.River">
<em class="property">class </em><tt class="descclassname">app.models.</tt><tt class="descname">River</tt><big>(</big><em>name</em>, <em>slug</em>, <em>description</em>, <em>short_description</em>, <em>header_image</em>, <em>parent</em><big>)</big><a class="reference internal" href="_modules/app/models.html#River"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.River" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">flask_sqlalchemy.Model</span></tt></p>
<dl class="attribute">
<dt id="app.models.River.description">
<tt class="descname">description</tt><a class="headerlink" href="#app.models.River.description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.River.header_image">
<tt class="descname">header_image</tt><a class="headerlink" href="#app.models.River.header_image" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.River.id">
<tt class="descname">id</tt><a class="headerlink" href="#app.models.River.id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.River.name">
<tt class="descname">name</tt><a class="headerlink" href="#app.models.River.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.River.parent">
<tt class="descname">parent</tt><a class="headerlink" href="#app.models.River.parent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.River.parent_id">
<tt class="descname">parent_id</tt><a class="headerlink" href="#app.models.River.parent_id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.River.regions">
<tt class="descname">regions</tt><a class="headerlink" href="#app.models.River.regions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.River.short_description">
<tt class="descname">short_description</tt><a class="headerlink" href="#app.models.River.short_description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.River.slug">
<tt class="descname">slug</tt><a class="headerlink" href="#app.models.River.slug" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.River.to_json">
<tt class="descname">to_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#River.to_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.River.to_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.River.to_long_json">
<tt class="descname">to_long_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#River.to_long_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.River.to_long_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="app.models.Sample">
<em class="property">class </em><tt class="descclassname">app.models.</tt><tt class="descname">Sample</tt><big>(</big><em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/app/models.html#Sample"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sample" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">flask_sqlalchemy.Model</span></tt></p>
<dl class="attribute">
<dt id="app.models.Sample.datetime">
<tt class="descname">datetime</tt><a class="headerlink" href="#app.models.Sample.datetime" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sample.id">
<tt class="descname">id</tt><a class="headerlink" href="#app.models.Sample.id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sample.sensor">
<tt class="descname">sensor</tt><a class="headerlink" href="#app.models.Sample.sensor" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sample.sensor_id">
<tt class="descname">sensor_id</tt><a class="headerlink" href="#app.models.Sample.sensor_id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Sample.to_json">
<tt class="descname">to_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Sample.to_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sample.to_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Sample.to_sensor_json">
<tt class="descname">to_sensor_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Sample.to_sensor_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sample.to_sensor_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sample.value">
<tt class="descname">value</tt><a class="headerlink" href="#app.models.Sample.value" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="app.models.Section">
<em class="property">class </em><tt class="descclassname">app.models.</tt><tt class="descname">Section</tt><big>(</big><em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/app/models.html#Section"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Section" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">flask_sqlalchemy.Model</span></tt></p>
<dl class="attribute">
<dt id="app.models.Section.access">
<tt class="descname">access</tt><a class="headerlink" href="#app.models.Section.access" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.description">
<tt class="descname">description</tt><a class="headerlink" href="#app.models.Section.description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.header_image">
<tt class="descname">header_image</tt><a class="headerlink" href="#app.models.Section.header_image" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.id">
<tt class="descname">id</tt><a class="headerlink" href="#app.models.Section.id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.in_elevation">
<tt class="descname">in_elevation</tt><a class="headerlink" href="#app.models.Section.in_elevation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Section.inlatlon">
<tt class="descname">inlatlon</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Section.inlatlon"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Section.inlatlon" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a shapely point for put-in.
section.inlatlon().y for latitude
section.inlatlon().y for longitude</p>
</dd></dl>

<dl class="attribute">
<dt id="app.models.Section.location">
<tt class="descname">location</tt><a class="headerlink" href="#app.models.Section.location" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.name">
<tt class="descname">name</tt><a class="headerlink" href="#app.models.Section.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.out_elevation">
<tt class="descname">out_elevation</tt><a class="headerlink" href="#app.models.Section.out_elevation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Section.outlatlon">
<tt class="descname">outlatlon</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Section.outlatlon"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Section.outlatlon" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a shapely point for take-out.
section.outlatlon().y for latitude
section.outlatlon().x for longitude</p>
</dd></dl>

<dl class="attribute">
<dt id="app.models.Section.path">
<tt class="descname">path</tt><a class="headerlink" href="#app.models.Section.path" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.putin">
<tt class="descname">putin</tt><a class="headerlink" href="#app.models.Section.putin" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.regions">
<tt class="descname">regions</tt><a class="headerlink" href="#app.models.Section.regions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.river">
<tt class="descname">river</tt><a class="headerlink" href="#app.models.Section.river" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.river_id">
<tt class="descname">river_id</tt><a class="headerlink" href="#app.models.Section.river_id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.short_description">
<tt class="descname">short_description</tt><a class="headerlink" href="#app.models.Section.short_description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.slug">
<tt class="descname">slug</tt><a class="headerlink" href="#app.models.Section.slug" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Section.takeout">
<tt class="descname">takeout</tt><a class="headerlink" href="#app.models.Section.takeout" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Section.to_json">
<tt class="descname">to_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Section.to_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Section.to_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Section.to_long_json">
<tt class="descname">to_long_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Section.to_long_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Section.to_long_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="app.models.Sensor">
<em class="property">class </em><tt class="descclassname">app.models.</tt><tt class="descname">Sensor</tt><big>(</big><em>**kwargs</em><big>)</big><a class="reference internal" href="_modules/app/models.html#Sensor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sensor" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">flask_sqlalchemy.Model</span></tt></p>
<dl class="attribute">
<dt id="app.models.Sensor.backend_notes">
<tt class="descname">backend_notes</tt><a class="headerlink" href="#app.models.Sensor.backend_notes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.description">
<tt class="descname">description</tt><a class="headerlink" href="#app.models.Sensor.description" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.ended">
<tt class="descname">ended</tt><a class="headerlink" href="#app.models.Sensor.ended" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.gage">
<tt class="descname">gage</tt><a class="headerlink" href="#app.models.Sensor.gage" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.gage_id">
<tt class="descname">gage_id</tt><a class="headerlink" href="#app.models.Sensor.gage_id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.id">
<tt class="descname">id</tt><a class="headerlink" href="#app.models.Sensor.id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.info">
<tt class="descname">info</tt><a class="headerlink" href="#app.models.Sensor.info" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.local">
<tt class="descname">local</tt><a class="headerlink" href="#app.models.Sensor.local" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.maximum">
<tt class="descname">maximum</tt><a class="headerlink" href="#app.models.Sensor.maximum" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.minimum">
<tt class="descname">minimum</tt><a class="headerlink" href="#app.models.Sensor.minimum" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.name">
<tt class="descname">name</tt><a class="headerlink" href="#app.models.Sensor.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.prefix">
<tt class="descname">prefix</tt><a class="headerlink" href="#app.models.Sensor.prefix" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Sensor.recent">
<tt class="descname">recent</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Sensor.recent"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sensor.recent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.remote_id">
<tt class="descname">remote_id</tt><a class="headerlink" href="#app.models.Sensor.remote_id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.slug">
<tt class="descname">slug</tt><a class="headerlink" href="#app.models.Sensor.slug" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.started">
<tt class="descname">started</tt><a class="headerlink" href="#app.models.Sensor.started" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.stype">
<tt class="descname">stype</tt><a class="headerlink" href="#app.models.Sensor.stype" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.Sensor.suffix">
<tt class="descname">suffix</tt><a class="headerlink" href="#app.models.Sensor.suffix" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Sensor.to_gage_json">
<tt class="descname">to_gage_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Sensor.to_gage_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sensor.to_gage_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Sensor.to_json">
<tt class="descname">to_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Sensor.to_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sensor.to_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Sensor.to_long_json">
<tt class="descname">to_long_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Sensor.to_long_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sensor.to_long_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="app.models.Sensor.to_sample_json">
<tt class="descname">to_sample_json</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/app/models.html#Sensor.to_sample_json"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.Sensor.to_sample_json" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="app.models.User">
<em class="property">class </em><tt class="descclassname">app.models.</tt><tt class="descname">User</tt><big>(</big><em>username</em>, <em>email</em><big>)</big><a class="reference internal" href="_modules/app/models.html#User"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.models.User" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">flask_sqlalchemy.Model</span></tt></p>
<dl class="attribute">
<dt id="app.models.User.email">
<tt class="descname">email</tt><a class="headerlink" href="#app.models.User.email" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.User.id">
<tt class="descname">id</tt><a class="headerlink" href="#app.models.User.id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="app.models.User.username">
<tt class="descname">username</tt><a class="headerlink" href="#app.models.User.username" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="module-app">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-app" title="Permalink to this headline">¶</a></h2>
<p>App builder. Can be imported and used to start the site</p>
<dl class="function">
<dt id="app.create_app">
<tt class="descclassname">app.</tt><tt class="descname">create_app</tt><big>(</big><em>config_name</em><big>)</big><a class="reference internal" href="_modules/app.html#create_app"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#app.create_app" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
</div>


          </div>
          <footer>
  
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
      
        <a href="app.admin.html" class="btn btn-neutral float-right" title="app.admin package"/>Next <span class="fa fa-arrow-circle-right"></span></a>
      
      
        <a href="api.html" class="btn btn-neutral" title="Gage-Web API Documentation"><span class="fa fa-arrow-circle-left"></span> Previous</a>
      
    </div>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2014, Alex Kerney.
    </p>
  </div>

  <a href="https://github.com/snide/sphinx_rtd_theme">Sphinx theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>
</footer>
        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'0.1',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true
        };
    </script>
      <script type="text/javascript" src="_static/jquery.js"></script>
      <script type="text/javascript" src="_static/underscore.js"></script>
      <script type="text/javascript" src="_static/doctools.js"></script>
      <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

  

  
  
    <script type="text/javascript" src="_static/js/theme.js"></script>
  

  
  
  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.StickyNav.enable();
      });
  </script>
   

</body>
</html>