Skip to content

read the html file of NIED's Hi-net earthquake catalogue and convert it to Pandas dataframe

Notifications You must be signed in to change notification settings

seishorihori/ReadHinetHypo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

ReadHinetHypo

read the html file of NIED's Hi-net earthquake catalogue and convert it to Pandas dataframe

Overview

防災科学技術研究所のHi-netサイトで公開されている震源リストファイル(htmlファイル)から震源情報を取り出し、Pandasのデータフレームに格納して返すPythonライブラリ。

Description

  • ReadHinetHypo.py:防災科学技術研究所のHi-netサイトで公開されている震源リストファイル(htmlファイル)から震源情報を取り出しPandasのデータフレームに格納して返すPythonライブラリ。

Python 3.8で作成。

Demo

なし

VS.

同じ目的のコードはいくらでもあると思いますが、比較したことはありません。 Several researchers (mainly seismologists) will create codes for the same purpose, but I have not compared my codes with others.

Requirement

  • Python 3系列
  • Beautiful Soup 4
  • Pandas

Usage

  1. Hi-netのサイトから、震源リストのhtmlファイルをダウンロード(Google Chromeだとうまくいかない。Mac上ではSafariあるいはFirefoxを使用のこと)
  2. ReadHinetHypoをimportした上で、変換したいhtmlファイルへのフルパスを引数としてReadHinetHypoを呼ぶ。
  3. コードを実行。

Install

ライブラリ自体をダウンロードするだけのはず。Requirementの項に書かれているライブラリーがない場合には別途インストール。

Contribution

バグリポート、フィードバックは歓迎します。

Licence

GNU GPLv3

Author

堀川晴央 (Horikawa, Haruo)

seishorihori

About

read the html file of NIED's Hi-net earthquake catalogue and convert it to Pandas dataframe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages