Data in an antelope orb
Download
1 / 8

Data in an Antelope ORB - PowerPoint PPT Presentation


  • 435 Views
  • Uploaded on
  • Presentation posted in: Pets / Animals

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

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

Download Presentation

Data in an Antelope ORB

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

  • 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

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


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/setup.sh

  • Grab a local, editable copy of slink2orb.pf

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


3.Configure the Real Time Instance

  • Edit rtexec.pf

  • 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 rtserve.iris.washington.edu $ORB


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

  • Edit ./pf/slink2orb.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

  • 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

  • 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.


ad
  • Login