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

INCLUDE         ZSPSS_USER_TYPES.SDDL
 
RECORD  AMBIG_TYPE
 
!------------------------------------------------------------------------------
!
!   RECORD INFORMATION
!
!------------------------------------------------------------------------------
 
 
    DESCRIPTION       "The wgambig_obj relation is used to identify and 
                       characterize a celestial object near a guide star pair 
                       member. When the Guide Star Selection System (GSSS)
                       is requested to return ambiguous objects, it will report 
                       all objects (stellar and nonstellar) within a specified 
                       radius of a guide star. The WRESPONS program, used for
                       SPSS guide star response processing, will insert this
                       ambiguous object data in wgambig_obj when it processes
                       a response including such data. Refer to the SOGS to GSSS
                       Interface Control Document (ICD-14) for additional
                       information on the fields.
  
                       This relation is no longer being populated, because
                       the GSSS parameter to output ambiguous object data
                       has been set to false."
 
!------------------------------------------------------------------------------
!
!   FIELD INFORMATION
!
!------------------------------------------------------------------------------
 
 

    FIELD  response_num
        TYPE GS_RESPONSE_NUM_TYPE
        RELATED_FIELDS  "wgbrit_obj.response_num" "wgobsets.response_num" "wguide_stars.response_num" "wggs_pairs.response_num"

    END_FIELD
 
 

    FIELD  proposal_id
        TYPE PROPOSAL_ID_TYPE
    END_FIELD
 
 

    FIELD  obset_id
        TYPE OBSET_ID_TYPE
    END_FIELD
 
 

    FIELD  version_num
        TYPE VERSION_NUM_TYPE
        DESCRIPTION     "This field defaults to 01."
    END_FIELD
 
 

    FIELD  gs_pair_id
        TYPE GS_PAIR_ID_TYPE
        DESCRIPTION     "The guide star pair id uniquely identifies
                        the guide star pair to which this ambiguous object
                        is related."
    END_FIELD
 
 

    FIELD  gs_id
        TYPE GS_ID_TYPE
        DESCRIPTION     "The guide star id uniquely identifies
                        the guide star to which this ambiguous object
                        is related."
    END_FIELD
 
 

    FIELD  object_id
        TYPE            C15
        DESCRIPTION     "The object id uniquely identifies the
                        ambiguous object."
    END_FIELD
 
 

    FIELD  pos_ra
        TYPE            C16
        DESCRIPTION     "This represents a decimal fraction
                        specifying the position of the object in right 
                        ascension."
        UNITS           "DEGREES"
        RANGE           "0..360"
    END_FIELD
 
 

    FIELD  pos_dec
        TYPE            C16
        DESCRIPTION     "This represents a decimal fraction
                        specifying the position of the object in declination."
        UNITS           "DEGREES"
        RANGE           "-90..90"
    END_FIELD
 
 

    FIELD  uncr_ra
        TYPE            C10
        DESCRIPTION     "This represents a decimal fraction
                        specifying the position uncertainty of the object 
                        in right ascension."
        UNITS           "ARCSECONDS"
        RANGE           "0..3600"
    END_FIELD
 
 

    FIELD  uncr_dec
        TYPE            C10
        DESCRIPTION     "This represents a decimal fraction
                        specifying the position uncertainty of the 
                        object in declination."
        UNITS           "ARCSECONDS"
        RANGE           "0..3600"
    END_FIELD
 
 

    FIELD  magnitude
        TYPE            C8
        DESCRIPTION     "This represents a decimal fraction
                        specifying (in the FGS system) the magnitude of
                        the object."
        UNITS           "MAGNITUDE"
        RANGE           "-99..99"
    END_FIELD
 
 

    FIELD  separate
        TYPE            C10
        DESCRIPTION     "This represents a decimal fraction
                        specifying the angular separation of the ambiguous 
                        object from the guide star."
        UNITS           "ARCSECONDS"
        RANGE           "0..3600"
    END_FIELD
 
 

    FIELD  object_flag
        TYPE            C1
        DESCRIPTION     "This represents whether the ambiguous object is
                        a point stellar or area non-stellar object."
        DISCRETE        "P","A"
    END_FIELD
 
 

    FIELD  mag_uncer
        TYPE            C8
        DESCRIPTION     "This represents the uncertainty
                        of the ambiguous object FGS magnitude,
                        expressed as a standard deviation."
    END_FIELD
 
 

    FIELD  mag_diff
        TYPE            C8
        DESCRIPTION     "This represents an FGS magnitude difference,
                        which is the ambiguous object magnitude minus
                        the corresponding guide star magnitude."
        UNITS           "MAGNITUDE"
    END_FIELD
 
 

    FIELD  acq_prob
        TYPE            C4
        DESCRIPTION     "This represents an estimate of the
                        probability that the ambiguous object will be
                        in the magnitude window recommended for the
                        corresponding guide star acquisition."
    END_FIELD
 
 
END_RECORD
 
 
!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------
 
 
RELATION  wgambig_obj
 
    TYPE             AMBIG_TYPE
 
    DESCRIPTION      "Guide Star Ambiguous Object Data Relation"
 
    SUBSYSTEM_USING  "SPSS"
 
    INDEX  wgambig_obj_1
        TYPE         unique, clustered
        FIELDS       proposal_id, obset_id, version_num, response_num, 
                     gs_pair_id, gs_id, object_id
    END_INDEX
 
    INDEX  wgambig_obj_2
        TYPE         unique, nonclustered
        FIELDS       response_num, gs_pair_id, gs_id, object_id, proposal_id, 
                     obset_id, version_num
    END_INDEX
 
END_RELATION
 
!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------
 
 
INSTANCE  wgambig_obj
 
    GLOBAL
 
    TYPE        AMBIG_TYPE
 
END_INSTANCE

Go to the top.