Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.adass.org/adass/proceedings/adass98/ferroaj/
Дата изменения: Sat Jul 17 00:46:38 1999 Дата индексирования: Tue Oct 2 06:57:48 2012 Кодировка: Поисковые слова: п п р р р п п п п п п п п п п п |
The NICMOS software group at the University of Arizona developed a solution based on a World Wide Web (WWW) interface, using Perl/CGI forms to query the submitter about the PSF data to be entered. After some semiautomated sanity checks, using the FTOOLS package, the metadata are then entered into a Sybase relational database system. A user of the system can then query the database, again through a WWW interface, to locate and retrieve PSFs which may match their observations, as well as determine other information regarding the telescope conditions at the time of the observations (e.g., the breathing parameter).
This presentation discusses some of the driving forces in the design, problems encountered, and the choices made. The tools used, including Sybase, Perl, FTOOLS, and WWW elements are also discussed.
During a meeting involving many of the NICMOS GTOs, considerable interest was expressed in establishing a database containing the PSF star observations obtained as part of GTO programs. A centralized database was seen as a good way of making the existing PSF observations available to everyone on the team. This paper discusses how this PSF database and the user interface evolved.
Submissions to the database of processed PSF images are the responsibility of the individual team members. These team members are geographically dispersed, may have used different data reduction software, and may have named their images differently.
A network interface using CGI forms addressed all these issues. Submissions could be made remotely. Users would only need a Web browser to access the submission form. To enforce commonality among submissions, the submission form was structured in a way to ask specific questions regarding reduction procedures and details about the PSF star. The submission form needed to be straight forward and easy to use, it had to impose standards (file naming conventions, minimum descriptive information), and it had to be as short as possible without omitting key information about the PSF star. Our overall design goal was to automate the maintenance of the database as much as possible. Figure 1 illustrates the submission and retrieval process in which a PSF star observation travels from the submitter, is checked and ingested at University of Arizona (UofA), and is later retrieved and sent from the UofA to the requester.
With the exception of the breathing parameter, all of the data displayed from the results of the search represent data from the PSF database. The breathing parameter is a measurement of the change in the focus due to the temperature changes (breathing) of the telescope. The amount of this change varies and is highly time dependent. However, this value is not known at the time of the observation and therefore is not found in the FITS headers. There are two steps for determining relative focus (breathing) at a given time:
The resulting value is in secondary mirror microns and is relative to best focus at WFPC2 PC (zero microns). Calculating this value presents a problem because the nominal value and modeled variation are embedded in two separate Space Telescope Science Institute (STScI) HTML documents that are updated occasionally as the model is improved. A means to extract the necessary information from the most recent versions of these documents became a programming challenge that was met by using a Perl module called libwww-perl (LWP). LWP allows us to locate the required two documents by extracting the links from the parent HTML page, fetch the required documents, and parse the necessary information on the fly. A description of how LWP accomplishes this would make a paper of its own.
This entire project was written using Perl V5.004 utilizing the following modules: CGI.pm, Sybperl, libnet, and libwww-perl (LWP). The verification scripts, also written in Perl, utilized a set of FITS utility programs from the FTOOLS package created by the High Energy Astrophysics Science Archive Research Center (HEASARC). The SQL server is Sybase1 SQL Server V11.02.