
### mseed2ascii 
> https://github.com/iris-edu/mseed2ascii


### 編譯
> 1.使用cygwin編譯mseed2ascii，相關make與gcc安裝詳見cygwin說明

> 2.切換至目錄
````
cd /cygdrive/d/w-data-mseed/mseed2ascii-2.6
````

> 3.執行make，順利則可編譯出mseed2ascii.exe
````
make
````

> 4.複製依賴dll過來exe旁邊
````
cygwin1.dll
cygz.dll
````

### 運行
> 於vs code內使用「./」代表執行檔，於bat執行直接用mseed2ascii.exe

> 轉small與large測試檔案指令
````

直接轉出內含數據，多channel則會跑出多檔案
./mseed2ascii.exe _test/small/20200917093752_RST01_acc.mseed

直接轉出內含數據，為GeoCSV格式
./mseed2ascii.exe -G _test/small/20200917093752_RST01_acc.mseed

使用「-o」將強制轉出所有數據至同一個檔案
./mseed2ascii.exe _test/small/20200917093752_RST01_acc.mseed -o 20200917093752_RST01_acc.txt

./mseed2ascii.exe _test/large/SE.RST01.00.HNE.D.2021.001

````

