AI4EPS / PhaseNet

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

Problem to run Ridgecrest example from QuakeFlow #29

Open gnpang opened 2 years ago

gnpang commented 2 years ago

I am trying to reproduce the example from QuakeFlow webpage. However, I got a problem with reading in data in the mseed array format. It has trouble when read in the single component data. When the coda tried to read in the CI.WNM.EHZ data, it returned an error on line 434 "trace_amp[:,j]/=float(resp[j])" saying list index out of range. I think it is because that the index the code assigned for the Z channel is 2 while it only has one element in resp[] for one channel data. Can you please look at this?

wayneweiqiang commented 2 years ago

Could you help try it again? I introduced a bug in previous update.

On Nov 19, 2021, at 12:03 PM, G.N.Pang @.***> wrote:

I am trying to reproduce the example from QuakeFlow webpage. However, I got a problem with reading in data in the mseed array format. It has trouble when read in the single component data. When the coda tried to read in the CI.WNM.EHZ data, it returned an error on line 434 "trace_amp[:,j]/=float(resp[j])" saying list index out of range. I think it is because that the index the code assigned for the Z channel is 2 while it only has one element in resp[] for one channel data. Can you please look at this?

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

gnpang commented 2 years ago

I think it is working.

On Fri, Nov 19, 2021 at 3:08 PM Weiqiang @.***> wrote:

Could you help try it again? I introduced a bug in previous update.

On Nov 19, 2021, at 12:03 PM, G.N.Pang @.***> wrote:

I am trying to reproduce the example from QuakeFlow webpage. However, I got a problem with reading in data in the mseed array format. It has trouble when read in the single component data. When the coda tried to read in the CI.WNM.EHZ data, it returned an error on line 434 "trace_amp[:,j]/=float(resp[j])" saying list index out of range. I think it is because that the index the code assigned for the Z channel is 2 while it only has one element in resp[] for one channel data. Can you please look at this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/wayneweiqiang/PhaseNet/issues/29>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABBGTN6XSZZRQDQXP4MCP3TUM2UPVANCNFSM5IM5EQCA .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wayneweiqiang/PhaseNet/issues/29#issuecomment-974398562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2FQ4LWYGNFUZ3P5CPH3E3UM2VE3ANCNFSM5IM5EQCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Guanning Pang, Ph. D. Postdoctoral Scholar Earth and Atmospheric Sciences Cornell University