Sponsored by BMBF Logo

OpenTel

Tools


Introduction

The OpenTel Tools (ottools) provide a user interfaces to telescopes in the network.
They include tools to submit, cancel and query the status of observations. They also include tools for the scheduler and broker.
The tools are located in the bin/ folder of the OpenTel package.

Usage

1. Creating a list of telescopes fulfilling requirement using the broker

The requirements are presented in an RDF file with notation 3.
ot-broker requirements.n3 >| tellist.txt

Example

photon:~/ot-examples$ ot-broker /opt/OpenTel/broker/examples/req.n3
Amadeus.aip.de
MONET.Uni-Goettingen.de
STELLA-I.aip.de
STELLA-II.aip.de
Wolfgang.aip.de

2. Creating a schedule for a sequential network observation


ot-scheduler tellist.txt target.rtml

Example

photon:~/ot-examples$ ot-scheduler tellist.txt Gl586A.rtml
Created `schedule.txt'
STELLA-I.aip.de         2008-09-30T20:10:00     2008-10-01T04:30:00
MONET.Uni-Goettingen.de 2008-10-01T04:20:00     2008-10-01T08:00:00
Amadeus.aip.de          2008-10-01T07:50:00     2008-10-01T12:00:00

3. Submission of targets to one or more telescopes

Usage:  ot-submit [OPTIONS] TARGET1.rtml [TARGET2.rtml ...]
Submit targets to the OpenTel network of telescopes.
-f, --force                       overwrite existing files
-h, --help                        show this info
-n, --nosubmit                    only write RMTL files, no submission
-s, --schedule schedule.txt       use schdule file

Examples

a) Submission to one telescope

photon:~/ot-examples$ ot-submit Gl586A/Amadeus.rtml
Submitting Gl586A/Amadeus.rtml
Submitting observations/Gl586A to Amadeus.aip.de @ cashmere.aip.de:
 
b) Submission to all telescopes in tellist.txt

photon:~/ot-examples$ ot-submit -t tellist.txt Gl586A.rtml

c) Submission to all telescopes in the schedule.txt

photon:~/ot-examples$ ot-submit -s schedule.txt Gl586A.rtml -f
Applying `schedule.txt'
Creating Gl586A/STELLA-I.rtml
Creating Gl586A/MONET.rtml
Creating Gl586A/Amadeus.rtml
Submitting Gl586A/Amadeus.rtml
Submitting observations/Gl586A to Amadeus.aip.de @ cashmere.aip.de
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:02b214a0-2330-11dd-9e2f-0017313ead04
Termination time: 05/17/2008 10:08 GMT
Current job state: StageIn
Current job state: Active
Receiving observations/Gl586A for Amadeus.aip.de @ cashmere.aip.de
Retrieving binding for MasterMind
Parsing xml file /opt/OpenTel/telescopes/Amadeus.aip.de/observations/Gl586A.xml
Current job state: CleanUp-Hold
Success
Exiting mysql.StaticSql
Current job state: CleanUp
Current job state: Done
Destroying job...Done.
Cleaning up any delegated credentials...Done.
Submitting Gl586A/MONET.rtml
Submitting observations/Gl586A to MONET.Uni-Goettingen.de @ gavo2.aip.de

4. Status of local telescope schedules

Usage:  ot-status TARGET1.rtml
Show currently scheduled targets.
-f, --full                        show full shedule of telescope
-h, --help                        show this info

Example

photon:~/ot-examples$ ot-status Gl586A/*  
Looking for observations/Gl586A in schedule of Amadeus.aip.de @ cashmere.aip.de
observations/Gl586A
scheduled
Looking for observations/Gl586A in schedule of MONET.Uni-Goettingen.de @ gavo2.aip.de
observations/Gl586A
scheduled
Looking for observations/Gl586A in schedule of RoboTel.aip.de @ astar.aip.de
observations/Gl586A
scheduled
Looking for observations/Gl586A in schedule of STELLA-I.aip.de @ dublin.aip.de
observations/Gl586A
scheduled

5. Cancellation of targets

Usage:  ot-cancel TARGET1.rtml [TARGET2.rtml ...]
Cancel targets submitted to a telescope.
-h, --help                        show this info

Example

photon:~/ot-examples$ ot-cancel Gl586A/*
Cancelling observations/Gl586A from Amadeus.aip.de @ cashmere.aip.de
Retrieving binding for MasterMind
Success
Cancelling observations/Gl586A from MONET.Uni-Goettingen.de @ gavo2.aip.de
Retrieving binding for MasterMind
Success
Cancelling observations/Gl586A from RoboTel.aip.de @ astar.aip.de
Retrieving binding for MasterMind
Success
Cancelling observations/Gl586A from STELLA-I.aip.de @ dublin.aip.de
Retrieving binding for MasterMind
Success