As a complete aside, if you're really worried about sudden storms etc, you may wish to consider paying $5 anually to
www.wunderground.com. They have a capability to automatically send you email for when there are weather alerts in your area. The advantage of using this service over your script, is that if your home pc goes down because of a thunderstorm, you would still get the warning... They have a really nice selection of weather output, including for non-us locations. (Note, I'm not affiliated with this site, just an FYI.)