Data in an Antelope ORB stands for Object
Data in an Antelope 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 slink 2 orb. pf cp /opt/antelope/5. x/data/pf/slink 2 orb. 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 orb 2 db processes. Comment out or delete the rest. Add the slink 2 orb process slink 2 orb 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/slink 2 orb. pf In the stations list, add a station of your choosing from the USArray, for example: TA_W 18 A or TA_M 29 A Watch rtm as the slink 2 orb 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, orb 2 db 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 Shake. Map generation PSA, PGV, PGA, PGD calculations Real time reporting to USGS/NEIC. Real time event maps and public reporting
- Slides: 8