<commit_before><?php
include("../../config/settings.inc.php");
$TITLE = "IEM | Storm Based Warning Daily Summaries";
$THISPAGE = "severe-cow";
include("$rootpath/include/forms.php");
include("$rootpath/include/header.php"); 

$year = isset($_GET["year"]) ? $_GET["year"] : date("Y", time()-3600);
$month = isset($_GET["month"]) ? $_GET["month"] : date("m", time()-3600);
$day = isset($_GET["day"]) ? $_GET["day"] : date("d", time()-3600);
$sortby = isset($_GET["sortby"]) ? $_GET["sortby"] : "size";

$d = Array("size" => "", "wfo" => "-wfo", "time" => "-time");

$ts = mktime(0,0,0,$month, $day, $year);

$archivebegin = mktime(0,0,0,1,1,2005);
if ($ts < $archivebegin) { $ts = $archivebegin; }

$imap = sprintf("/mnt/a1/ARCHIVE/data/%s/sbwsum-imap%s.txt", date("Y/m/d", $ts), $d[$sortby]);
$imgurl = sprintf("http://mesonet.agron.iastate.edu/archive/data/%s/sbwsum%s.png", date("Y/m/d", $ts), $d[$sortby]);

$gis_url = sprintf("http://mesonet.agron.iastate.edu/cgi-bin/request/gis/watchwarn.py?year=%s&month1=%s&day1=%s&hour1=0&minute1=0&month2=%s&day2=%s&hour2=0&minute2=0",  date("Y", $ts), date("m", $ts),date("d", $ts), date("m", $ts +86400), date("d", $ts + 86400) );



?>


<h3 class="heading">Daily Storm Based Warning Summaries</h3><p>


<table><tr><td>

<form method="GET">
<table><caption>Select a date:</caption>
<thead><tr><th>Year:</th><th>Month:</th><th>Day:</th><td></td></tr></thead>
<tbody>
<tr>
<td><?php echo yearSelect(2005, date("Y", $ts), "year"); ?></td><commit_msg>change link to use new SBW limiter<commit_after><?php
include("../../config/settings.inc.php");
$TITLE = "IEM | Storm Based Warning Daily Summaries";
$THISPAGE = "severe-cow";
include("$rootpath/include/forms.php");
include("$rootpath/include/header.php"); 

$year = isset($_GET["year"]) ? $_GET["year"] : date("Y", time()-3600);
$month = isset($_GET["month"]) ? $_GET["month"] : date("m", time()-3600);
$day = isset($_GET["day"]) ? $_GET["day"] : date("d", time()-3600);
$sortby = isset($_GET["sortby"]) ? $_GET["sortby"] : "size";

$d = Array("size" => "", "wfo" => "-wfo", "time" => "-time");

$ts = mktime(0,0,0,$month, $day, $year);

$archivebegin = mktime(0,0,0,1,1,2005);
if ($ts < $archivebegin) { $ts = $archivebegin; }

$imap = sprintf("/mnt/a1/ARCHIVE/data/%s/sbwsum-imap%s.txt", date("Y/m/d", $ts), $d[$sortby]);
$imgurl = sprintf("http://mesonet.agron.iastate.edu/archive/data/%s/sbwsum%s.png", date("Y/m/d", $ts), $d[$sortby]);

$gis_url = sprintf("http://mesonet.agron.iastate.edu/cgi-bin/request/gis/watchwarn.py?year=%s&month1=%s&day1=%s&hour1=0&minute1=0&month2=%s&day2=%s&hour2=0&minute2=0&limit1=yes",  date("Y", $ts), date("m", $ts),date("d", $ts), date("m", $ts +86400), date("d", $ts + 86400) );



?>


<h3 class="heading">Daily Storm Based Warning Summaries</h3><p>


<table><tr><td>

<form method="GET">
<table><caption>Select a date:</caption>
<thead><tr><th>Year:</th><th>Month:</th><th>Day:</th><td></td></tr></thead>
<tbody>
<tr>
<td><?php echo yearSelect(2005, date("Y", $ts), "year"); ?></td>
{'fraction_non_alphanumeric': 0.2911140583554377, 'fraction_numerical': 0.03547745358090185, 'mean_word_length': 6.2698795180722895, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '202243', 'n_tokens_mistral': 1305, 'n_tokens_neox': 1254, 'n_words': 193}