获取目录
获取走时目录
Hi-net提供了JMA走时数据供下载。
>>> from HinetPy import Client
>>> from datetime import datetime
>>> client = Client("username", "password")
>>> startdate = datetime(2010, 1, 1)
>>> client.get_arrivaltime(startdate, 5)
'measure_20100101_5.txt'
获取震源机制解目录
Hi-net提供了JMA震源机制解目录供下载。
>>> from HinetPy import Client
>>> from datetime import datetime
>>> client = Client("username", "password")
>>> startdate = datetime(2010, 1, 1)
>>> client.get_focalmechanism(startdate, 5)
'mecha_20100101_5.txt'