Institute of Earth Sciences Coders

Let's code!

Travel-time curve calculation for the Spherical Earth (PREM Model)

I have used the Preliminary Reference Earth Model of Dziewonski and Anderson (1981) to calculate the travel time curve. This model is very robust in the sense that it is designed to fit a wide variety of data including free-oscillation,... Continue Reading →

Ray tracing through a 1-D velocity model

Refer to Chapter 4 of Shearer, Introduction to Seismology. For a ray piercing through Earth, the ray parameter (or horizontal slowness) p is defined by several expressions: where u = 1/v is the slowness, θ is the ray incidence angle, T is... Continue Reading →

Linux Tutorial (Data Processing)

In the last tutorial, we have seen the basics of the Linux commands. Now, we will learn some more tools which we can use to do data processing. We will see the uses of for loop, while loop, awk command,... Continue Reading →

Normal Mode Summation for calculating the synthetic seismogram for a string

When we pluck a string fixed at both ends, then this will creating a standing wave. We can get some insights on the behavior of the propagating wave by considering normal modes or free oscillations of the string. A wave... Continue Reading →

Modeling a wave on a string using finite differences

Based on problem 3.7 chapter 3 of Introduction to Seismology (Shearer) (COMPUTER) In the case of plane-wave propagation in the x direction within a uniform medium, the homogeneous momentum equation (3.9) for shear waves can be expressed as ,where u... Continue Reading →

Calculating Pressure and Tension axis given the fault plane (strike, dip and rake): Analytical solution

The fault plane is characterized by its normal vector and the direction of its motion is given by the slip vector. Here, we calculate the normal vector and the slip vector for a given fault geometry. The orientation of the... Continue Reading →

Linux Tutorials ( For beginners )

Linux is a very powerful platform which can be used to do almost everything in computer world. It is an open-source and free operating system. There are various distributions of Linux operating system including Ubuntu, Fedora, Debian, Mint, Opensuse etc.... Continue Reading →

Cross Section for Oblique Projection Problem

Sometimes, to create a cross section profile is not that easy when it comes to an Oblique projection map. Maybe, not only that, to make a cross section profile is not that easy either when it comes to various direction... Continue Reading →

Calculating Auxiliary Fault Plane Solutions given the main fault (Fortran)

We have calculated the auxiliary fault plane solution using the input of main fault solution in perl. Here, we do the same in Fortran. And we will also plot to solution to visualize the results. Fortran Code to get the... Continue Reading →

Powered by

Up ↑