Giter VIP home page Giter VIP logo

Comments (4)

seisman avatar seisman commented on August 19, 2024

Let me first explain how you can download event waveforms from the Hinet website:

  1. Visit this page https://hinetwww11.bosai.go.jp/auth/download/event/?LANG=en
  2. Select the event search parameter and click the "Event Search" button. Then you will see a table of available events:
image 3. For the events you're interested, click the "Download" button. Then you'll be redirected to the event status page (https://hinetwww11.bosai.go.jp/auth/download/event/event_status.php?LANG=en&page=1) and you can see the ID in the first column: image 4. Click the "Dos/Windows" or "Unix" button to download the waveform

So, the get_event_waveform does exactly the same thing and the ID shown on the Status page is the one used in _download_event_waveform. As you can see, the ID is unique for each request and it has nothing to do with any events.

Now I have downloaded a catalog of events, and I am trying to download waveforms corresponding to each event.

I think you have two options:

  1. Use the get_continuous_waveform function (see https://seisman.github.io/HinetPy/examples/example2.html for an example)
  2. Use the get_event_waveform function but use very strict search parameters to make sure only a single event is returned.

from hinetpy.

zhong-yy avatar zhong-yy commented on August 19, 2024

Thanks for the clear explanation. I am trying using get_event_waveform with very strict search parameters. It seems that the hypocenter information from the JMA unified catalog is slightly different from that on the Event Waveform Data Download page. If the search parameters for get_event_waveform are too strict, then no data can satisfy the conditions.

For example, for this event, the origin time is 2004-04-06T00:23:25.840000Z, the latitude is 35+3.75/60=35.0625, the longitude is 137.4888 and the depth is 29.87
image

The event from Event Waveform Data Download is
image

from hinetpy.

seisman avatar seisman commented on August 19, 2024
  1. Use the get_continuous_waveform function (see https://seisman.github.io/HinetPy/examples/example2.html for an example)

Maybe this one is better.

from hinetpy.

zhong-yy avatar zhong-yy commented on August 19, 2024

Thank you. Using get_continuous_waveform is much slower, because too many waveforms are downloaded. I will use get_event_waveform with a small (but not too small) search region.

Maybe it would be better if get_event_waveform can return a list of directory names for successful downloads.

from hinetpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.