Previous: Madrigal data model   Up: Madrigal admin guide   Next: Creating Madrigal data files

How Madrigal data is organized

In the Madrigal database, the data are organized by experiment. An experiment consists of data from a single instrument, and, as a rule, is meant to address a particular scientific goal. Most often an experiment will correspond to a particular set of operating modes run for a contiguous interval of time. For example, the data collected by an incoherent scatter radar during a world day would constitute an experiment. More complicated situations exist, and judgment may have to be exercised in determining what constitutes an experiment. For example, an experiment might be interrupted temporarily in order to use a different set of operating modes in support of a satellite overpass. In this case there would be two experiments which overlap in time.

To each experiment there corresponds a directory. These directories are of the form madroot/experiments/year/instrument/start_date[expt], where year is the four-digit year, instrument is the 3-letter mnemonic for the instrument set in the instTab.txt file, start_date is the start date of the experiment in the form ddmmmyy and expt is an optional character to distinguish different experiments with the same start date. For example, /opt/madrigal/experiments/1997/son/06jan97 contains Sondrestrom data for an experiment beginning on 6 January, 1997, where year =1997, instrument =son, start_date =06jan97, and there is no expt because there is only one Sondrestrom experiment starting on this date.

Each experiment directory must contain:

Each experiment directory may contain:

An essential role for a Madrigal administrator is to run the script madroot/bin/updateMaster on a regular basis. This script performs a number of functions:

It is recommended that this script be set as a cron job to run once a day.

A complete description of the various ways to add and modify experiments in a Madrigal database is given in the next section. The updateMaster script must be run after each change described in that section for the changes to take effect.

Note that an experiment need not contain any Madrigal files.

Previous: Madrigal data model   Up: Madrigal admin guide   Next: Creating Madrigal data files