Exchanging data with Virtual Observatory (VO) applications
This tutorial provides a basic introduction in how to exchange data between Period04 and other applications using the Virtual Observatory standard for communication.
1. Start a Plastic Hub.
Open the Plastic homepage at Sourceforge with your web browser and click on 'Downloads'. To start a Plastic Hub click on 'Plastic Hub (ref)'. Note that there are also many VO applications which have the option to start a Plastic Hub.
2. Start a VO Application.
In this example we will use Topcat to send a table to Period04. Topcat is also available on the website mentioned above and can be started by clicking on the corresponding link.
3. Start Period04.
Finally, start Period04. Note that it is not necessary to follow the same order of starting the hub and the programs as presented here. However, in order to exchange data all programs have to be open.
4. Load data into Topcat.
Before we send some data to Period04, we have to load some data. For the sake of simplicity we will import the example table that is provided by topcat.
File / Load table
Click on Filestore Browser, select your time string (for example one of the tutorial time strings), select 'Table format' ASCII and press OK.
Press the 'Scatter Plot' button to check whether your time string was loaded correctly.
5. Send data from Topcat to Period04
In order to send this time string to Period04, select from the menu:
Interop / Send table to ... / Send to Period04
The import time string dialog opens and allows you to define the columns to be read into Period04. Press OK.
You may now analyse your data.
6. Sending data from Period04 to other VO Applications
Let's assume, that you edited the data and want to send the currently selected data to another VO application. For simplicity we will send it back to Topcat. Select:
File / VO Tools / Send Time String to ... / Topcat
The Period04 time string export dialog opens and you can select the columns you want to send to Topcat
Press 'Add' and OK.
In Topcat the table will load as p04-export...