<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1L00.sch"
  schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Ancillary xmlns="http://pds.nasa.gov/pds4/pds/v1" 
    xmlns:pds="http://pds.nasa.gov/pds4/pds/v1" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1L00.xsd">
  <Identification_Area>
    <logical_identifier>urn:nasa:pds:vl_image_raw:miscellaneous:vl2_catalog</logical_identifier>
    <version_id>1.0</version_id>
    <title>Catalog of Viking Lander 2 Images</title>
    <information_model_version>1.21.0.0</information_model_version>
    <product_class>Product_Ancillary</product_class>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2024-06-12</modification_date>
        <version_id>1.0</version_id>
        <description>Initial version.</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Context_Area>
    <Time_Coordinates>
      <start_date_time>1976-07-20Z</start_date_time>
      <stop_date_time>1982-12-31Z</stop_date_time>
    </Time_Coordinates>
    <Investigation_Area>
      <name>Viking</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.viking</lid_reference>
        <reference_type>ancillary_to_investigation</reference_type>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <Observing_System_Component>
        <name>Viking Lander 2</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.vl2</lid_reference>
          <reference_type>is_instrument_host</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Camera 1 for VL2</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:cam1.vl2</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Camera 2 for VL2</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:cam2.vl2</lid_reference>
          <reference_type>is_instrument</reference_type>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
            <Target_Identification>
            <name>Mars</name>
            <type>Planet</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:target:planet.mars</lid_reference>
                <reference_type>ancillary_to_target</reference_type>
            </Internal_Reference>
        </Target_Identification>
        <Target_Identification>
            <name>Phobos</name>
            <type>Satellite</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:target:satellite.mars.phobos</lid_reference>
                <reference_type>ancillary_to_target</reference_type>
            </Internal_Reference>
        </Target_Identification>
        <Target_Identification>
            <name>Deimos</name>
            <type>Satellite</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:target:satellite.mars.deimos</lid_reference>
                <reference_type>ancillary_to_target</reference_type>
            </Internal_Reference>
        </Target_Identification>
        <Target_Identification>
            <name>Sun</name>
            <type>Star</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:target:star.sun</lid_reference>
                <reference_type>ancillary_to_target</reference_type>
            </Internal_Reference>
        </Target_Identification>
        <Target_Identification>
            <name>Calibration</name>
            <type>Calibrator</type>
            <Internal_Reference>
                <lid_reference>urn:nasa:pds:context:target:calibrator.calibration</lid_reference>
                <reference_type>ancillary_to_target</reference_type>
            </Internal_Reference>
        </Target_Identification>
  </Context_Area>
  <File_Area_Ancillary>
    <File>
      <file_name>vl2_catalog.csv</file_name>
      <creation_date_time>2024-05-31</creation_date_time>
    </File>
    <Table_Delimited>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <description>Index table of products in the Viking Lander image
        dataset.</description>
      <records>3043</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>21</fields>
        <groups>0</groups>
        <Field_Delimited>
          <name>image_event</name>
          <field_number>1</field_number>
          <data_type>ASCII_String</data_type>
          <description>Image event is a term used by the imaging team to identify 
            images. It is included in the catalog for sorting records. It consists of
            the camera event ID without the lander and camera numbers and also 
            includes a 3 character code for the diode used. The two parts are
            separated by an underscore character.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>logical_identifier</name>
          <field_number>2</field_number>
          <data_type>ASCII_String</data_type>
          <description>The logical_identifier [LID] for the product.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>file_name</name>
          <field_number>3</field_number>
          <data_type>ASCII_String</data_type>
          <description>File name for the image.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>lander</name>
          <field_number>4</field_number>
          <data_type>ASCII_Integer</data_type>
          <description>The Viking Lander number that acquired the image.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>camera</name>
          <field_number>5</field_number>
          <data_type>ASCII_Integer</data_type>
          <description>The camera number that acquired the image.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>start_time</name>
          <field_number>6</field_number>
          <data_type>ASCII_Date_Time_YMD_UTC</data_type>
          <description>The UTC time at the start of imaging.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>target_name</name>
          <field_number>7</field_number>
          <data_type>ASCII_String</data_type>
          <description>The primary target of the image. Possible values are: Mars, Sun, Phobos,
            Deimos, or Calibration. Target names of Mars are either images of the surface, sky, or lander
            parts. Calibration images are either internal radiometric measurements or verification of
            the camera scanning mechanisms.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>mission_phase</name>
          <field_number>8</field_number>
          <data_type>ASCII_String</data_type>
          <description>Mission_phase identifies a time period within the mission.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>sol_number</name>
          <field_number>9</field_number>
          <data_type>ASCII_Integer</data_type>
          <description>Sol_number is the number of Mars day on which an image was
            acquired. Landing day is Sol 0.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>local_hour</name>
          <field_number>10</field_number>
          <data_type>ASCII_Real</data_type>
          <description>The hour and fraction hour within a sol for the start of an image
            assuming a sol has 24 hours. This definition is unique to Viking Lander
            data.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>diode</name>
          <field_number>11</field_number>
          <data_type>ASCII_String</data_type>
          <description>Name for one of the twelve photodiodes in a VL camera that
            was used to acquire the image.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>product_type_name</name>
          <field_number>12</field_number>
          <data_type>ASCII_String</data_type>
          <description>Product_type_name identifies the type of image based on
            instrument-specific settings.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>scan_start_azimuth</name>
          <field_number>13</field_number>
          <data_type>ASCII_Real</data_type>
          <unit>degree</unit>
          <description>Beginning azimuth of an image scan. Values are in the 
            camera-aligned camera coordinate system (CACCS). The zero azimuth for
            each camera generally points towards the other camera.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>scan_stop_azimuth</name>
          <field_number>14</field_number>
          <data_type>ASCII_Real</data_type>
          <unit>degree</unit>
          <description>Ending azimuth of an image scan. Values are in the 
            camera-aligned camera coordinate system (CACCS). The zero azimuth
            for each camera generally points towards the other camera</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>mirror_center_elevation</name>
          <field_number>15</field_number>
          <data_type>ASCII_Real</data_type>
          <unit>degree</unit>
          <description>The commanded center elevation of the scanning mirror used
            for acquireing an image. Zero elevation generally pointed toward the
            horizon with negative values below and positive values above the horizon.
            Note that actual center elevation may be different for some non-nominal
            imaging modes.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>sampling_interval</name>
          <field_number>16</field_number>
          <data_type>ASCII_Real</data_type>
          <unit>degree</unit>
          <description>The spacing in degrees between pixels within a scan line
            and between scan lines.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>rescan_start_sample</name>
          <field_number>17</field_number>
          <data_type>ASCII_Integer</data_type>
          <description>The VL camera could collect data without advancing the
            azimuth. This mode was called rescan, i.e., repeating the same vertical
            scan of data. This sometimes happened at the end of image. It was sometimes
            commanded to repeat vertical scans to study atmospheric properties or to detect
            surface changes. Rescan_start_sample is the sample value where rescan starts
            in an image. The value is zero if there was no rescan.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>rescan_total_samples</name>
          <field_number>18</field_number>
          <data_type>ASCII_Integer</data_type>
          <description>The VL camera could collect data without advancing the 
            azimuth. This was called rescan, i.e., repeating the same vertical
            scan of data. This sometimes happened at the end of image. It was sometimes
            commanded to repeat vertical scans. Rescan_total_samples is the total
            number of repeated scans in an image. The value is zero if there was no
            rescan.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>missing_scans</name>
          <field_number>19</field_number>
          <data_type>ASCII_Integer</data_type>
          <description>Missing_samples is the number of vertical scans that are
            missing from an image. Vertical scans of data were sometimes lost in
            transmission to Earth or if there were noise or errors in the telemetry
            such that scans could not be extracted from the downlink. A value of zero 
            means no scans were lost.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>dust_flag</name>
          <field_number>20</field_number>
          <data_type>ASCII_String</data_type>
          <description>A flag indicating whether a dust sequence was done with an image.
            The cameras could be commanded to spray a stream of CO2 across the outer window
            of the camera to remove accumulated dust. A value of true means a dusting was
            done. The value is false for most images.</description>
        </Field_Delimited>
        <Field_Delimited>
          <name>observation_name</name>
          <field_number>21</field_number>
          <data_type>ASCII_String</data_type>
          <description>A note indicating the reason for acquiring the image.</description>
        </Field_Delimited>
      </Record_Delimited>
    </Table_Delimited>
  </File_Area_Ancillary>
</Product_Ancillary>
