Message Boards Message Boards

Bárðarbunga earthquake swarm

Posted 10 years ago
POSTED BY: Arnoud Buzing
6 Replies
Posted 10 years ago

Just for fun, here's 3d version:

reliefmap = 
  GeoGraphics[Entity["Volcano", "Bardarbunga"], 
   GeoRange -> Quantity[100, "Kilometers"], 
   GeoBackground -> GeoStyling["ReliefMap"]];

latlong = 
  GeoBoundingBox[
   GeoDisk[Entity["Volcano", "Bardarbunga"], 
    Quantity[100, "Kilometers"]]];
alt = Reverse[
   QuantityMagnitude[
    GeoElevationData[latlong, UnitSystem -> "Metric"]]];

bardabunga = 
  ListPlot3D[alt, 
   PlotStyle -> Directive[Opacity[.7], Texture[reliefmap]], 
   Mesh -> 10, MeshFunctions -> {#3 &}, 
   TextureCoordinateFunction -> ({#1, #2} &), 
   MeshStyle -> GrayLevel[.5], Lighting -> "Neutral", 
   MaxPlotPoints -> 120, Boxed -> False, Axes -> False, 
   DataRange -> Reverse[Transpose[latlong[[All, 1]]]]];

data = "results" /. Import["http://apis.is/earthquake/is", "JSON"];

data3d = Map[{"size", {"longitude", "latitude", -100 "depth"}} /. # &,
    data];
minmax = Through[{Min, Max}[data3d[[All, 1]]]];

earthquakes = {Point[#2, 
      VertexColors -> (Hue[0, #] & /@ 
         Rescale[#1, minmax, {.1, 1}])]} & @@ Transpose[data3d];

prange = bardabunga // PlotRange;

prange[[3, 1]] = Min[data3d[[All, 2, 3]]];

Show[{bardabunga, Graphics3D[{PointSize[.004], earthquakes}]}, 
 ImageSize -> 720, PlotRange -> prange, BoxRatios -> {1, 1, .7}, 
 Background -> Black]

enter image description here

POSTED BY: Jaebum Jung

Very nice, indeed!

Would it be possible to animate this map so that the earthquakes pop up over time?

Yes, using the techniques described above but saving image for every minute: https://vimeo.com/104637028

And how to generate the animation.

POSTED BY: Arnoud Buzing
POSTED BY: Sam Carrettie
Posted 10 years ago

And Double-Wow!

POSTED BY: David Keith

Wow!

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract