<?php
require_once "../../config/settings.inc.php";
require_once "../../include/myview.php";
$t = new MyView();

$t->title = "ISUSM - Ames Second Tipping Bucket Printout";

$table = file_get_contents($INTERNAL_BASEURL . "/agclimate/ames_precip.py");

$t->content = <<<EOM
<ol class="breadcrumb">
    <li><a href="/agclimate/">ISU Soil Moisture Network</a></li>
    <li class="active">Ames AEA Farm Dual Tipping Bucket</li>
</ol>
<style>
.tableFixHead          { overflow-y: auto; height: 100px; }
.tableFixHead thead th { position: sticky; top: 0; }

/* Just common table stuff. Really. */
table  { border-collapse: collapse; width: 100%; }
th, td { padding: 8px 16px; }
th     { background:#eee; }
</style>

<h3>Ames ISU Ag Farm Dual Tipping Bucket</h3>

<p>During the fall of 2017, a second tipping bucket was installed at the Ames
ISU Ag Farm location.  Here's a diagnostic printout of the observations. The
COOP total shown is a 24-hour value at 4 PM, not hourly like the buckets at
4 PM.</p>

{$table}

EOM;
$t->render('single.phtml');
