<?xml version="1.0" encoding="UTF-8"?>
<r2r:qareport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.rvdata.us/2.0 http://schema.rvdata.us/2.0/base.xsd" xmlns:r2r="http://schema.rvdata.us/2.0">
<!--Rolling Deck to Repository (R2R) Quality Assessment (QA) Rollup Report -->
    <r2r:version>2.0</r2r:version>
	<r2r:identifier>RR1407_115351_qa</r2r:identifier> <!-- provenance block contains information for programs run on data, etc -->
	<r2r:provenance>
		<r2r:contact_institution id="us.rvdata">Rolling Deck to Repository (R2R)</r2r:contact_institution>
		<r2r:contact_email>info@rvdata.us</r2r:contact_email>
		<r2r:distro_type>post-cruise</r2r:distro_type>
		<r2r:cruise_id>RR1407</r2r:cruise_id>
		<r2r:fileset_id>115351</r2r:fileset_id>
		<r2r:device_type>gnss</r2r:device_type>
		<r2r:subdevice_types>
			<r2r:subdevice_type></r2r:subdevice_type> <!-- lists types of subdevices on main device, ie. ctd may have o2 sensor, temp sensor, conductivity sensor, etc  -->
		</r2r:subdevice_types>
		<r2r:updates>
			<r2r:update description="created template">
				<r2r:process version="1.1">r2r_catalog_qa_bootstrap.php</r2r:process>
				<r2r:time>2015-02-18T09:02:52Z</r2r:time>
			</r2r:update>
			<r2r:update description="QA main run">
				<r2r:process version="0.9">navmanager.php</r2r:process>
				<r2r:time>2015-02-19T01:47:09Z</r2r:time>
			</r2r:update>
		</r2r:updates>
	</r2r:provenance>
	<r2r:filesetinfo> <!-- fileset info block is populated in the .xmlt by breakout -->
		<r2r:externallinks>
			<r2r:externallink authority="docucomp">http:// ..noaa../uuid?..</r2r:externallink>
		</r2r:externallinks>
		<r2r:namespace>R2R</r2r:namespace>
		<r2r:cruise>
			<r2r:date_modified>2015-02-18T09:02:52Z</r2r:date_modified>
			<r2r:date_issued>2015-02-18</r2r:date_issued>
			<r2r:id>RR1407</r2r:id>
			<r2r:cname>Air Sea Interaction in Northern Indian Ocean</r2r:cname>
			<r2r:operator_id>edu.ucsd.sio</r2r:operator_id>
			<r2r:vessel_id>33RR</r2r:vessel_id>
			<r2r:scheduler_id>org.unols</r2r:scheduler_id>
			<r2r:scheduler_cruise_id />
			<r2r:depart_date>2014-07-02</r2r:depart_date>
			<r2r:depart_port>
				<r2r:port_id>101482</r2r:port_id>
				<r2r:port_name>Trincomalee</r2r:port_name>
				<r2r:country_id>lk</r2r:country_id>
				<r2r:state_id />
				<r2r:longitude>81.21250153</r2r:longitude>
				<r2r:latitude>8.558333397</r2r:latitude>
			</r2r:depart_port>
			<r2r:arrive_date>2014-07-13</r2r:arrive_date>
				<r2r:arrive_port>
				<r2r:port_id>101482</r2r:port_id>
				<r2r:port_name>Trincomalee</r2r:port_name>
				<r2r:country_id>lk</r2r:country_id>
				<r2r:state_id/>
				<r2r:longitude>81.21250153</r2r:longitude>
				<r2r:latitude>8.558333397</r2r:latitude>
			</r2r:arrive_port>
			<r2r:extent> <!-- WESN block could be empty; populated after navigation QA/DP is completed -->
				<r2r:westernmost>81.412940</r2r:westernmost>
				<r2r:easternmost>86.441428</r2r:easternmost>
				<r2r:southernmost>5.224430</r2r:southernmost>
				<r2r:northernmost>8.546023</r2r:northernmost>
			</r2r:extent>
		</r2r:cruise>
		<r2r:fileset>
			<r2r:date_created>2015-02-18</r2r:date_created> <!-- date_created is time when fileset was broken out - never changes -->
			<r2r:type>data</r2r:type>
			<r2r:id>115351</r2r:id>
			<r2r:parent_fileset_id />
			<r2r:vessel_id>33RR</r2r:vessel_id>
			<r2r:cruise_id>RR1407</r2r:cruise_id>
			<r2r:nav_source>1</r2r:nav_source>
			<r2r:bathy_source>0</r2r:bathy_source>
			<r2r:device>
				<r2r:id>100464</r2r:id>
				<r2r:devicetype_id>gnss</r2r:devicetype_id>
				<r2r:make_id>com.furuno</r2r:make_id>
				<r2r:model_id>100146</r2r:model_id>
				<r2r:model_name>GP-150</r2r:model_name>
				<r2r:location_name/>
			</r2r:device>
			<r2r:subdevices>
				<r2r:subdevice></r2r:subdevice> <!-- lists information about specific sub devices inside the main device like above-->
			</r2r:subdevices>
			<r2r:fileformat_id>100010</r2r:fileformat_id>
			<r2r:fileformat_alias>nav1</r2r:fileformat_alias>
			<r2r:proclevel_id>1</r2r:proclevel_id>
		</r2r:fileset>
	</r2r:filesetinfo>
	<r2r:certificate> <!-- certificate includes rating and tests for QA -->
		<r2r:rating description="GREEN (G) if all tests GREEN, RED (R) if at least  one test RED, else YELLOW (Y).">G</r2r:rating> <!-- rating attribute description should be included if the r2r:bounds do not clearly describe the logic used to set the rating  -->
		<r2r:tests>
			<r2r:test name="HasRequiredMetadata" description="True if required input files and variables needed for performing QA are found. QA cannot be run if this test is false..">
				<r2r:rating description="GREEN (G)  if required  metadata exists, else NOT ASSESSED (X)">G</r2r:rating>
				<r2r:test_result>true</r2r:test_result>
			</r2r:test>
			<r2r:test name="HasValidRequiredMetadata" description="This test is true if the information (metadata) required to locate, read and evaluate the data is valid. Test is false and QA will not be run if required metadata is not correct.">
				<r2r:rating description="GREEN (G) if minimum metadata is correct, else NOT ASSESSED (X)">G</r2r:rating>
				<r2r:test_result>true</r2r:test_result>
			</r2r:test>
			<r2r:test name="PercentCompleteness">
				<r2r:rating >G</r2r:rating>
				<r2r:test_result uom="Percent">100.00</r2r:test_result>
				<r2r:bounds>
					<r2r:bound name="GMinimumThreshold" uom="Percent">95</r2r:bound>
					<r2r:bound name="YMinimumThreshold" uom="Percent">75</r2r:bound>
					<r2r:bound name="RMaximumThreshold" uom="Percent">0</r2r:bound>
				</r2r:bounds>
			</r2r:test>
			<r2r:test name="LongestGapEpoch">
				<r2r:rating>G</r2r:rating>
				<r2r:test_result uom="Percent">1</r2r:test_result>
				<r2r:bounds>
					<r2r:bound name="GMaximumThreshold" uom="s">900</r2r:bound>
					<r2r:bound name="RMinimumThreshold" uom="s">86400</r2r:bound>
				</r2r:bounds>
			</r2r:test>
			<r2r:test name="PercentUnreasonableSpeeds">
				<r2r:rating>G</r2r:rating>
				<r2r:test_result uom="Percent">0.00</r2r:test_result>
				<r2r:bounds>
					<r2r:bound name="GMaximumThreshold" uom="Percent">5</r2r:bound>
					<r2r:bound name="RMinimumThreshold" uom="Percent">10</r2r:bound>
				</r2r:bounds>
				<r2r:infos>
					<r2r:info name="MaximumSpeed" uom="MetersPerSecond">7.21</r2r:info>
					<r2r:info name="MinimumSpeed" uom="MetersPerSecond">0.11</r2r:info>
				</r2r:infos>
			</r2r:test>
		</r2r:tests>
	</r2r:certificate>
<!-- fileset  metadata collected during testing  -->
	<r2r:filesetinfo_supplements> <!-- this tag was incorrectly set to filesetinfos_supplemental -->
		<r2r:filesetinfo_supplement name="HDOP">
			<r2r:ranges>
				<r2r:range name="Maximum" uom="Dimensionless">5.6</r2r:range>
				<r2r:range name="Minimum" uom="Dimensionless">1.2</r2r:range>
			</r2r:ranges>
		</r2r:filesetinfo_supplement>
		<r2r:filesetinfo_supplement name="NSV">
			<r2r:ranges>
				<r2r:range name="Maximum" uom="Count">12</r2r:range>
				<r2r:range name="Minimum" uom="Count">6</r2r:range>
			</r2r:ranges>
		</r2r:filesetinfo_supplement>
	</r2r:filesetinfo_supplements>
	<r2r:references> <!-- references block provides url links to supporting documentation or results -->
		<r2r:reference src="/data/r2r/vessel/33RR">supporting docs (if any) for this vessel</r2r:reference>
		<r2r:reference src="/data/r2r/vessel/33RR/device/100464">supporting docs (if any) for this device instance on this vessel</r2r:reference>
		<r2r:reference src="/data/r2r/model/100146">supporting docs (if any) for this device make/model</r2r:reference>
		<r2r:reference src="/data/r2r/format/100010">supporting docs (if any) for this file format</r2r:reference>
		<r2r:reference src="http://get.rvdata.us/cruise/RR1407/fileset/115351/qa//data/r2r/cruise/RR1407/fileset/115351/qa/RR1407_115351_qa.xmlt">XML tempate that this report is based off of</r2r:reference>
	</r2r:references>
	<r2r:log> <!-- the log block contains information discovered during QA that does not fit within the standard certificate. For instance, metadata or limits of individual files . This block can be in any format and may be different for each device type -->
		<![CDATA[
		]]>
	</r2r:log>
	<r2r:configuration> <!-- configuration block contains input metadata used by the QA program. The value block can be different for each device type -->
		<r2r:create_person id="cjolson">Olson, Chris</r2r:create_person>
		<r2r:create_institution id="edu.ucsd.sio">SIO</r2r:create_institution>
		<r2r:create_date>2015-02-18T01:01:01</r2r:create_date>
		<r2r:process_inputs> <!-- the process_inputs block can be in any format and may be different for each device type -->

			<![CDATA[
			<qacfg>
				<r2r:creation_date>2015-02-19T01:31:53Z</r2r:creation_date>
				<r2r:cruiseid>RR1407</r2r:cruiseid>
				<r2r:R2R_device_id>100464"</r2r:R2R_device_id>
				<r2r:R2R_fileset_id>115351</r2r:R2R_fileset_id>
				<r2r:R2R_file_format>nav1"</r2r:R2R_file_format>
				<r2r:nav_source>1</r2r:nav_source>
				<r2r:processing_parameters>
					<r2r:datetime_start_UTC>2014-07-02T00:00:00Z"</r2r:datetime_start_UTC>
					<r2r:datetime_end_UTC>2014-07-13T23:59:59Z"</r2r:datetime_end_UTC>
					<r2r:port_start_longitude>81.21250153"</r2r:port_start_longitude>
					<r2r:port_start_latitude>8.558333397"</r2r:port_start_latitude>
					<r2r:port_end_longitude>81.21250153"</r2r:port_end_longitude>
					<r2r:port_end_latitude>8.558333397"</r2r:port_end_latitude>
					<r2r:speed_threshold uom="MetersPerSecond">8.7</r2r:speed_threshold>
					<r2r:acceleration_threshold uom="MetersPerSecondSquared">1</r2r:acceleration_threshold>
					<r2r:gap_threshold
					<r2r:uom="s">300</r2r:gap_threshold>
				</r2r:processing_parameters>
				<r2r:directory_rawdata>RR1407/fileset/115351/data</r2r:directory_rawdata>
				<r2r:directory_rawdata_quality>RR1407/fileset/115351/qa</r2r:directory_rawdata_quality>
				<r2r:directory_products>RR1407/products/r2rnav</r2r:directory_products>
			</qacfg>
			]]>

		</r2r:process_inputs>
	</r2r:configuration>
	<r2r:manifest> <!--manifest is populated in .xmlt by breakout. QA sets order attribute if required -->
<r2r:files>
	  <r2r:file id="124176736" checksum="aaf4c0e3de54f3c0d5f90bbd98f62c38" order="">data/gp150_20140702124442.raw</r2r:file>
      <r2r:file id="124176742" checksum="d7b277236ae39d794e6ebf7a72859c18" order="">data/gp150_20140702143601.raw</r2r:file>
      <r2r:file id="124176745" checksum="00d351ce2a52cd553136bca80d1c1bfa" order="">data/gp150_20140703000000.raw</r2r:file>
      <r2r:file id="124176737" checksum="40acad09a417fd0dc13e48c1a8a64b2b" order="">data/gp150_20140704000000.raw</r2r:file>
      <r2r:file id="124176740" checksum="253bd804cfeda2a543a3eb727577e779" order="">data/gp150_20140705000000.raw</r2r:file>
      <r2r:file id="124176747" checksum="fe50b26b0dcc0801fc134733dc72ecb3" order="">data/gp150_20140706000000.raw</r2r:file>
      <r2r:file id="124176741" checksum="2e422a0e1b30fa6fbffe217af5ed2dd6" order="">data/gp150_20140707000000.raw</r2r:file>
      <r2r:file id="124176743" checksum="eca8308b40b7a91471e575548ef4567b" order="">data/gp150_20140708000000.raw</r2r:file>
      <r2r:file id="124176738" checksum="98d2ab8e3c55c3ddf622ce36d2902332" order="">data/gp150_20140709000000.raw</r2r:file>
      <r2r:file id="124176746" checksum="8a07dca592743fb6aab4624fde9f4e01" order="">data/gp150_20140710000000.raw</r2r:file>
      <r2r:file id="124176739" checksum="062a3eddc65307c83c4ff25400e2b94c" order="">data/gp150_20140711000000.raw</r2r:file>
      <r2r:file id="124176744" checksum="30c5cbea1923f8f34923f808220e2875" order="">data/gp150_20140712000000.raw</r2r:file>
</r2r:files>
	</r2r:manifest>
</r2r:qareport>
