Data in an antelope orb
1 / 8

Data in an Antelope ORB - PowerPoint PPT Presentation

  • Uploaded on

Data in an Antelope ORB. ORB stands for Object Ring Buffer A Data Structure that Simulates a Water Wheel Antelope 'orbserver' Process is the Attendant!. 1.Create a Basic “Real Time Instance”. Make a new directory rt_example and go there Run: rtinit

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'Data in an Antelope ORB' - RoyLauris

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Data in an antelope orb l.jpg
Data in an Antelope ORB

  • ORB stands for Object Ring Buffer

  • A Data Structure that Simulates a Water Wheel

  • Antelope 'orbserver' Process is the Attendant!

1 create a basic real time instance l.jpg
1.Create a Basic“Real Time Instance”

  • Make a new directory rt_example and go there

  • Run: rtinit

    This quickly sets up the typical directory structure that is used with an ORB.

2 setup the environment l.jpg
2.Setup the Environment

  • Set the PFPATH Environment Variable

    *** This and other important Antelope settings are most easily accomplished by sourcing the Antelope setup script ***

    source /opt/antelope/5.x/

  • Grab a local, editable copy of

    cp /opt/antelope/5.x/data/pf/ ./pf

3 configure the real time instance l.jpg
3.Configure the Real Time Instance

  • Edit

  • In the Defines table, set the ORB listening port:

    ORB localhost:12345

  • In the Processes and Run tables:

    • Enable orbserver and orb2db processes. Comment out or delete the rest.

    • Add the slink2orb process

      slink slink2orb $ORB

4 start the real time system l.jpg
4.Start the Real Time System

  • Run rtm in the Background:

    rtm &

  • Look at the Process List. Notice rtexec. This is the program that starts and manages the rest of the programs, runs cron jobs, restart operations, etc.

5 start the seed link transfer l.jpg
5.Start the SEED Link transfer

  • Edit ./pf/

  • In the stations list, add a station of your choosing from the USArray, for example:

    TA_W18A or TA_M29A

  • Watch rtm as the slink2orb process restarts.

  • Watch as the database is created in ./db. The miniseed files are placed in the 2010 directory

  • Click on the various processes and select View Log

Exercise summary l.jpg
Exercise Summary

  • An ORB is easy to set up, and easy to write to using standard tcp host:portname notation, (and the Antelope orbput, orbreap functions).

  • Packets come through the ORB where processes are listening for them. In this case, orb2db was listening for SEED packets.

Additional uses l.jpg
Additional Uses

  • The ORB is a powerful tool that can be used for any kind of processing where different programs are waiting for data from another process.

  • In my work, we have interdependent processes driven by earthquake events, including:

    • focal mechanism and moment tensor calculations

    • ShakeMap generation

    • PSA, PGV, PGA, PGD calculations

    • Real time reporting to USGS/NEIC.

    • Real time event maps and public reporting

    • Cross Correlation locations.