<?xml version="1.0" encoding="UTF-8"?>
<?xml-model 
href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1G00.sch" 
schematypens="http://purl.oclc.org/dsdl/schematron" ?>
<?xml-model 
href="https://pds.nasa.gov/pds4/mission/mars2020/v1/PDS4_MARS2020_1G00_1000.sch"
schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Product_Bundle xmlns="http://pds.nasa.gov/pds4/pds/v1"
                xmlns:mars2020="http://pds.nasa.gov/pds4/mission/mars2020/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_1G00.xsd
                                    http://pds.nasa.gov/pds4/mission/mars2020/v1 
                                    https://pds.nasa.gov/pds4/mission/mars2020/v1/PDS4_MARS2020_1G00_1000.xsd">

  <Identification_Area>
    <logical_identifier>urn:nasa:pds:mars2020_meda</logical_identifier>
    <version_id>6.0</version_id>
    <title>Mars 2020 MEDA Bundle</title>
    <information_model_version>1.16.0.0</information_model_version>
    <product_class>Product_Bundle</product_class>
    <Citation_Information>
      <author_list>Rodriguez-Manfredi, Jose A; de la Torre Juarez, Manuel</author_list>
      <editor_list>Mora Sotomayor, Luis; Deen, Robert G.; Algermissen, Stirling; Dunn, Alexander E.; Toole, Nicholas T.; Crombie, M. Katherine; Arena, Nicholas W.; Oij, Stephanie L.; Abarca, Hallie E.; M20 IDS/IDSO Team; Huber, Lyle</editor_list>
      <publication_year>2021</publication_year>
      <doi>10.17189/1522849</doi>
      <keyword>Mars, weather, meteorology, environment</keyword>
      <description>Mars 2020 Perseverance Rover Mars Environmental Dynamics Analyzer (MEDA) Experiment Data Record (EDR) and Reduced Data Record (RDR) Data Products Archive Bundle</description>
    </Citation_Information>
  </Identification_Area>
  <Context_Area>
    <comment>Observational Intent</comment>
    <Time_Coordinates>
      <start_date_time>2020-07-31T11:50:00.000Z</start_date_time>
      <stop_date_time nilReason="unknown" xsi:nil="true" />
    </Time_Coordinates>
    <Primary_Result_Summary>
      <purpose>Science</purpose>
      <processing_level>Raw</processing_level>
      <processing_level>Partially Processed</processing_level>
      <processing_level>Calibrated</processing_level>
      <processing_level>Derived</processing_level>
      <Science_Facets>
        <domain>Atmosphere</domain>
        <discipline_name>Atmospheres</discipline_name>
        <facet1>Meteorology</facet1>
      </Science_Facets>
      <Science_Facets>
        <wavelength_range>Visible</wavelength_range>
        <domain>Surface</domain>
        <discipline_name>Imaging</discipline_name>
      </Science_Facets>
    </Primary_Result_Summary>
    <Investigation_Area>
      <name>Mars 2020 Perseverance Rover Mission</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.mars2020</lid_reference>
        <reference_type>bundle_to_investigation</reference_type>
        <comment>This is the PDS4 logical identifier for the Mars 2020 Perseverance Rover Mission.</comment>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <name>Mars 2020</name>
      <Observing_System_Component>
        <name>Mars 2020</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.mars2020</lid_reference>
          <reference_type>is_instrument_host</reference_type>
          <comment>
            This is the PDS4 logical identifier for the Mars 2020 Perseverance Rover.
          </comment>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Mars Environmental Dynamics Analyzer</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:mars2020.meda</lid_reference>
          <reference_type>is_instrument</reference_type>
          <comment>
            This is the PDS4 logical identifier for them MEDA instrument onboard the Mars 2020 Perseverance Rover.
          </comment>
        </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>bundle_to_target</reference_type>
        <comment>Reference to the Planet - Mars target</comment>
      </Internal_Reference>
    </Target_Identification>
  </Context_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:context:resource:resource.mars2020_meda_online</lid_reference>
      <reference_type>has_resource</reference_type>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:mars2020_meda:document:meda_bundle_sis</lid_reference>
      <reference_type>bundle_to_document</reference_type>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:mars2020_meda:document:meda_env_edr_sis.pdf</lid_reference>  <!--RChen added .pdf-->
      <reference_type>bundle_to_document</reference_type>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:mars2020_meda:document:meda_env_rdr_sis.pdf</lid_reference>  <!--RChen added .pdf-->
      <reference_type>bundle_to_document</reference_type>
    </Internal_Reference>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:mars2020_mission:document_camera:mars2020_camera_bundle_sis.pdf</lid_reference>
      <reference_type>bundle_to_document</reference_type>
    </Internal_Reference>
    <External_Reference>
      <doi>10.1007/s11214-021-00816-9</doi>
      <reference_text>
        Rodriguez-Manfredi, J.A., de la Torre Juárez, M., Alonso, A. et al. The Mars 
        Environmental Dynamics Analyzer, MEDA. A Suite of Environmental Sensors for 
        the Mars 2020 Mission. Space Sci Rev 217, 48 (2021).
      </reference_text>
    </External_Reference>
    <External_Reference>
      <doi>10.1007/s11214-020-00762-y</doi>
      <reference_text>
        Farley, K.A., Williford, K.H., Stack, K.M. et al. Mars 2020 Mission Overview. 
        Space Sci Rev 216, 142 (2020)
      </reference_text>
    </External_Reference>
  </Reference_List>
  <Bundle>
    <bundle_type>Archive</bundle_type>
    <description>This Bundle contains Mars 2020 Mars Environmental Dynamics Analyzer data.
    </description>
  </Bundle>
  <File_Area_Text>
    <File>
      <file_name>readme.txt</file_name>
      <comment>Introduction to the bundle</comment>
    </File>
    <Stream_Text>
      <name>Introduction to the Mars2020 MEDA Bundle</name>
      <local_identifier>BUNDLE.DESCRIPTION</local_identifier>
      <offset unit="byte">0</offset>
      <parsing_standard_id>7-Bit ASCII Text</parsing_standard_id>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
    </Stream_Text>
  </File_Area_Text>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:data_raw_env</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_data_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:data_partially_processed_env</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_data_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:data_calibrated_env</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_data_collection</reference_type>
  </Bundle_Member_Entry>    
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:data_derived_env</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_data_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:data_skycam</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_data_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:browse_skycam</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_browse_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:document</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_document_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_mission:document_camera</lid_reference>
    <member_status>Secondary</member_status>
    <reference_type>bundle_has_document_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_mission:calibration_camera</lid_reference>
    <member_status>Secondary</member_status>
    <reference_type>bundle_has_calibration_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_mission:miscellaneous</lid_reference>
    <member_status>Secondary</member_status>
    <reference_type>bundle_has_member_collection</reference_type>  <!-- RChen 2021125: was bundle_has_miscellaneous_collection, but harvest couldn't handle it -->
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:context</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_context_collection</reference_type>
  </Bundle_Member_Entry>
  <Bundle_Member_Entry>
    <lid_reference>urn:nasa:pds:mars2020_meda:xml_schema</lid_reference>
    <member_status>Primary</member_status>
    <reference_type>bundle_has_schema_collection</reference_type>
  </Bundle_Member_Entry>
</Product_Bundle>
