Go to the bottom.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name:	WGACQUIS.SDDL
!
! Purpose:      This SDDL file defines the wgacquis relation.
!
! Modification History:
!
!   Date       PR      Who                       Reason
! --------   -------   ---   -------------------------------------------------
! 11/21/94   27329     RSL   Original implementation
! 05/02/96   27745     bao   Eliminate two-step GS acquisition support 
!			      from database and SPSS
! 05/08/98   36870     MRB   Add C output
! 06/15/98   36500     sfs   Added units to quantities
! 02/02/99   37931     sfs   Deleted gs_prs, gs_number, min_acq_tim, 
!                            nom_acq_tim, prob_succ.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
 
LANGUAGE  C, FORTRAN, SQL

INCLUDE  ZSPSS_USER_TYPES.SDDL
 
RECORD  ACQUIS_TYPE
 
!------------------------------------------------------------------------------
!
!   RECORD INFORMATION
!
!------------------------------------------------------------------------------
 
 
    DESCRIPTION       "The wgacquis relation stores guide star acquisition
                      data. 

                      Guide stars (when one FGS is used) and guide
                      star pairs are filtered out of all possible 
                      pairs that can be centerlined, by GSSS/REPORT.
                      The output of GSSS/REPORT is used by GSSS/ACQ,
                      which merges it to form acquisition datasets.
                      An acquisition dataset is a collection of guide star
                      or guide star pair combinations that satisfy certain
                      acquisition criteria. GSSS/ACQ stores the acquisition
                      datasets in wgacquis.

                      PMDB/UPDATE/TYPE=SU selects fields from wgacquis
                      when determining the constant coefficient of the PCS 
                      acquisition and while calculating guide star restricted 
                      normal and off-normal roll windows for the obset. Also,
                      when PMDB/UPDATE/TYPE=SU is run, it deletes observation
                      set specific data for observation sets other than the
                      first in a previous acquisition sequence, deleting
                      records from wgacquis.

                      CANDLIST/ADDSUS, CANDLIST/DELSU, CANDLIST/UPDATE,
                      CCLIST/CREATE, PLANNINGWINDOWS select from wgacquis
                      when inserting PCS acqusition data for an 
                      observation set into the candidate list's PCS data 
                      for the observation set."
 
!------------------------------------------------------------------------------
!
!   FIELD INFORMATION
!
!------------------------------------------------------------------------------
 
 

    FIELD  proposal_id
        TYPE PROPOSAL_ID_TYPE
        FORM
            NAME         "GSA"
            LABEL        "PROPOSAL ID"
        END_FORM
    END_FIELD
 
 

    FIELD  obset_id
        TYPE OBSET_ID_TYPE
        FORM
            NAME         "GSA"
            LABEL        "OBSET ID"
        END_FORM
    END_FIELD
 
 

    FIELD  version_num
        TYPE VERSION_NUM_TYPE
        FORM
            NAME         "GSA"
            LABEL        "VERSION NUMBER"
        END_FORM
    END_FIELD
 
 

    FIELD  select_flag
        TYPE YES_NO_FLAG_TYPE
        DESCRIPTION     "This field specifies whether the guide star(s)
                        and guide star pair(s) associated with this data
                        set have been selected or not.
        FORM
            NAME         "GSA"
            LABEL        "SELECTED FLAG (Y/N)"
        END_FORM
    END_FIELD
 
 

    FIELD  create_date
        TYPE TIME_STAMP_TYPE
        DESCRIPTION     "This field specifies the time when this
                        guide star acquisition data was computed."
        FORM
            NAME         "GSA"
            LABEL        "CREATE DATE"
        END_FORM
    END_FIELD
 
 

    FIELD  data_set_id
        TYPE            C*3
        DESCRIPTION     "This field specifies the unique data set
                        item relative to this observation set."
        FORM
            NAME         "GSA"
            LABEL        "DATA SET ID"
        END_FORM
        RELATED_FIELDS  "wgreswnd.data_set_id"
    END_FIELD
 
 

    FIELD  low_v3_angle
        TYPE            R8
        DESCRIPTION     "This field specifies the lower limit of the 
                        intersection of the guide star (when only one FGS is
                        used) or guide star pair roll ranges for those 
                        guide stars or pairs which satisfy the acquisition 
                        criteria."
        UNITS           "DEGREES"
        FORM
            NAME         "GSA"
            LABEL        "MIN V3 POS ANGLE"
        END_FORM
    END_FIELD
 
 

    FIELD  up_v3_angle
        TYPE            R8
        DESCRIPTION     "This field specifies the upper limit of the 
                        intersection of the guide star (when only one FGS is
                        used) or guide star pair roll ranges for those 
                        guide stars or pairs which satisfy the acquisition 
                        criteria."
        UNITS           "DEGREES"
        FORM
            NAME         "GSA"
            LABEL        "MAX V3 POS ANGLE"
        END_FORM
    END_FIELD
 
 

    FIELD  ra_v1ref
        TYPE            R8
        DESCRIPTION     "For fixed targets, this field specifies the 
                        right ascension of the vector average of all 
                        targets of the observation set. 
                        For moving targets, the reference V1-axis target
                        is used by GSSS to determine the position of all 
                        the moving targets in the observation set."
        UNITS           "DEGREES"
        FORM
            NAME         "GSA"
            LABEL        "V1 REFERENCE POSITION DATA - RIGHT ASCENSION"
        END_FORM
    END_FIELD
 
 

    FIELD  dec_v1ref
        TYPE            R8
        DESCRIPTION     "For fixed targets, this field specifies the 
                        declination of the vector average of all targets 
                        of the observation set. 
                        For moving targets, the reference V1-axis target 
                        is used by GSSS to determine position of all the
                        moving targets in the observation set."
        UNITS           "DEGREES"
        FORM
            NAME         "GSA"
            LABEL        "V1 REFERENCE POSITION DATA - DECLINATION"
        END_FORM
    END_FIELD
 
 

    FIELD  atterror
        TYPE            R8
        DESCRIPTION     "This field specifies the maximum of the following:

                            the value specified for the observation set
                               or
                            a function of these two parameters:

                               the maximum position uncertainty of the 
                               dominant guide stars selected for acquisition;
                                         
                               the default pitch/yaw error coefficient for the
                               PCS mode specified for the observation set."
        UNITS           "ARCSECONDS"
        FORM
            NAME         "GSA"
            LABEL        "PITCH/YAW ERROR COEFF"
        END_FORM
        RELATED_FIELDS  "qbs_obset.atterror" "qbpcs_def.atterror"

    END_FIELD
 
 

    FIELD  rollerror
        TYPE            R8
        DESCRIPTION     "This field specifies the maximum of the following:

                          the value specified for the observation set
                             or 
                          the maximum roll uncertainty of each possible guide 
                          star pair selected for the acquisition 
                                 plus 
                          the default roll error coefficient for the PCS mode
                          specified for the observation set."
        UNITS           "ARCSECONDS"
        FORM
            NAME         "GSA"
            LABEL        "ROLL ERROR COEFF"
        END_FORM
        RELATED_FIELDS  "qbs_obset.rollerror" "qbpcs_def.rollerror"

    END_FIELD
 
 

    FIELD  acq_tim_mod1
        TYPE            R8
        DESCRIPTION     "This field specifies the g1 constant term of the
                        guide star acquisition time model. It is dependent 
                        upon the acquisition type and number of guide stars 
                        (when only one FGS is used) or guide star pairs."
        FORM
            NAME         "GSA"
            LABEL        "MODEL (CONSTANT TERM)"
        END_FORM
    END_FIELD
 
 

    FIELD  acq_tim_mod2
        TYPE            R8
        DESCRIPTION     "This field specifies the g2 constant term of the 
                        guide star acquisition time model. It is
                        dependent upon the number of full coarse track
                        spirals which will be required."
        FORM
            NAME         "GSA"
            LABEL        "MODEL (NON-LIN. COEF)"
        END_FORM
    END_FIELD
 
 

    FIELD  str_tim_usbl
        TYPE SOGS_INT_TIME_TYPE
        DESCRIPTION     "This field specifies the start time of the 
                        intersection of the guide star (when only one FGS 
                        is used) or guide star pair usability windows, for
                        those guide stars or pairs which satisfy the
                        acquisition criteria.

                        This field is only used for moving targets."
        FORM
            NAME         "GSA"
            LABEL        "START TIME"
        END_FORM
    END_FIELD
 
 

    FIELD  end_tim_usbl
        TYPE SOGS_INT_TIME_TYPE
        DESCRIPTION     "This field specifies the end time of the 
                        intersection of the guide star (when only one FGS 
                        is used) or guide star pair usability windows, for
                        those guide stars or pairs which satisfy the
                        acquisition criteria.

                        This field is only used for moving targets."
        FORM
            NAME         "GSA"
            LABEL        "END TIME"
        END_FORM
    END_FIELD
 
 

    FIELD  rr_typ
        TYPE            C1
        DESCRIPTION     "This field contains the acquisition roll range type.
                           'A' means the data acquisition set was generated
                               from acquisition roll ranges.
                           'C' means the data acquisition set was generated
                               from centerline roll ranges.
                           'G' means the data acquisition set was generated
                               from guide star roll ranges."
        FORM
            NAME         "GSA"
            LABEL        "ROLL RANGE TYPE"
        END_FORM
    DISCRETE             "A","C","G"
    RELATED_FIELDS  "wgacquis.rr_lvl"
    END_FIELD
 
 

    FIELD  rr_lvl
        TYPE            C1
        DESCRIPTION     "This field specifies the roll range level.  It is
                        only valid for a roll range type flag value of 'C'.
                        It indicates the level of centerline roll ranges
                        which was used in selecting stars or pairs for this
                        data acquisition set.
                           '1' means both guide stars must be placed on
                               the centerline.
                           '2' means level 1 or the guide stars must be
                               placed above the centerline without overlapping
                               the outer edge of the FGS FOV.
                           '3' means level 2 or the guide stars must be placed
                               above the centerline such that both stars
                               overlap the outer edge of the FGS FOV."
        FORM
            NAME         "GSA"
            LABEL        "ROLL RANGE LEVEL"
        END_FORM
        RELATED_FIELDS  "wgacquis.rr_typ" "qbacqs.rr_lvl"

        DISCRETE         " ", "1", "2", "3"
    END_FIELD
 
 
END_RECORD
 
 
!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------
 
 
RELATION  wgacquis
 
    TYPE             ACQUIS_TYPE
 
    DESCRIPTION      "Guide Star Acquisition Scheduling Data Relation"
 
    SUBSYSTEM_USING  "SPSS"
    FORM
        NAME         "GSA"
    END_FORM
 
    INDEX  wgacquis_1
        TYPE         unique, clustered
        FIELDS       proposal_id, obset_id, version_num, data_set_id, rr_typ
    END_INDEX
 
END_RELATION
 
!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------
 
 
INSTANCE  wgacquis
 
    GLOBAL
 
    TYPE        ACQUIS_TYPE
 
END_INSTANCE

Go to the top.