Automating Typhoon Detection with StormSpyder

Automating Typhoon Detection with StormSpyder

I developed a web-scraping tool to access the latest tropical storm forecasts from the European Centre for Medium-Range Weather Forecasts (ECMWF), detecting strike probabilities for tropical storms, tropical cyclones, and hurricanes up to nine days in advance. Results are emailed daily to key scientists at the FCDO.

Project Overview

Motivation Tropical storm forecasts produced by the ECMWF do not provide a concise summary of active threats to populations, making it difficult for humanitarian agencies to quickly respond to forecasted events
Automation Deployed automation on AWS EC2 instance to execute remotel
Client Foreign, Commonwealth, and Development Office (FCDO)
Status Complete
Outcome Increased lead time for producing global Flood Bulletins

no-alignment

StormSpyder is a web scraping tool designed to access the latest tropical storm data from the European Centre for Medium-Range Weather Forecasts (ECMWF), detecting strike probabilities for tropical storms, tropical cyclones, and hurricanes up to nine days in advance. This information is then cross-referenced with a 2.5km resolution population map, producing calculations of the expected impact of the storm event on local populations. Results are then emailed to key parties on the StormSpyder mailing list.

This tool is intended for use by humanitarian and global development agencies to provide a concise summary of storm events which might merit humanitarian response.

How it Works

StormSpyder scrapes the ECMWF tropical storm genesis website for daily nine-day forecasts of tropical storms, tropical cyclones, and hurricanes. The free version of these forecasts is only available as an image. StormSpyder digitises these images by georeferencing the map with a real-world map of the same cylindrical projection. It then detects coloured pixels indicating forecast probabilities of the storm events.

no-alignment

These strike probabilities are then intersected with a 2.km resolution gridden population map to calculate the expected number of people impacted by the storm events (equal to the forecasted probabilities multiplied by the population in the regions that intersect with the forecasted storm).

no-alignment

The names of the countries that are affected by each forecasted storm are also extracted, using a global administrative boundaries map.

no-alignment

StormSpyder runs on an Amazon Web Services (AWS) instance and issues storm alerts via email every morning at 6.00 GMT.

Information Contained in the Alert

StormSpyder alerts report the expected impact of every ECMWF-forecast storm on the local population, as this is the most relevant information for action (calculating only land intersections wouldn’t identify which storm events impact the most people). Expected impact is equal to the probability band of the storm event multiplied by the values of the population grid that the band intersects with. So for example, a band in the 10-20% range (red) that intersects with a population of one million would be calculated to have an expected impact of 0.15 * 1,000,000 = 150,000. The total expected impact for a storm event is the sum of these probability * population intersections for each probability band in a given storm event. This is the expected number of people who would be “impacted” in some way by the storm event.

no-alignment

StormSpyder is set up so that the subject line of the email lists the expected impact for the highest-expected impact storm event of the nine-day forecast period. The subject line of the email tells you the expected impact and exactly which countries this storm will affect. It also gives the date at which the impact is expected to be the highest. This way the important information from all the storm types, all the forecast dates, and all the individually forecasted storms can be distilled into a single easily digestible piece of information. Further details are contained in the body of the email, if additional information is needed.

no-alignment

The body of the emails contains the image taken from the ECMWF website with the highest impact storm, as well as a CSV file that has all the details (storm type, expected impact, impact date, countries affected, forecast date) for every storm event forecast by ECMWF over the next nine days. It’s sorted by expected impact, so the storm events with higher expected impact are listed first. StormSpyder is set up to save all the data produced daily into one large CSV file, which may be useful for retrospective analysis.

no-alignment

no-alignment