<?xml version="1.0" encoding="UTF-8"?><om:CompositeObservation xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:om="http://www.opengis.net/om/1.0" xmlns:swe="http://www.opengis.net/swe/1.0.2" xmlns:ioos="http://www.noaa.gov/ioos/0.6.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/om/1.0 ../schemas/ioosObservationSpecializations.xsd" gml:id="CurrentsMovingSensorObservation"><!-- The relative path in xsi:schemaLocation above allows document validation using a schema in the local file system.  Once the on-line server is operational, change it to xsi:schemaLocation="http://www.opengis.net/om/1.0 http://www.csc.noaa.gov/ioos/schema/IOOS-DIF/IOOS/0.6.0/schemas/ioosObservationSpecializations.xsd" -->		<gml:metaDataProperty xlink:href="http://www.csc.noaa.gov/ioos/schema/IOOS-DIF/IOOS/0.6.0/metadata/IOOSMetaData.xml"/>	<gml:description>Currents observation by a moving sensor at a collection of points</gml:description>	<gml:name>Optional Name for this Observation</gml:name>	<gml:boundedBy>		<gml:Envelope srsName="urn:ogc:def:crs:EPSG:6.5:4329">			<!-- overwrite these with your actual offering ROI -->			<gml:lowerCorner>34.450 -127.008</gml:lowerCorner>			<gml:upperCorner>34.454 -127.012</gml:upperCorner>		</gml:Envelope>	</gml:boundedBy>	<!-- Observation time -->	<om:samplingTime>		<gml:TimePeriod gml:id="ST">			<gml:beginPosition>2008-01-11T10:00:00.00Z</gml:beginPosition>			<gml:endPosition>2008-01-11T14:00:00.00Z</gml:endPosition>		</gml:TimePeriod>	</om:samplingTime>	<!-- An om:Process containing Platform, Sensor, and Station information, currently encoded in ioosTypes.xsd components, to be included in a SensorML process description to be developed in future work.  -->	<om:procedure>		<om:Process>			<ioos:CompositeContext gml:id="PlatformsSensorsStations" recDef="http://www.csc.noaa.gov/ioos/schema/IOOS-DIF/IOOS/0.6.0/recordDefinitions/PlatformsSensorsStationsRecordDefinition.xml">				<gml:valueComponents>					<ioos:Count name="NumberOfPlatforms">1</ioos:Count>					<ioos:ContextArray gml:id="PlatformArray">						<gml:valueComponents>							<ioos:CompositeContext gml:id="PlatformSensorsStations">								<gml:valueComponents>									<ioos:CompositeContext gml:id="Platform">										<gml:valueComponents>											<ioos:Organization>COOPS</ioos:Organization>											<ioos:PlatformId>SensorShip</ioos:PlatformId>											<ioos:Context name="Draft" uom="ft">28</ioos:Context>											<ioos:Context name="Range" uom="nm">4000</ioos:Context>											<ioos:Context name="Speed" uom="kt">23</ioos:Context>											<gml:TimeInstant gml:id="DeployStartDate">												<gml:timePosition>2007-06-15T00:12:00Z</gml:timePosition>											</gml:TimeInstant>											<gml:TimeInstant gml:id="DeployEndDate">												<gml:timePosition indeterminatePosition="unknown"/>											</gml:TimeInstant>										</gml:valueComponents>									</ioos:CompositeContext>									<ioos:Count name="NumberOfSensors">1</ioos:Count>									<ioos:ContextArray gml:id="PlatformSensorArray">										<gml:valueComponents>											<ioos:CompositeContext gml:id="Sensor1Info">												<gml:valueComponents>													<ioos:SensorId>WaterMill1</ioos:SensorId>													<ioos:SensorModel>WH600</ioos:SensorModel>													<ioos:SensorNumberOfBeams>4</ioos:SensorNumberOfBeams>													<ioos:Text name="Orientation">upwardLooking</ioos:Text>													<ioos:Context name="BlankingDistance" uom="m">0.88</ioos:Context>													<ioos:Context name="HeightFromBottom" uom="m">1.0</ioos:Context>													<ioos:Context name="SensorDepth" uom="m">0.0</ioos:Context>													<ioos:SamplingRate uom="Hz">60</ioos:SamplingRate>													<ioos:ReportingInterval uom="s">3600</ioos:ReportingInterval>													<ioos:ProcessingLevel>RAW</ioos:ProcessingLevel>													<ioos:Context name="BinSize" uom="m">1</ioos:Context>													<ioos:Context name="FirstBinCenter" uom="m">2.1</ioos:Context>													<ioos:Integer name="RealTimeBinNumber">1</ioos:Integer>													<ioos:Count name="NumberOfBins">1</ioos:Count>													<ioos:ContextArray gml:id="Station1Sensor1BinDistance">														<gml:valueComponents>															<ioos:Context name="Bin1" uom="m">5.92</ioos:Context>														</gml:valueComponents>													</ioos:ContextArray>												</gml:valueComponents>											</ioos:CompositeContext>										</gml:valueComponents>									</ioos:ContextArray>									<ioos:Count name="NumberOfPlannedStations">3</ioos:Count>									<!-- Note:  this count could be 0 and the following array empty if there is no float plan or flight plan for the platform, as might be the case for a drifter. -->									<ioos:ContextArray gml:id="PlannedStationArray">										<gml:valueComponents>											<ioos:CompositeContext gml:id="PlannedStation1Info">												<gml:valueComponents>													<gml:Point gml:id="PlannedStation1LatLon">														<gml:pos>34.4500007629 -127.008003235</gml:pos>													</gml:Point>												</gml:valueComponents>											</ioos:CompositeContext>											<ioos:CompositeContext gml:id="PlannedStation2Info">												<gml:valueComponents>													<gml:Point gml:id="PlannedStation2LatLon">														<gml:pos>34.452 -127.010</gml:pos>													</gml:Point>												</gml:valueComponents>											</ioos:CompositeContext>											<ioos:CompositeContext gml:id="PlannedStation3Info">												<gml:valueComponents>													<gml:Point gml:id="TargetStation3LatLon">														<gml:pos>34.450 -127.008</gml:pos>													</gml:Point>												</gml:valueComponents>											</ioos:CompositeContext>										</gml:valueComponents>									</ioos:ContextArray>								</gml:valueComponents>							</ioos:CompositeContext>						</gml:valueComponents>					</ioos:ContextArray>				</gml:valueComponents>			</ioos:CompositeContext>		</om:Process>	</om:procedure>	<!-- Observable -->	<om:observedProperty xlink:href="http://www.csc.noaa.gov/ioos/schema/IOOS-DIF/IOOS/0.6.0/dictionaries/phenomenaDictionary.xml#Currents">		<!-- A remote reference to phenomena dictionary entry that provides the semantics for the observed property.  		  A new dictionary entry must be created if a relevant one does not exist. -->	</om:observedProperty>	<!-- Feature Of Interest -->	<om:featureOfInterest xlink:href="http://wfs.ioos.noaa.gov?request=getFeature&amp;featureid=NarragansettBay "/>	<!-- a notional WFS call identifying the object regarding which the observation was made -->	<!-- Result Structure and Encoding -->	<om:result>		<ioos:Composite recDef="http://www.csc.noaa.gov/ioos/schema/IOOS-DIF/IOOS/0.6.0/dataRecordDefinitions/CurrentsMovingSensorDataRecordDefinition.xml" gml:id="CurrentsMovingSensorDataRecord" processDef="#PlatformSensorsStations">			<gml:valueComponents>				<ioos:Count name="NumberOfPointStationObservations">3</ioos:Count>				<ioos:Array gml:id="CurrentsMovingSensorPointStationCollection">					<gml:valueComponents>						<ioos:Composite gml:id="Station1Point">							<gml:valueComponents>								<ioos:CompositeContext gml:id="Station1ObservationConditions" processDef="#PlannedStation1Info">									<gml:valueComponents>										<gml:Point gml:id="ActualStation1LatLon">											<gml:pos>34.450 -127.007</gml:pos>										</gml:Point>										<gml:TimeInstant gml:id="Station1Time">											<gml:timePosition>2008-01-11T10:00:00.00Z</gml:timePosition>										</gml:TimeInstant>										<ioos:Context name="Heading" uom="deg">174.9</ioos:Context>										<ioos:Context name="Speed" uom="kt">21</ioos:Context>										<ioos:Context name="Pitch" uom="deg">2.33</ioos:Context>										<ioos:Context name="Roll" uom="deg">4.98</ioos:Context>										<ioos:Context name="Temperature" uom="C">6.54</ioos:Context>									</gml:valueComponents>								</ioos:CompositeContext>								<ioos:Count name="NumberOfStation1PointObservations">1</ioos:Count>								<ioos:ValueArray gml:id="Station1PointObservations">									<gml:valueComponents>										<ioos:CompositeValue gml:id="Station1Bin1Obs" processDef="#Sensor1Info">											<gml:valueComponents>												<ioos:Quantity name="CurrentDirection" uom="deg">247.7</ioos:Quantity>												<ioos:Quantity name="CurrentSpeed" uom="cm/s">2.2</ioos:Quantity>											</gml:valueComponents>										</ioos:CompositeValue>									</gml:valueComponents>								</ioos:ValueArray>							</gml:valueComponents>						</ioos:Composite>						<ioos:Composite gml:id="Station2Point">							<gml:valueComponents>								<ioos:CompositeContext gml:id="Station2ObservationConditions" processDef="#PlannedStation2Info">									<gml:valueComponents>										<gml:Point gml:id="ActualStation2LatLon">											<gml:pos>34.4525 -127.019</gml:pos>										</gml:Point>										<gml:TimeInstant gml:id="Station2Time">											<gml:timePosition>2008-01-11T12:00:00.00Z</gml:timePosition>										</gml:TimeInstant>										<ioos:Context name="Heading" uom="deg">174.9</ioos:Context>										<ioos:Context name="Speed" uom="kt">22</ioos:Context>										<ioos:Context name="Pitch" uom="deg">2.33</ioos:Context>										<ioos:Context name="Roll" uom="deg">4.98</ioos:Context>										<ioos:Context name="Temperature" uom="C">6.54</ioos:Context>									</gml:valueComponents>								</ioos:CompositeContext>								<ioos:Count name="NumberOfStation2PointObservations">1</ioos:Count>								<ioos:ValueArray gml:id="Station2PointObservations">									<gml:valueComponents>										<ioos:CompositeValue gml:id="Station2Bin1Obs" processDef="#Sensor1Info">											<gml:valueComponents>												<ioos:Quantity name="CurrentDirection" uom="deg">247.7</ioos:Quantity>												<ioos:Quantity name="CurrentSpeed" uom="cm/s">2.2</ioos:Quantity>											</gml:valueComponents>										</ioos:CompositeValue>									</gml:valueComponents>								</ioos:ValueArray>							</gml:valueComponents>						</ioos:Composite>						<ioos:Composite gml:id="Station3Point">							<gml:valueComponents>								<ioos:CompositeContext gml:id="Station3ObservationConditions" processDef="#PlannedStation3Info">									<gml:valueComponents>										<gml:Point gml:id="ActualStation3LatLon">											<gml:pos>34.451 -127.007</gml:pos>										</gml:Point>										<gml:TimeInstant gml:id="Station3Time">											<gml:timePosition>2008-01-11T14:00:00.00Z</gml:timePosition>										</gml:TimeInstant>										<ioos:Context name="Heading" uom="deg">174.9</ioos:Context>										<ioos:Context name="Speed" uom="kt">23</ioos:Context>										<ioos:Context name="Pitch" uom="deg">2.33</ioos:Context>										<ioos:Context name="Roll" uom="deg">4.98</ioos:Context>										<ioos:Context name="Temperature" uom="C">6.54</ioos:Context>									</gml:valueComponents>								</ioos:CompositeContext>								<ioos:Count name="NumberOfStation3PointObservations">1</ioos:Count>								<ioos:ValueArray gml:id="Station3PointObservations">									<gml:valueComponents>										<ioos:CompositeValue gml:id="Station3Bin1Obs" processDef="#Sensor1Info">											<gml:valueComponents>												<ioos:Quantity name="CurrentDirection" uom="deg">247.7</ioos:Quantity>												<ioos:Quantity name="CurrentSpeed" uom="cm/s">2.2</ioos:Quantity>											</gml:valueComponents>										</ioos:CompositeValue>									</gml:valueComponents>								</ioos:ValueArray>							</gml:valueComponents>						</ioos:Composite>					</gml:valueComponents>				</ioos:Array>			</gml:valueComponents>		</ioos:Composite>	</om:result></om:CompositeObservation>