Skip to content

Commit

Permalink
feat: add snow squall verification to iem cow
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Nov 28, 2023
1 parent 3ef93d3 commit 7518d47
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
18 changes: 14 additions & 4 deletions htdocs/cow/index.phtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
define("IEM_APPID", 107);
require_once "../../config/settings.inc.php";
require_once "../../include/myview.php";
require_once "../../include/database.inc.php";
Expand Down Expand Up @@ -82,7 +83,8 @@ $ar = array(
"SV" => "Svr T'storm",
"MA" => "Marine",
"FF" => "Flash Flood (2008+)",
"DS" => "Dust Storm (2018+)"
"DS" => "Dust Storm (2018+)",
"SQ" => "Snow Squall (2018+)",
);
$tselect = "";
foreach ($ar as $k => $v) {
Expand All @@ -104,7 +106,8 @@ $ar = array(
"G" => "Wind Gust",
"MA" => "Marine",
"FF" => "Flash Flood (2008+)",
"DS" => "Dust Storm (2018+)"
"DS" => "Dust Storm (2018+)",
"SQ" => "Snow Squall (Oct 2023+)",
);
$ltselect = "";
foreach ($ar as $k => $v) {
Expand Down Expand Up @@ -196,6 +199,7 @@ function wtypeSelect()
document.getElementById("MA").checked = true;
document.getElementById("FF").checked = true;
document.getElementById("DS").checked = true;
document.getElementById("SQ").checked = true;
return false;
}
</script>
Expand All @@ -213,6 +217,7 @@ function ltypeSelect()
document.getElementById("FF2").checked = true;
document.getElementById("MA2").checked = true;
document.getElementById("DS2").checked = true;
document.getElementById("SQ").checked = true;
return false;
}
</script>
Expand All @@ -223,9 +228,9 @@ function ltypeSelect()
{$tagselect}
{$forecaster_form}
</td></tr>
</table>
</div>
</div>
Expand Down Expand Up @@ -312,6 +317,11 @@ service was improved some, but should all still be backwards compat.</p>
<code>unwarned_reports</code> was updated to not include severe thunderstorm
type reports made during a tornado warning.</p>
<p><strong>28 Nov 2023</strong>: The option to do verification for Snow Squall
Warnings was added, but note that verifying LSRs only became an option after
1 October 2023. So no prior warnings will show as verified prior to that date.
</p>
<p>The JSON emitting service endpoint is:
<br /><code>https://mesonet.agron.iastate.edu/api/1/cow.json</code></p>
Expand Down
1 change: 1 addition & 0 deletions htdocs/lsr/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ var lsrLookup = {
"N": "icons/wind.png",
"O": "icons/wind.png",
"P": "icons/other.png",
"q": "icons/downburst.png",
"Q": "icons/tropicalstorm.gif",
"s": "icons/sleet.png",
"T": "icons/tornado.png",
Expand Down
1 change: 1 addition & 0 deletions htdocs/plotting/auto/scripts200/p242.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"O": "wind.png",
"P": "other.png",
"Q": "tropicalstorm.gif",
"q": "downburst.png",
"s": "sleet.png",
"T": "tornado.png",
"U": "fire.png",
Expand Down

0 comments on commit 7518d47

Please sign in to comment.