瀏覽分類:

筆記 Notes

[TA] 2018 Geological Surveying (Ⅳ) @ Taimali

Taimali (太麻里) is in the southern eastern Taiwan. For the tourists, except for the stunning coastline, the most famous thing will be the orange day-lily (Hemerocallis fulva, 金針花) in JinZhenShan (JinZhen means orange day-lily and Shan means mountain in Mandarin). Geologically speaking, the strata here is the Miocene Lushan Formation. The lithology is mainly composed by argillite, slate and meta-sandstone. The oblique collision of the Phillipine Sea Plate and Eurasian Plate which caused very complex geological structures in this area.

Cover photo : I collected some woods to make a bench on the beach in Taimali, Taitung, Southern eastern Taiwan. The students were sketching the recumbent fold outcrop which we called “Swiss roll”.

( Video in the end of the post )

閱讀更多

[GMT] GMT Wednesday – Install GMT in Ubuntu under Win10

A new semester has begun. I am once again the teaching assistant of the Generic Mapping Tool (GMT) class in NTU, Taiwan. From this week, I will share some class materials to help those who just start to learn GMT.

This week, I’ll share install GMT in Ubuntu on Win10. From last few months, Microsoft has enabled the Linux subsystem on the latest version of Windows 10. We will not need install the dual-OS which costs lots of resources.

The main benefit install the GMT under Linux/Unix-like system is that you can run all the GMT examples. Also many useful programs is pre-installed in Linux like ‘awk’.

Enable the support of Windows Subsystem for Linux

  • Open “Control Panel” (控制台)
  • Search “optional features”(開啟或關閉 Windows 功能)
  • check ” Windows Subsystem for Linux”(適用於Linux的Windows子系統)
  • ckick “OK”

You may be ask to reboot after installed the Windows subsystem for Linux.

Install Linux distibutions

  • Open “Microsoft Store”
  • Search “Ubuntu”
  • Click “get” to install
  • After installation, launch the ubuntu app.
  • It needs some time to install. After few minutes, ubuntu will ask you to set an account name and password. (they are not related to Windows account)

Update the Ubuntu system

  • Use the following command to get the update list:
    sudo apt update
  • Use the following command to upgrade programs:
    sudo apt upgrade

Follow the instructions on the screen.

Install Generic Mapping Tools (GMT)

Use the following command to install the GMT program:

sudo apt install gmt gmt-dcw gmt-gshhg ghostscript

Note

To access the Windows files, the Windows drives will be mount under “/mnt” directory. e.g, /mnt/d/example = D:\example

It takes about 400MB to install GMT and ghostscript

References

  • https://docs.microsoft.com/en-us/windows/wsl/install-win10
  • https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/how-to-enable-the-windows-subsystem-for-linux/16e8f2e8-4a6a-4325-a89a-fd28c7841775?auth=1

 

[程式] Earthworm 學習筆記:20170725 [email protected](II)

Earthworm 是一套模組化、可擴張、穩定且跨系統的地震資料處理程式,早在1993年便開始開發,是一個非常成熟且具有彈性的地震資料處理程式。今天到臺大參加 Earthworm 的 Pre-workshop(正式的 Earthworm workshop在7/27星期四),由達逸學長教我們建立基本的 earthworm 系統,並建立一個 Wave server 給其他的客戶端使用。下面會精簡的記述課堂練習的成果。

下篇記述利用 slink2ew 與 wave_serverV 從 IRIS 接收資料並建立波形伺服器。

閱讀更多

[程式] Earthworm 學習筆記:20170725 [email protected](I)

Earthworm 是一套模組化、可擴張、穩定且跨系統的地震資料處理程式,早在1993年便開始開發,是一個非常成熟且具有彈性的地震資料處理程式。今天到臺大參加 Earthworm 的 Pre-workshop(正式的 Earthworm workshop在7/27星期四),由達逸學長教我們建立基本的 earthworm 系統,並建立一個 Wave server 給其他的客戶端使用。下面會精簡的記述課堂練習的成果。

上篇記述基本概念與如何啟動一個沒有任何模組的 Earthworm 程式。 閱讀更多

LinkIt 7688 外觀

[LKI] LinkIt 7688 Duo 小小開箱

年會看完海報以後,看到達毅學長想用 LinkIt 7688 來做小小的加速度計來測量地震,雖然不知道學長用了什麼加速度計來測量就是了,不過初步可以 Wifi 連線後用 Python 來度取加速度值的資料,想說之前玩過一陣子 Arduino,也來參與一下看看可以怎麼做吧!

有興趣看詳細介紹的可以去官網或網路上搜尋其他部落格,這邊只是記錄一下我做了什麼初始設定而已。

閱讀更多