<?xml version="1.0" encoding="UTF-8"?>

<!-- <!DOCTYPE sddlschema SYSTEM "sddlschema.xsd">-->

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    SI_APERTURE.SDDL-->
<!-- -->
<!--  Purpose:      This SDDL file defines the si_aperture relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       PR      Who                       Reason-->
<!--  - - - -    - - - -   - -   - - - - - - - - - - - - - - - - - - - - - -->
<!--  01/28/99   31487     Baum    Original implementation-->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="SI_APERTURE_TYPE">

        <description>"Data values to be used in computing the aperture
                       position and orientation for OMS jitter files or OPUS
                       target acquistion software, where the use-date refers 
                       to the start time of the first SMS which used these 
                       values."</description>


            <field name="si_aper_id">
                    <type>C*10</type>
                    <description>"si aperture identifier: si_name + si_aperture
                        the relation is indexed by the si identifier"</description>
            </field>


            <field name="use_date">
                    <type>C*17</type>
                    <description>"usage date (yyyy.ddd:hh:mm:ss) at SMS start, before 
                         which the data for this aperture must not be used"</description>
            </field>


            <field name="parity">
                    <type>I*2</type>
                    <description>"+1/-1... parity value used in the transformation
                        from the sics to the v2v3 system"</description>
            </field>


            <field name="v2_of_ref">
                    <type>R*8</type>
                    <description>"v2 coordinate of aperture reference point
                        in arc seconds"</description>
            </field>


            <field name="v3_of_ref">
                    <type>R*8</type>
                    <description>"v3 coordinate of aperture reference point
                        in arc seconds"</description>
            </field>


            <field name="pixel_incr">
                    <type>R*8</type>
                    <description>"pixel increment in arc seconds"</description>
            </field>


            <field name="line_incr">
                    <type>R*8</type>
                    <description>"line increment in arc seconds"</description>
            </field>


            <field name="ang_inc_pix">
                    <type>R*8</type>
                    <description>"angle, in degrees, from v3 to the line of
                        increasing pixels, positive counterclockwise
                        viewed along positive v1 axis."</description>
            </field>


            <field name="ang_inc_line">
                    <type>R*8</type>
                    <description>"angle, in degrees, from v3 to the line of
                        increasing lines, positive counterclockwise
                        viewed along positive v1 axis."</description>
            </field>

    </record>


    <relation name="si_aperture">

        <type>SI_APERTURE_TYPE</type>

        <description>Data for each SI aperture</description>

        <subsystem_using>OMS</subsystem_using>

        <index name="si_aperture_1">
            <type>unique clustered</type>
            <field name="si_aper_id"/>
            <field name="use_date"/>
        </index>

    </relation>
</sddl>
