JBO Test Data
Workstations (linux)
Up to three groups can use test AIPS data provided at Jodrell Bank. AIPS, parselTongue, OBIT, Tomcat and other software are already installed.
For each machine, only one publishing service can be run at any one time.
In principle you can run up to six parselTongue/AIPS sessions locally at Jodrell - however, this should only be used if you want to test parselTongue but it is impossible for you to install it on your laptop, to minimise overloading the Jodrell machines. In particular, you must
- Use only the accounts/AIPS Nos listed
- Use small files (e.g. single-channel data, images not over 1024x1024 pixels)
- Liaise with others in your group to avoid clashes over AIPS Nos, subdirectories etc.
- Delete files which are finished with (but be very careful!)
The three machines are accessible by ssh:
shuttle1.jb.man.ac.uk
account: wshop1
AIPS Nos 4000-4049
shuttle2.jb.man.ac.uk
account:wshop2
AIPS Nos 4050-4099
shuttle3.jb.man.ac.uk
account:wshop3
AIPS Nos 4100-4149
The passwords will be give out at the workshop.
/usr/local/bin/python is aliased to python
/usr/local/bin/parseltongue is aliased to parseltongue
#!/bin/sh should be the first line of a shellscript
The remaining instructions apply to shuttle1; use the appropriate paths, AIPS Nos etc. for the shuttle you are using.
AIPS data and parselTongue
See
ParselTongue, especially the cookbook, for more information about parselTongue.
Start by
cd /scratch/shuttle1_1/RADIOVO
which contains a visibility data set,
MKN273.MULTTB,and all the scripts etc. mentioned in this section. They are designed for remote use; if you
download them for use on your laptop paths etc. may need editing and you won't be able to publish the data from your laptop.
The comments in
radiovotest.py should be self-explanatory. You can invoke it as
wshop1@SHUTTLE1 /scratch/shuttle1_1/RADIOVO >
as e.g.
./radiovotest.py radiosource=MKN273 aipsno=4000
This example is for shuttle1, please inspect the script you are running to make sure that it is correct for your workstation and AIPS No.
This script creates a directory MKN273_4000,
loads MKN273.MULTTB into AIPS, runs IMAGR and returns the output image file to MKN273_4000
Publishing data
A longer script
cea_radiovo.py does what radiovotest.py (above) does, but also produces a VOTable describing the output image and places it and the image where the
AstroGrid CEA can use them. You can invoke it from
wshop1@SHUTTLE1 /scratch/shuttle1_1/RADIOVO >
as e.g.
./radiovotest.py radiosource=MKN273 aipsno=4000 myvot=amsrdata.vot
or via the
AstroGrid CEA.
This example is for shuttle1, please inspect the script you are running to make sure that it is correct for your workstation and AIPS No.
It uses a VOTable header template
siaptemplate.vot
- note that as this contains unclosed tags, it will not view in some browsers but will be completed by the script, or can be edited in a text or xml editor.
MERLINImagesExample.vot is a completed example from the MERLIN Archive service - note the use of INFO field for automatically generated messages and the URLs of the output images.
Tomcat
The relevant tutorials will give you information about using tomcat, but here is some basic information:
Tomcat directory: /home/wshop1/apache-tomcat-5.5.20
To see if tomcat is running:
ps -ef | grep tomcat
or try to go to
http://shuttle1.jb.man.ac.uk:8080/
If tomcat is not running, check that no-one else in your group has shut it down for a reason. To start tomcat:
/home/wshop1/apache-tomcat-5.5.20/startup.sh
(for a restart, first use /home/wshop1/apache-tomcat-5.5.20/shutdown.sh )
The /tomcat-users.xml file is in /home/wshop1/apache-tomcat-5.5.20/conf
CEA
Application description
UNTESTED
This refers to a script on shuttle1, check your script location as well as other parameters.
MerlinRadioVO.xml
AnitaRichards - 03 Dec 2006