prediction->delay['data'];
if($yesno == "0") {
echo "";
} else if($yesno == "1") {
echo "2 HOUR DELAY ON ".date('F j, Y')."";
?>
SCHOOL CANCELED ON ".date('F j, Y')."";
?>
EARLY DISMISSAL ON ".date('F j, Y')."";
?>
Snow day forecast/prediction for
Current temperature: weather->current_conditions->temp_f['data'];
echo $latitude." F";
?>
Current weather conditions: weather->current_conditions->condition['data'];
?>
Current weather->current_conditions->wind_condition['data'];
?>
Current radar: CLICK TO SHOW
Today's Forecast: weather->forecast_conditions[0]->condition['data'];
?>
Today's Low: weather->forecast_conditions[0]->low['data']." F";
?>
Today's High: weather->forecast_conditions[0]->high['data']." F";
?>
Tomorrow's Forecast: weather->forecast_conditions[1]->condition['data'];
?>
Tomorrow's Low: weather->forecast_conditions[1]->low['data']." F";
?>
Tomorrow's High: weather->forecast_conditions[1]->high['data']." F";
?>
Estimated Snowfall: prediction->est['data']." inches";
?>
Percentage chance of snow day: prediction->percent['data']."%*";
$perc = $pred->prediction->percent['data'];
?>
Best guess for outcome: = $high) return false;
return true;
}
if($perc == "N/A") {
echo "No percentage chance available.";
}
else if($perc == "0") {
echo "No delay. No cancellation. No snowstorm :(";
} else if(numb($perc, 55, 0)) {
echo "Delay not highly likely, but possible. Cancellation not likely. Don't count on it. Little to no chance of anything.";
} else if(numb($perc, 75, 56)) {
echo "Delay likely. Cancellation possible.";
} else if(numb($perc, 100, 75)) {
echo "Delay highly likely, even positive. Cancellation likely.";
}
?>
Prediction subject to change. This prediction is based off data for Private schools, and more aimed towards Bosque students. It should still be accurate for public schools though.
*If school has already started, prediction is for an early closing.