Giter Club home page Giter Club logo

Comments (4)

DecryptingElectrons avatar DecryptingElectrons commented on July 23, 2024

I noticed that rtserve.iris.washington.edu does not want to work for the NC network along with many other networks.

NCEDC has both a fdsnws-dataselect and a service called BARD. Both of which cover the NC network along with many other networks that iris does not want to serve from there seedlink server.

It would be possible to use ringserver from Earthscope/IRIS which has a feature which scans a directory for mseed files which it can make available through its seedlink server. This is slightly hacky and would require a program watching ringserver logs for channel stream requests and to start downloading that data and saving it in the dir.

It would also be possible to implement a stream-over-dataselect thread/process which runs in globalquake and works alongside the current seedlink method. One issue here is i have read IRIS does not want there dataselect service to be used for realtime, while NCEDC does not seem to care.

from globalquake.

xspanger3770 avatar xspanger3770 commented on July 23, 2024

Thanks for the response!

Adding support for more protocols such as ringserver is definitely one of my considerations for future updates, although I haven't tested them yet. It might be needed to upgrade the code handling the processing of incoming data to accept more generic inputs than just seedlink packets and actually it needs upgrade anyways because it is not capable to accept data in varying order, which even the seedlink protocol sometimes does.

The other issue I noticed was that even though for example eida.bgr.de seedlink network reports many available stations, when selecting them, data only for one or two stations is arriving and I didn't really dig deeper into why...

And once again thanks for the help! Any further ideas appreciated.

from globalquake.

xspanger3770 avatar xspanger3770 commented on July 23, 2024

Update: I tried running the following code:

  SeedlinkReader reader = new SeedlinkReader("eida.bgr.de", 18000);
  reader.select("SX", "SCHF", "", "HHZ");
  reader.select("GE", "RUE", "", "HHZ");
  reader.startData();
  while (reader.hasNext()) {
    SeedlinkPacket slp = reader.readPacket();
    System.out.println(slp.getMiniSeed().getHeader().getStationIdentifier()+", "+slp.getMiniSeed().getHeader().getChannelIdentifier()+", "+slp.getMiniSeed().getHeader().getLocationIdentifier());
   }

But every time the SeedlinkReader sends data for only the last station selected (RUE). This only happens to some seedlink hosts and idk why

from globalquake.

xspanger3770 avatar xspanger3770 commented on July 23, 2024

Workaround will be in 0.9.4, full fix when library updates

from globalquake.

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.