SPC Convective Alerts

The SPC Convective Alerts takes a photo from the National Weather Service, Storm Prediction Center's website, crops it, and sends it off to an email address. I use my cell phone provider's Email-to-MMS gateway to send the cropped photo to my phone.

Using Scheduled Tasks in Windows XP, I have the program run at 10am and 4pm CST every day to get the outlook while mobile. Using Scheduled Tasks allows the user to specify exactly when they want the program to run.

The software needs the PHP-CGI binary and the PHPMailer library. The program is run using a batch file, but all the logic is done in PHP. For other platforms, one would only need to write a shell script similar to the batch script and set up crontab to run it.

 

Code for this software will be released soon. I need to clean up and comment the code a bit, and get some error handling in place.

Site Support