smousavi05 / EQTransformer

EQTransformer, a python package for earthquake signal detection and phase picking using AI.
https://rebrand.ly/EQT-documentations
MIT License
301 stars 148 forks source link

Will not download mseed files #140

Open sbrent88 opened 1 year ago

sbrent88 commented 1 year ago

Hi,

I am having trouble downloading the mseed files and I can't figure out where I am going wrong. I successfully am able to make the stations list, and I checked the json files and it looks good. NET = "7F" STA = "A01,A02,A03,A04" CHA ="GHZ" STIME="2020-01-15 15:00:00.00" ETIME="2020-01-15 16:00:00.00" MINLAT= 22.881267 MAXLAT= 22.881167 MINLON= 58.70056 MAXLON= 58.700606

import os json_basepath = os.path.join(os.getcwd(),"json/station_list.json") makeStationList(json_path=json_basepath, client_list=["IRIS"], min_lat=None, max_lat=None, min_lon=None, max_lon=None, network=NET, station=STA, channel=CHA, start_time=STIME, end_time=ETIME, filter_network=[])

It gives me the output I expect: 7F--A01 7F--A02 7F--A03 7F--A04

However, when I go to download the appropriate mseed files using: downloadMseeds(client_list=["IRIS"], stations_json=json_basepath, output_dir="downloads_mseeds", start_time=STIME, end_time=ETIME, min_lat=MINLAT, max_lat=MAXLAT, min_lon=MINLON, max_lon=MAXLON, chunk_size=1, channel_list=[], n_processor=2)

It starts the process, and doesn't throw me any errors, but it doesn't download anything. It just initializes the process.

[2022-09-13 11:23:24,429] - obspy.clients.fdsn.mass_downloader - INFO: Initializing FDSN client(s) for IRIS. [2022-09-13 11:23:24,433] - obspy.clients.fdsn.mass_downloader - INFO: Successfully initialized 1 client(s): IRIS. ####### There are 4 stations in the list. ####### ======= Working on A01 station. ======= Working on A02 station. ======= Working on A03 station. ======= Working on A04 station.

Any idea what could be happening?

smousavi05 commented 1 year ago

@sbrent88 have you tried Obspy directly? EqT uses Obspy under the hood and sometimes there are issues with network APIs.