Example #1
0
<table class="table">
<thead><tr><th colspan="6">Time Interval</th>
\t\t<th>Format</th></tr></thead>
<tr>
\t<th></th>
    <th>Year</th><th>Month</th><th>Day</th>
    <th>Hour</th><th>Minute</th>
    <td rowspan="3"><select name="fmt">
\t\t<option value="shp">ESRI Shapefile</option>
\t\t<option value="csv">Comma Delimited</option>
\t\t</select></td>
</tr>

<tr>
EOF;
$content .= "\n    <th>Start:</th>\n    <td>\n     " . yearSelect2(2015, date("Y"), "year1") . "\n    </td>\n    <td>\n     " . monthSelect2(0, "month1") . "\n    </td>\n    <td>\n     " . daySelect2(0, "day1") . "\n    </td>\n    <td>\n     " . gmtHourSelect(0, "hour1") . "\n    </td>\n    <td>\n     " . minuteSelect(0, "minute1") . "\n    </td>\n  </tr>\n\n  <tr>\n    <th>End:</th>\n    <td>\n     " . yearSelect2(2015, date("Y"), "year2") . "\n    </td>\n    <td>\n     " . monthSelect2(0, "month2") . "\n    </td>\n    <td>\n     " . daySelect2(0, "day2") . "\n    </td>\n    <td>\n     " . gmtHourSelect(0, "hour2") . "\n    </td>\n    <td>\n     " . minuteSelect(0, "minute2") . "\n    </td>\n  </tr>\n</table>";
$content .= <<<EOF
<p><input type="submit" value="Giveme data right now!">
</form>

<h4>Shapefile DBF schema:</h4>
<pre>
Field 0: Type=C/String, Title='VALID', Timestamp in UTC
Field 1: Type=C/String, Title='URGENT', Was this an urgent PIREP
Field 2: Type=C/String, Title='AIRCRAFT', Reported Aircraft type
Field 3: Type=C/String, Title='REPORT', The PIREP Report
Field 4: Type=N/Double, Title='LAT', Latitude
Field 5: Type=N/Double, Title='LON', Longitude 
</pre>

<h4>Archive notes:</h4>
Example #2
0
\t\t<th>Format</th></tr></thead>
<tr>
    <th></th>
\t<th></th>
    <th>Year</th><th>Month</th><th>Day</th>
    <th>Hour</th><th>Minute</th>
    <td rowspan="3"><select name="fmt">
\t\t<option value="shp">ESRI Shapefile</option>
\t\t<option value="csv">Comma Delimited</option>
\t\t</select></td>
</tr>

<tr>
  <td rowspan='2'>
EOF;
$content .= networkMultiSelect(array("NEXRAD", "TWDR"), 'ALL', array("ALL" => "ALL"), "radar") . "</td>\n    <th>Start:</th>\n    <td>\n     " . yearSelect2(2005, date("Y"), "year1") . "\n    </td>\n    <td>\n     " . monthSelect2(0, "month1") . "\n    </td>\n    <td>\n     " . daySelect2(0, "day1") . "\n    </td>\n    <td>\n     " . gmtHourSelect(0, "hour1") . "\n    </td>\n    <td>\n     " . minuteSelect(0, "minute1") . "\n    </td>\n  </tr>\n\n  <tr>\n    <th>End:</th>\n    <td>\n     " . yearSelect2(2005, date("Y"), "year2") . "\n    </td>\n    <td>\n     " . monthSelect2(0, "month2") . "\n    </td>\n    <td>\n     " . daySelect2(0, "day2") . "\n    </td>\n    <td>\n     " . gmtHourSelect(0, "hour2") . "\n    </td>\n    <td>\n     " . minuteSelect(0, "minute2") . "\n    </td>\n  </tr>\n</table>";
$content .= <<<EOF
<p><input type="submit" value="Giveme data right now!">
</form>

<h4>Shapefile DBF schema:</h4>
<pre>
Field 0: Type=C/String, Title='VALID', Timestamp in UTC
Field 1: Type=C/String, Title='STORM_ID', 2 character Storm ID
Field 2: Type=C/String, Title='NEXRAD', 3 character NEXRAD ID
Field 3: Type=N/Integer, Title='AZIMUTH', Azimuth of storm in degrees from North
Field 4: Type=N/Integer, Title='RANGE', Range of storm in miles from RDA
Field 5: Type=C/String, Title='TVS', Tornado Vortex Signature
Field 6: Type=C/String, Title='MESO', Mesocyclone strength (1=weak,25=strongest)
Field 7: Type=N/Integer, Title='POSH', Probability of Hail
Field 8: Type=N/Integer, Title='POH', Probability of Hail
Example #3
0
$t->thispage = "networks-awos";
$t->title = "AWOS One Minute Data Download";
include "../../../include/iemprop.php";
$awos_archive_end = strtotime(get_iemprop("awos.1min.end"));
include "../../../include/imagemaps.php";
include "../../../include/forms.php";
$bogus = 0;
$ys1 = yearSelect2(1995, date("Y"), "year1");
$ms1 = monthSelect($bogus, "month1");
$ds1 = daySelect2($bogus, "day1");
$mi1 = minuteSelect($bogus, "minute1");
$hs1 = hour24Select($bogus, "hour1");
$ys2 = yearSelect2(1995, date("Y"), "year2");
$ms2 = monthSelect($bogus, "month2");
$ds2 = daySelect2($bogus, "day2");
$mi2 = minuteSelect($bogus, "minute2");
$hs2 = hour24Select($bogus, "hour2");
$aend = date('d M Y', $awos_archive_end);
$sselect = networkMultiSelect("AWOS", '', array(), 'station[]');
$t->content = <<<EOF
<ol class="breadcrumb">
 <li><a href="/AWOS/">AWOS Network</a></li>
 <li class="active">Download One Minute Data</li>
</ol>

<p>The Iowa Department of Transportation (DOT) manages the 
network of AWOS sensors in the state of Iowa.  While 20 minute interval data
is published to the world in real-time, they also collect one minute interval
data internally.  Each month, the DOT kindly provides us with the previous
month's archive of one minute data.  We process this data into our database
and make the observations available here for download.  Please don't make