Stan’s Obligatory Blog

2/5/2016

My Pet Project Turns Ten

Filed under: — stan @ 11:00 pm

The USGS Earthquake Notification Service, also known as My Pet Project, went online to the public on January 31, 2006. It all started back in about 2000, when I was talking to someone from Caltrans, and he was asking if we could set up something where they could put in lat/lon coordinates of key freeway bridges and interchanges, and then be notified any time there was an earthquake within some distance of any of them. At the time, we couldn’t do anything like that. But then, fate intervened.

We have occasional cookouts at the office, and in 2003, I thought it would be nice if I could set up a web form for people to fill out online so that I knew who was coming and what food they wanted. I thought this would be sort of like a gift registry, so I went on Sourceforge and found a little gift registry program that someone wrote. I downloaded it, and I hacked it to make an online signup for our office cookouts. In the process of doing this, I learned a bit of MySQL. And then, when I was riding my bike in one morning, I realized that a database like MySQL could do something like what the guy from Caltrans had asked for. So I whipped up a simple database with some rudimentary geographic information, I plugged in the worldwide earthquake feed, and it started sending me earthquakes from all over the world.

I recruited a few ‘guinea pigs’ around the office to set up accounts in it for testing. They suggested other things they would like it to do. At first, it could only define geographic regions as lat/lon points defining a box. People asked for circles, and then arbitrary polygons. Drawing a polygon on the map and figuring out if a given earthquake fell inside it kept me thinking for a while, but I worked out a reasonable way to do it. And while all this was happening, my little system was being shown around to everyone, until the National Earthquake Information Center saw it and decided that it should be an official product of the Earthquake Hazards Program.

We had a few old-style mailing lists that were open to the public at that time. One for worldwide quakes M5.5 and over, and two for California quakes. One for M3 and higher, and one for M4. Those mailing lists formed the initial subscriber base. I wrote some scripts to port the mailing lists over, creating an account for each person with notification rules that would give them the same earthquakes they had been getting before. All told, this made for about 100,000 initial subscribers.

Now it’s been ten years, and it now has about 400,000 subscribers. Over ten years, that’s an average of about 80 new subscribers every day. Most days get about 30-35 new subscribers, but this goes way up after big earthquakes. The largest jump was about 75,000 new subscribers in the two weeks after the 2011 M9 Tohoku Earthquake in Japan.

Because this all started from wanting to have an online signup form for the office cookouts, I thought we should have a cookout for the occasion. I made a cake, and we all gathered out on the patio behind the office. It was a nice time. And it’s still amazing to me that this thing I wrote that started out as a little Pet Project has turned into a thing. And that’s it’s used by 400,000 people. And in the end, I guess that’s the greatest satisfaction.

One Response to “My Pet Project Turns Ten”

  1. Lori Says:

    So awesome Stan!!!

Leave a Reply

Seals

Powered by WordPress