Go to the bottom.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name:    QEKEYWORD.SDDL
!
! Purpose:      This SDDL file defines the QEKEYWORD relation.
!
! Modification History:
!
!   Date       OPR      Who                       Reason
! --------   -------    ---   -------------------------------------------------
! 02/21/96   30902     Baum   Original implementation
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!

LANGUAGE        FORTRAN, C, SQL

INCLUDE         ZSPSS_USER_TYPES.SDDL

RECORD  QEKEYWD_TYPE

!------------------------------------------------------------------------------
!
!   RECORD INFORMATION
!
!------------------------------------------------------------------------------


DESCRIPTION       "This relation is used to define OPUS keyword values
                   parameters for an exposure.  These keywords are used in
                   OPUS data product headers to describe the science exposures.
                   An exposure will have no more than one qekeyword record for
                   an assigned keyword name.

                   This relation is populated by TRANS, passed through by
                   SPSS, and used by OPUS.

                   For more information refer to the TRANS Scripting Guide. "


!------------------------------------------------------------------------------
!
!   FIELD INFORMATION
!
!------------------------------------------------------------------------------



    FIELD  proposal_id
        TYPE PROPOSAL_ID_TYPE
    END_FIELD



    FIELD  obset_id
        TYPE OBSET_ID_TYPE
    END_FIELD



    FIELD  alignment_id
        TYPE ALIGN_ID_TYPE
    END_FIELD



    FIELD  exposure_id
        TYPE EXPOSURE_ID_TYPE
    END_FIELD



    FIELD  version_num
        TYPE VERSION_NUM_TYPE
    END_FIELD



    FIELD  keyword_name
        TYPE            C8
        DESCRIPTION     "This field is the name of the OPUS keyword for which
                         a value will be assigned (for this exposure).  "
    END_FIELD



    FIELD  keyword_value
        TYPE            C68
        DESCRIPTION     "This field is the value for the above keyword
                         (keyword_name). The longest FITS keyword string is 68
                         characters. String values longer than 18 or numeric
                         values longer than 20 characters cause the OPUS
                         keyword comment to be omitted."
    END_FIELD


END_RECORD


!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------


RELATION  qekeyword

    TYPE             QEKEYWD_TYPE

    DESCRIPTION      "Exposure Keyword Relation"

    SUBSYSTEM_USING  "SPSS", "TRANS", "OPUS"

    INDEX  qekeyword_1
        TYPE         unique, clustered
        FIELDS       proposal_id, obset_id, alignment_id, exposure_id,
                     version_num, keyword_name
    END_INDEX

END_RELATION

!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------


INSTANCE  qekeyword

    GLOBAL

    TYPE        QEKEYWD_TYPE

END_INSTANCE

Go to the top.