Python

Oklahoma Earthquake Streamgraph

[Python_Tutorial] @ Hongyu

Explore the seismicity trends in the Oklahoma region from 2010 to 2024 using data from the Oklahoma Geological Survey (OGS) seismic catalog. This Python tutorial demonstrates how to create a streamgraph to visualize earthquake data over time. Learn how to work with seismic datasets and generate insightful visualizations for earthquake analysis.

Download the example text file for this example to follow along and recreate the visualizations.

Click here for detailed content !

Read CSV file in pandas and make scatter plots

[Python_Tutorial] @ Hongyu

How to read CSV file into pandas ? Here is an example how to load the CSV file and make scatter plots. Examples includes simple scatter plot, scatter plot with symmetric error bars, scatter plot with asymmetric error bars, and plotly scatter plots

CSV file used for this example and this is the Notebook file

Click here for detailed content !

Setup Anaconda/jupyter notebook/modules

[Python_Tutorial] @ Hongyu

How to set up an Anaconda environment to use python in earth science ? This is the start of everything before using it. This post shows instructions on installing Anaconda, Jupyter notebook, Pandas and other useful modules

Click here for content !

北京大学2020年暑期学内容大纲

[PKU Summer School 2020] @ Hongyu

北京大学2020年地球物理暑期学校

实验部分 课程涵盖内容

点击查看内容 !

Jupyter Notebook简介和使用入门

[PKU Summer School 2020] @ Hongyu

什么是Jupyter notebook? 为什么要使用Jupyter Notebook?

如何安装Jupyter Notebook,入门的的安装和调试是怎样的?为什么大家喜欢使用这个平台进行调试?

点击查看内容 !

Numpy 简介和使用入门

[PKU Summer School 2020] @ Hongyu

什么是Numpy? 为什么要使用Numpy?

如何安装Numpy ,入门是怎样的? 有什么基本的使用方法?

点击查看内容 !

Python 简介和使用入门

[PKU Summer School 2020] @ Hongyu

什么是Python? 为什么要使用Python?

快速入门Python,什么是基本的语法?有什么基本的结构 或者 变量? 如何看懂最基本的Python代码?

点击查看内容 !

CShell

地震学Shell常用命令

[PKU Summer School 2020] @ Hongyu

在服务器上常用的Shell命令都有哪些?如何使用?

如何进行删改增查?如何既定重定向?如何组合使用多种命令?

点击查看内容 !

Seismicity Plot

[GMT plotting] @ Hongyu

How to use PSXY to make a GMT plot with seismicity ? How to organize the data for psxy?

How to setup the background basemap and how to add the color bar with it?

Click here for content !

Location Plot

[GMT plotting] @ Hongyu

How to use PSXY to make a station location plot on top of CRUST 1.0? How to organize the data for psxy?

How to setup the background basemap and how to add the color bar with it?

Click here for content !

SAC

地震学SAC常用命令

[PKU Summer School 2020] @ Hongyu

在服务器上常用的SAC命令都有哪些?如何使用?

如何进行查看SAC表头信息?如何进行基本的绘图? 如何脚本调用?如何做基本的滤波等处理?

点击查看内容 !

Miscellaneous

Download AGU2020 Video Using youtube-dl

[AGU2020_Notes] @ Hongyu

AGU2020 went online! How to keep millions of high quaility scientific talks from AGU website and learn it at a later time? Try to use youtube-dl, free command line video downloader to download these videos!

Click here for detailed content !

Illinois State Geological Survey 2022 Summer HVSR

[Summary Report] @ Hongyu

In summer 2022, besides the field work in Boone County, I explored the HVSR (Horizontal vertical spectrum ration) method estimating the sediment thickness in Illinois. Here is some of my work summary about HVSR.

How to setup the IRIS-HVSR package and how to make some practice use of it ?

I also tried to bridge the ResShake3D and IRIS-HVSR together to make practical usage of it

Click here for detailed content !

Contact Me
Feel free to contact me

Address

1301 W, Green St., Urbana, U.S.A

Phone

+1779-232-3992

Email

hongyux2@illinois.edu