获取目录

获取走时目录

Hi-net提供了JMA走时数据供下载。

  1. >>> from HinetPy import Client
  2. >>> from datetime import datetime
  3. >>> client = Client("username", "password")
  4. >>> startdate = datetime(2010, 1, 1)
  5. >>> client.get_arrivaltime(startdate, 5)
  6. 'measure_20100101_5.txt'

获取震源机制解目录

Hi-net提供了JMA震源机制解目录供下载。

  1. >>> from HinetPy import Client
  2. >>> from datetime import datetime
  3. >>> client = Client("username", "password")
  4. >>> startdate = datetime(2010, 1, 1)
  5. >>> client.get_focalmechanism(startdate, 5)
  6. 'mecha_20100101_5.txt'