Researchers of solar activity often need to access solar active region data. Sources of such information include the Solar Geophysical Data bulletin and other periodical publications. Searching the printed publications requires substantial time and effort. Although it is possible to obtain these data using the Internet, gathering the data from several different data sources remains difficult.
A convenient alternative would be an ``illustrated desk book on active regions'', in a database form, placed in the researcher's computer and equipped with a means of searching for desired information as well as printing or saving it in a suitable form. Such a ``desk book'' should be accessed quickly, allow extraction of the data of interest, and should be easily supplemented and extended.
There is a variety of database file formats from which to choose, but some may be limited to particular platforms or are unfamiliar to the larger research community. We have chosen a widely used, platform independent software environment called Interactive Data Language (IDL1) which can save data into a machine-independent format (XDR). The IDL programming language ensures complete compatibility with various operating systems (MS Windows, Macintosh, several UNIX versions, and VMS). So far, we have created an IDL-based database on daily active region data from 1992 July 1 to 1994 December 31 (NOAA 7213 thru NOAA 7821)2. This database file has a size of 1 MB.
The database is better utilized when combined with daily full-disk radio maps for the same period. The maps were obtained at 17 GHz in total intensity and circular polarization by the Nobeyama Radioheliograph (Nishio et al. 1994) (the radio maps are in standard FITS format and occupy three compact disks3). A researcher can easily access the database including the radio maps that provide information on the location of the strong magnetic fields, filaments, prominences, and other solar features.
The database is constructed as a multi-level IDL structure arranged into an array, with each element corresponding to a single day. The structure for each day contains: (1) a field with data relevant to the entire visible disk of the Sun and (2) an array of fields for each active region (space limited to 10 active regions per day). Such a structure ensures that each element of the database can be accessed in a logical and flexible manner.
The common field for each day's entry contains:
The structure fields for the individual active regions contain:
The database interface is a GUI (Fig. 1), which provides convenient and efficient use of the database. The user can implement various search and selection modes and at the same time can view the Nobeyama 17 GHz radio maps in intensity and circular polarization (if these data are available). The figure shows a screen dump of the database control program. Screen dumps can be made in a graphical file (GIF format) or in a separate graphics window. Data matching a given criterion can be easily selected (e.g., via menu selections and entering values of interest). It is also possible to save data relevant to a selected date or active region into a text file.
In brief, the user has access to the following information:
The user can import and view text files and headers of FITS files in a scrollable window.
The program adjusts itself automatically to the resolution of the screen. It provides the user with the standard IDL tools for color table manipulation (e.g., XLOADCT routine).
It is also possible to expand the database and to correct or update existing data.
The IDL search routine that we have developed is very flexible in setting search criteria. For example, one can search for data matching a given criterion, the absolute value of the criterion, or its inverse (e.g., all active regions except the matching ones).
The selection routine, db_filter, first obtains a subset database containing relevant data records, with structure identical to that of the entire database, then employs the IDL built-in function WHERE to return the array of indices of matching objects in the database. This implementation makes it possible to search for objects matching any criterion by means of a single procedure that is notable for its transparency and simplicity.
The GUI application is a standard widget-based interface constructed of several functions and procedures that are packaged into a single file (52 kB). This facilitates its installation and use. The program code has been tested successfully under Windows 95 and UNIX with IDL versions from 3.0.1 to 5.0.2. Further development of the application and the database is being planned so that it can accommodate other data, in particular, radio data from the Siberian Solar Radio Telescope (SSRT) (Smolkov et al. 1986).
We are indebted to Dr. D. Stern ( Research Systems, Inc.) for his assistance in updating the program to IDL 5.0. We are grateful to the ADASS'98 conference for the financial aid which has made possible the attendance of the presenter (V. Grechnev) at the conference. We are indebted to staff members of the Nobeyama Radioheliograph for 17 GHz solar maps. This work was supported by SCOSTEP-96 grant.
Nishio, M., et al. 1994, in Proc. of Kofu Symp., (NRO Report No. 360), ed. S. Enome & T. Hirayama, 19
Smolkov, G. Ya., Pistolkors, A. A., Treskov, T. A., Krissinel, B. B., & Putilov, V. A. 1986, Ap&SS, 119, 1