AI4EPS / PhaseNet

PhaseNet: A Deep-Neural-Network-Based Seismic Arrival Time Picking Method
MIT License
263 stars 111 forks source link

support for large MSEED files #87

Open xiansch opened 5 months ago

xiansch commented 5 months ago

Hi,

I am trying to run PhaseNet on some very large (3K MB+) data files that are downloaded in large chunks from IRIS. I am running into the problem: "Error reading ../20180715_20180725/mseed/HV.UWB_20180715_20180725.mseed: ObsPy can currently not directly read mini-SEED files that are larger than 2^31 bytes (2048 MiB). To still read it, please read the file in chunks as documented here: https://github.com/obspy/obspy/pull/1419#issuecomment-221582369"

The obspy link has a solution which is to read in chunks, which I suppose is not implemented in the native PhaseNet reader. Would it be possible to update this (or I can do it manually, if I can get pointers to which function to modify).

Thanks

wayneweiqiang commented 5 months ago

Hi,

I think it would be easier to save the data into multiple files.

Weiqiang

On Apr 24, 2024, at 12:02, xiansch @.***> wrote:

Hi,

I am trying to run PhaseNet on some very large (3K MB+) data files that are downloaded in large chunks from IRIS. I am running into the problem: "Error reading ../20180715_20180725/mseed/HV.UWB_20180715_20180725.mseed: ObsPy can currently not directly read mini-SEED files that are larger than 2^31 bytes (2048 MiB). To still read it, please read the file in chunks as documented here: obspy/obspy#1419 (comment) https://github.com/obspy/obspy/pull/1419#issuecomment-221582369"

The obspy link has a solution which is to read in chunks, which I suppose is not implemented in the native PhaseNet reader. Would it be possible to update this (or I can do it manually, if I can get pointers to which function to modify).

Thanks

— Reply to this email directly, view it on GitHub https://github.com/AI4EPS/PhaseNet/issues/87, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBGTN5EM2UUMLGQL5ZXDJ3Y676UXAVCNFSM6AAAAABGXPQFMKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DCOJYGAYDCOA. You are receiving this because you are subscribed to this thread.