Go to the bottom.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name:	ZWGRESWND.SDDL
!
! Purpose:      This SDDL file defines the wgreswnd relation.
!
! Modification History:
!
!   Date       OPR      Who                       Reason
! --------   -------    ---   -------------------------------------------------
! 10/ 4/94    27329     RSL   Original implementation
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!
 
LANGUAGE	FORTRAN, SQL

INCLUDE         ZSPSS_USER_TYPES.SDDL
 
RECORD  RESWND_TYPE
 
!------------------------------------------------------------------------------
!
!   RECORD INFORMATION
!
!------------------------------------------------------------------------------
 
 
    DESCRIPTION       "The wgreswnd relation is used to store guide star 
                       acquisition restricted window data for an observation 
                       set, including the associated data set id.

                       It is populated by PMDB/UPDATE/TYPE=SU. The commands
                       SGS_MAIN, CANDLIST/ADDSUS, CANDLIST/DELSU, and
                       CANDLIST/UPDATE select restricted normal and off-normal
                       windows from this relation. The other window types
                       stored are strictly for debugging use."
 
 
!------------------------------------------------------------------------------
!
!   FIELD INFORMATION
!
!------------------------------------------------------------------------------
 
 

    FIELD  proposal_id
        TYPE PROPOSAL_ID_TYPE
        FORM
            NAME         "GSW"
            LABEL        "Proposal Id"
        END_FORM
    END_FIELD
 
 

    FIELD  obset_id
        TYPE OBSET_ID_TYPE
        FORM
            NAME         "GSW"
            LABEL        "Obset    Id"
        END_FORM
    END_FIELD
 
 

    FIELD  version_num
        TYPE VERSION_NUM_TYPE
        FORM
            NAME         "GSW"
            LABEL        "Version Number"
        END_FORM
    END_FIELD
 
 

    FIELD  data_set_id
        TYPE            C3
        DESCRIPTION     The data set id specifies the unique data set
                        item relative to this observation set as related to
                        the guide star acquisition data in the relation
                        wgacquis."
        RELATED_FIELDS  "wgacquis.data_set_id"
        FORM
            NAME         "GSW"
            LABEL        "Data Set ID"
        END_FORM
    END_FIELD
 
 

    FIELD  window_type
        TYPE            C2
        DESCRIPTION     "Descriptions of window types for this field follow:

                        RN = restricted normal window
                        RO = restricted off-normal window

                        RN/RO windows are computed within intervals defined
                        by the SN/SO (ST normal, ST off-normal) windows 
                        and within the roll ranges imposed by the guide star
                        pairs contained in the acquisition data sets (in
                        wgacquis) and alignment level orientations (offset from
                        nominal and range). The individual RN/RO windows for
                        each aquisition data set are written to the wgreswnd
                        relation to be used when creating a C&C list for 
                        scheduling. The individual RN/RO windows are unioned 
                        together and written to the relation qbwindows as 
                        RN/RO windows. 

                             
                        AN = adjusted normal window
                        AO = adjusted off-normal window

                        The AN/AO windows are used for debug purposes for
                        moving targets, although they are written out
                        for all observation sets. They are the individual
                        RN/RO windows further restricted by the guide star
                        usability windows.


                        MN = moving normal window
                        MO = moving off-normal window
                             Does not contain GS usability windows;

                        The MN/MO  windows are used for debug purposes for
                        moving targets. They are the union of the RN/RO
                        windows."

            NAME         "GSW"
            LABEL        "Window Type"
        END_FORM
        DISCRETE        "RN", "RO", "AN", "AO", "MN", "MO"
    END_FIELD
 
 

    FIELD  window_beg
        TYPE SOGS_INT_TIME_TYPE
        DESCRIPTION     "This field indicates when the window begins."
        FORM    
            NAME         "GSW"
            LABEL        "Window Start"
        END_FORM
    END_FIELD
 
 

    FIELD  window_end
        TYPE SOGS_INT_TIME_TYPE
        DESCRIPTION     "This field indicates when the window ends."
        FORM
            NAME         "GSW"
            LABEL        "Window Stop"
        END_FORM
        
    END_FIELD
 
 
END_RECORD
 
 
!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------
 
 
RELATION  wgreswnd
 
    TYPE             RESWND_TYPE
 
    DESCRIPTION      "Guide Star Acquisition Restricted Windows Data Relation"
 
    SUBSYSTEM_USING  "SPSS"
    FORM
        NAME         "GSW"
    END_FORM
 
    INDEX  wgreswnd_1
        TYPE         clustered
        FIELDS       proposal_id
    END_INDEX
 
END_RELATION
 
!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------
 
 
INSTANCE  wgreswnd
 
    GLOBAL
 
    TYPE        RESWND_TYPE
 
END_INSTANCE

Go to the top.