The Pool Observation Database System (ODS) at the IRAM 30m Telescope

TableOfContents(3)


Pool Observations

Most cutting edge scientific programs carried out at the IRAM observatories require excellent weather conditions. While the service observing mode at the Plateau de Bure interferometer allows a flexible scheduling of demanding programs, fixed scheduled projects at the 30m telescope often suffer from limitations due to inadequate weather conditions.

To optimize the observing efficiency given the often quickly changing weather conditions, IRAM offers the pool observing mode at the 30m telescope. In this mode all bolometer and some high demanding spectroscopy programs share the allocated observing time together with some less weather demanding spectroscopy programs.

Projects are observed according to the current weather conditions, their ranking from the program committee and the source visibility. This way the chance of all demanding projects have drastically improved: the average success rate of A ranked projects requiring good or excellent weather conditions in last winter pool was 80%, compared to 20% of good weather conditions during the allocated pool observing time (see Fig below).

The pool observations are conducted mostly by the astronomers who's programs are included in the pool. They are aided by the IRAM astronomers and telescope operators. There are typically three guest astronomers, one IRAM astronomer, and the telescope operators at the telescope. Given the flexible use of different instruments and the large variety of scientific programs, pooled observations are part of IRAM's training efforts for students.

Pool observations were first tested at the IRAM 30m telescope during the winter 2000/2001, and have now expanded to 12 weeks in the winter semester, and about 4 weeks in the summer. The winter 2003/4 pool includes almost 50 different programs with more than 500 different targets. To manage such a pool requires an efficient organizational structure, so that at any time the status of a program, target priorities and weather/technical requirements can be assessed. This motivated the observational database system described here.

The PHP/MySQL software (http://mrt-lx2.iram.es/pooldatabase/index.php) system was first conceived by Alexandre Beelen (IAS Paris) and Frank Bertoldi (MPIfR Bonn) in December 2001, and subsequently being developed by Axel Weiss. Stephane Leon, as an IRAM astronomer serves as the pool coordinator at the 30m telescope and is maintaining and developping the Pool Database System. All data reduction tools have been developed and are maintained by Robert Zylka (IRAM).

Technical Summary

The IRAM pool observation database system (ODS) is based on PHP scripts executed from an apache web-server, which access a MySQL database. The database contains detailed informations on all projects including technical and metrological requirements. Observational information is read from the fits data headers of each scan. This observation information is easily associated with observations projects, and thereby allows bookkeeping, planning, data quality control, and in connection with an external data reduction software an automated pipeline data reduction. The system also permits data archiving and the easy access/download of data for the users. The users interactively enter and modify their target lists, observation instructions, and they are able to check the state of the project and the data quality.

attachment:ods-tech.png

The software used in the development of ODS are part of all Linux distributions. Its main constituents are PHP and MySQL. PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general-purpose C-based scripting language that is especially suited for Web development and can be embedded into HTML (see e.g. Welling & Thomson 2003). The PHP package contains functions which allow to retrieve and store information in a MySQL database. MySQL is the most popular Open Source SQL (Structured Query Language) database management system. It provides an easy way to store and sort large amounts of information and to give limited access to different users on the MySQL server (e.g. DuBois 2000). MySQL in conjunction with PHP is becoming the most commonly used platform for web-based data access and processing applications. The database system at the IRAM 30m currently runs on PHP version 4 and MySQL 3.23.44 on SuSE Linux distribution, but has also been installed on RedHat.

The main body of ODS are a collection of PHP scripts (the PHP engine) which perform different kinds of operations. Information can be received and/or stored in the MySQL database (e.g. the amount of observing time spent on a specific project). Other PHP scripts generate files associated with the observations such as the observing log-files, the 30m source catalogs or Xephem files for astronomical visualization. PHP also allows to call external programs. This way the PHP engine can parse a list of scans to an external data reduction software, e.g. the IRAM continuum data processing software MOPSIC, and store data information such as the achieved rms in the MySQL database. All PHP scripts are executed by an Apache web-server. Thereby all information can be accessed through the Internet. Access is restricted by PHP and by MySQL security applications as well as the Apache web-server configuration. This allows to setup different user accounts in ODS with limited access to specific information.

ODS User Accounts

ODS currently knows five different kinds of users. The two user types which have general purpose administration privileges are the superuser and the scheduler account. Both accounts allow to enter e.g. new projects to the pool, update the allocated observing time and to set the observing priority within the pool. These settings reflect the recommendations of the IRAM program committee. The superuser account also allows to manipulate entries in ODS such as wrong or misleading entries in the observing instructions. The IRAM user account provides an overview on all projects and there technical specifications. The observer account allows to access the status of each project and details on how to carry out the observations. It also provides tools for a detailed documentation of individual observations. The project account itself provides access to a specific project only. It allows to enter/modify the source list and the observing instructions including technical and meteorological requirements. It also allows to download the project data including the log-files and a detailed listing of all observations. All accounts can be accessed remotely by Internet. This structure allows to include pilot projects and directors time proposals into the pool on short

Project Setup

Each observational project is identified by a project number (e.g. 123_04) which corresponds to a password-protected account on the ODS. The PIs enter the project information (target names, coordinates, priorities within the project, desired observing time, minimum S/N, final rms noise level, weather requirements, observation setup, suggestions for pointing sources, etc), through Internet web forms. This is typically done several weeks before the pool starts. All information can be updated at any time.

attachment:ods-userinput-70.png

The program PIs may also provide an ascii source list to the pool administrator in cases where entering them via the web forms would be too involved. A upload of a complete source catalog via ODS is in preparation. The 30m pool observing catalog is generated by ODS from the source entries. For bolometer projects no further input is required. SIS projects participating in the pool additionally need to sent observing macros which contain details on the receiver configuration, tuning frequencies and target observing routines. Templates of these procedures can be accessed via the pool observing web page (http://www.iram.es/IRAMES/observing/flexible/flexible.html).

From the entries ODS generates an instruction form to aid the observer at the telescope with the execution of the program. The instruction shall be clear enough that even an inexperienced observer can easily follow the steps.

<!> To Be updated