Coder Social home page Coder Social logo

gr-law's Introduction

地震解析ツール

気象庁公表の自身カタログデータのレコードフォーマット

https://www.data.jma.go.jp/eqev/data/bulletin/data/format/hypfmt_j.html

例: 2k...2桁目 1k...1桁目 Dt...データレコード

2k 0 0000 00 00 11 11 1111 1122 222 2222 2333 3333 3334 4444 44444 555 55 5 55 5 5 6 6 6 6 6 6 666 677777777778888888888999 999 9
1k 1 2345 67 89 01 23 4567 8901 234 5678 9012 3456 7890 1234 56789 012 34 5 67 8 9 0 1 2 3 4 5 678 901234567890123456789012 345 6

Dt J 2021 03 01 00 00 0319  005  37 4255  015  141 4266  020  5161 049 17 V      7 1 1       2  69 E OFF FUKUSHIMA PREF      37

これを読み取ると、

  • 日時: 2021/3/1 00:00:03.19 (誤差0.05秒)
  • 震央: 37°42.55' (誤差0.15') / 141°42.66' (誤差0.2')
  • 深さ: 51.61km (誤差4.9km)
  • マグニチュード: 1.7 (Dに準拠した速度マグニチュード※)
  • (マグニチュード2の情報なし)
  • 走時表: 陸域用(JMA2001A)、東北太平洋沖用(JMA2020A)、東北アウターライズ用(JMA2020B)、南海トラフ用(JMA2020C)のいずれか
  • 震源評価方法: 深さフリー
  • 震源補助情報: 通常地震
  • 最大震度: 無感
  • 被害規模: なし
  • 津波規模: なし
  • 大地域区分番号: 2(おそらく東北)
  • 小地域区分番号: 69(おそらく福島県沖)
  • 震央地域名称: E OFF FUKUSHIMA PREF (福島県東)
  • 震源決定観測点数: 37
  • 震央決定グラフ: なし

となる。

これから GR則を得る。 https://ja.wikipedia.org/wiki/%E3%82%B0%E3%83%BC%E3%83%86%E3%83%B3%E3%83%99%E3%83%AB%E3%82%B0%E3%83%BB%E3%83%AA%E3%83%92%E3%82%BF%E3%83%BC%E5%89%87

起動方法

1. venv にはいる

source venv/bin/activate

2. venv 復元

pip install -r requirements.txt

2. 依存系のインストール

pipenv sync --dev

3. あとは動かしたいコードを実行

python parse.py

gr-law's People

Contributors

akagire avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.