Loading...
Logo
Processing Forum

I have a programming challenge which might interest an experienced processing programmer (or existing team of programmers.)

It is for recreational (and possibly ultimately educational) purposes, not for commercial reasons.

The task is to produce a time-animation of a 3-dimensional seismicity dataset.

The data is positional, time, and magnitude data, and comes from the NZ seismic catalogue (held at geonet.org.nz ).

It's fresh, online, in the public domain, and lots of fun to play with!

Years ago I animated a few days worth it in Delphi 3, but even then I was well aware that processing would deliver a better result.

The key was to display each quake as a (small) rapidly decaying filled circle, at the appropriate x-y-z location, and then displaying the next one the same way.

In this way, one could watch series of minor earthquakes sweep through the country.

It took a while to calibrate the display persistence (i.e. a whole seismic event should be over in 3 seconds), and to set the appropriate speed of the animation (e.g. 24 hours of data might last 5 minutes of screentime), but it was a very heady thing to see, once these parameters had been properly set!

I've been meaning to learn processing for about 6 years now, but never will, due to other time demands.

Perhaps one of you is interested in exploring this interface between scientific data and information visualization. It should not be technically difficult challenge, and the results should be giddily breathtaking (as you reveal the earth's pulse. I kid you not). The skills you learn seem highly portable, and the basic model should be applicable to other datasets. I've done it with a very dense lightning strike dataset too, but earthquake data has a more engaging rhythmic quality.

I'm a bit embarassed that I never thought to ask before, so sorry about that. But, I offer it now as a discussion starter, and look forward to seeing peoples' reactions (and maybe even prototypes).

Kind regards
Paul

Replies(4)

Do you mean this file?  GeoNet_CMT_solutions.csv
Looks interesting, but I have no clue how to interpret the data.

Sourcing seismic time series data for NZ.

This project relies on 'real world' data, gathered over the past decades by NZ government's seismological monitoring project Geonet.

As the system is being revised at the moment, there is a good opportunity to present the animation module to scientists, earth science students, and the general public when the system goes live again later this year.

Accordingly, the catalogue stops abruptly in September 2012, but the historical data allows you to 'get a feel' for the data, build a robust system, and to properly calibrate the final animations.

The data can be downloaded as a CSV file from: http://magma.geonet.org.nz/quakesearch/

Simply choose a start and end date for your dataset (remembering that there is no data for this year), drag the mouse over the map to select your area of interest, and choose the format of your data.

The easiest data format maybe: CSV(Time, location,z, mag)

The time of every earthquake is broken down into:
ORI_YEAR
ORI_MONTH
ORI_DAY
ORI_HOUR
ORI_MINUTE
ORI_SECOND
which Excel can easily reassemble into a single number (e.g. minutes elapsed since the beginning of the year).

The position of every quake is given in two formats: LAT / LONG , and NZMGE / NZMGN. Both can easily be converted into kilometres (to match the DEPTH field), or your own preferred system of screen units / pixels, etc.

Rendering the Richter scale magnitude (MAG) in false colour can add drama.

The first column, CUSP_ID, assigns a unique ID to each event, but you can also assign your own.
 
I had a quick look at GeoNet_CMT_solutions.csv, but that stuff is totally beyond me!

Good luck, and let us know how you get on!
-Paul

 


 

Just put the data on a globe for visualizing it to realize that its just the data of new zealand... seems like i missed that fact. So a globe is probably not the best idea... 
For any of you who plans to visualize it. i can recommend Till Nagels unfolding library  http://unfoldingmaps.org/
there already is an example for earthquake data. might be a good starting point  http://unfoldingmaps.org/examples/40_marker-georss-earthquakes.html
 
Quick follow up:
This time-lapse photo of a firework is very similar to the original Delphi animation of the earthquake catalogue, except Processing renders the visuals much more beautifully.
(As I say, this project will look good in anyone's portfolio)