Easily integrate Custom Functions in MATLAB with Python (codes included)

How can we use the MATLAB functions in Python? MATLAB implementation are usua...

The easy way to compute and visualize the time & frequency domain correlation (codes included)

In geophysics, it is important to understand and identify the complex and unk...

Introduction to Earth Data Analysis


  1. Get Started
    1. Learn Git/Github for team collaboration
    2. Install Python via Anaconda
    3. Install Python IDE (Jupyter Notebook, Visual Studio Code)
    4. Python variables and data types
    5. Install and use Python packages
    6. Get familiar with Numpy for data manipulations
    7. Get familiar with Matplotlib for plotting arrays
    8. Get familiar with Pandas to analyze tabular data
  2. Get familiar with text file formats
    1. Use basic Markdown syntax to format text in Jupyter Notebook files
    2. Get familiar with text file formats - CSV, .txt, YAML
    3. Read/Write data from text files using Python
    4. Read/Write data from text files using Pandas
    5. Deal with missing data in Pandas
  3. Spatial Data Analysis
    1. Read multi-layered raster data (.tif / .hdf / .nc) in Python
    2. Read vector data (shapefiles) using geopandas
    3. GIS in Python
  4. Time-series Analysis using Pandas
    1. Read time-series data
    2. Work with Datetime formats
    3. Resample time series
    4. Filtering/smoothing time-series with Pandas
    5. Plot time series
  5. How to plot topographic high-resolution geospatial maps
    1. Generic Mapping Tools (GMT-6) for high-quality topographic maps
    2. PyGMT: Easily plot GMT maps using Python
    3. Plot location data from the text file on a map, and clipping along coastlines
    4. Three-dimensional perspective map using GMT/PyGMT

Recent posts

Plotting a record section using obspy (codes included)

Plotting a record section using obspy (codes included)

10 minute read      GEOPHYSICS     

Quickly plot record section of a stream using Obspy. I will introduce you how to make a stream from a set of SAC data, plot the record section and store it a...

Least-squares method in geosciences (codes included)

Least-squares method in geosciences (codes included)

10 minute read      GEOPHYSICS     

Least-squares method is a popular approach in geophysical inversion to estimate the parameters of a postulated Earth model from given observations. This meth...

Time-frequency analysis in matlab (codes included)

Time-frequency analysis in matlab (codes included)

6 minute read      GEOPHYSICS     

A signal has one or more frequency components in it and can be viewed from two different standpoints: time-domain and frequency domain. In general, signals a...

Plotting a record section using obspy (codes included)

Plotting a record section using obspy (codes included)

10 minute read      GEOPHYSICS     

Quickly plot record section of a stream using Obspy. I will introduce you how to make a stream from a set of SAC data, plot the record section and store it a...

Least-squares method in geosciences (codes included)

Least-squares method in geosciences (codes included)

10 minute read      GEOPHYSICS     

Least-squares method is a popular approach in geophysical inversion to estimate the parameters of a postulated Earth model from given observations. This meth...

Time-frequency analysis in matlab (codes included)

Time-frequency analysis in matlab (codes included)

6 minute read      GEOPHYSICS     

A signal has one or more frequency components in it and can be viewed from two different standpoints: time-domain and frequency domain. In general, signals a...