ESO Science Archive Facility

  Data Interface Control Document

Top Back Next


8 Data Interface Dictionaries

The ESO Data Interface Dictionaries (DID) include the specification of all parameters used in a particular context. A generic dictionary provides specifications that serve as a template. A specific dictionary is defined by its scope. e.g. a given instrument, observatory site, etc. In particular, there will be one Data Interface Dictionary for each instrument.

In the course of the history of a given system, e.g. an instrument, the data interface for that system my change as new keywords become necessary or modifications to old ones are made. In order to keep an archive of keywords, Data Interface Dictionaries are maintained under configuration control.

Data Interface Dictionaries are submitted for approval to the ESO DICB. The DICB maintains all dictionaries and amendments to them.

8.1 Format specification

The Data Interface Dictionary contains a DID Identification Record as the first record of the document and as many parameter description records as needed. A record is a set of lines each containing a field name and its value formatted in the following way (lines are restricted to 80 characters maximum):

<field name>: <field value>

Records are separated by one or more empty lines. Comment lines can be included if starting with a hash sign (` # ').

guideline-24
When the dictionary is stored as a file on a computer system the file name should be equal to the dictionary name (see below).

8.2 DID Identification Record

The DID identification record includes the following fields:

Dictionary Name: ESO-VLT-DIC.<scope>
Scope: <scope identifier>
Source: <source identifier>
Version Control: <configuration control version number>
Revision: <version number>
Date: <YYYY-MM-DD>
Status: <release status>
Description: <free text revision history, possibly spanning more than one line>
 

guideline-25
The fields Revision, Date, Status and Description are repeated for each revision of the dictionary.

The following rules apply to the fields:

Example DID identification record:

Dictionary Name: ESO-VLT-DIC.GENERIC-0.9
Scope: GENERIC
Source: ESO DICB
Version Control: $Revision: 0.9.14$
Revision: 0.0
Date: 1995-10-06
Status: draft
Description: Based on GEN-SPE-ESO-19400-794/1.0
Revision: 0.9
Date: 1996-12-30
Status: submitted
Description: Reviewed by DICB members.

8.3 DID Parameter Records

Parameter records include the following fields:

Parameter Name: [<category> [<subsystem>] ]<parameter>
Class: <class identifier>[|<class identifier>]
Context: <context identifier>[|<context identifier>]
Type: <the type of the parameter>
Value Format: <format (ANSI C standard printf convention)>
Unit: <SI or derived SI units as a text string>
Comment Format: <standard comment>
Description: <free text description of this parameter, possibly spanning several lines>

The following rules apply to the fields:

guideline-26
By convention, the comment part of the FITS/LOG/etc. record is appended the name of the physical unit in parenthesis, if applicable (see example below).

An example of a parameter record is:

Parameter Name: INS SLIT1 WIDTH
Class: setup|header
Context: Instrument
Type: double
Value Format: %.2f
Unit: arcsec
Comment Format: Width of slit 1
Description: Width of the slit in seconds of arc.

An example of a FITS header record for this keyword could then be:

HIERARCH ESO INS SLIT1 WIDTH = 2.51 / Width of slit 1 (arcsec)


Top  Back  Next


Last updated: November 28, 1997