NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

root/q2o/sos_adcp/trunk/sos_adcp/MinThresholdTest.xml

Revision 428 (checked in by tcook, 13 years ago)

Multiple updates for IOOS DIF demo

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <SensorML xmlns="http://www.opengis.net/sensorML/1.0"
3     xmlns:swe="http://www.opengis.net/swe/1.0" xmlns:gml="http://www.opengis.net/gml"
4     xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5     xsi:schemaLocation="http://www.opengis.net/sensorML/1.0 http://schemas.opengis.net/sensorML/1.0.0/sensorML.xsd"
6     version="1.0">
7     <member xlink:role="urn:x-ogc:def:sensor:OGC:processModel">
8         <ProcessModel gml:id="MinThresholdTest">
9             <gml:description>Test a value against some minimum Threshold.  This
10                              differs from the PointsGoodTest because this test
11                              operates on an actual value, not a percentage.</gml:description>
12             <gml:name>MinThresholdTest</gml:name>
13             <classification>
14                 <ClassifierList>
15                     <classifier name="processType">
16                         <Term>
17                             <codeSpace xlink:href="http://mmisw.org/ont/mvco/test"/>
18                             <value>http://mmisw.org/ont/mvco/test/MinThresholdTest</value>
19                         </Term>
20                     </classifier>
21                 </ClassifierList>
22             </classification>     
23             <inputs>
24                 <InputList>
25                     <input name="value">
26                         <swe:Quantity/>                           
27                     </input>
28                 </InputList>
29             </inputs>
30             <outputs>
31                 <OutputList>
32                     <output name="pass">
33                         <swe:Boolean definition="http://mmisw.org/ont/q2o/flag/pass"/>
34                     </output>
35                 </OutputList>
36             </outputs>
37             <parameters>
38                 <ParameterList>
39                     <parameter name="thresholdValue">
40                         <swe:Count/>
41                     </parameter>
42                 </ParameterList>
43             </parameters>
44             <!-- define method here or use href to point to external document -->
45             <method>  <!-- xlink:href="http://vast.uah.edu/SensorML/process/method/MinThresholdTestMethod.xml"> -->
46                 <ProcessMethod>
47                     <gml:description>This Method defines the simple MinThreshold test</gml:description>
48                     <contact>
49                         <ResponsibleParty>
50                             <individualName>Tony Cook</individualName>
51                             <organizationName>University of Alabama in Huntsville</organizationName>
52                             <positionName>Byte Juggler</positionName>
53                             <contactInfo>
54                                 <phone>
55                                     <voice>(512) 358-4848</voice>
56                                 </phone>
57                                 <address>
58                                     <electronicMailAddress>tcook@nsstc.uah.edu</electronicMailAddress>
59                                 </address>
60                             </contactInfo>
61                         </ResponsibleParty>
62                     </contact>
63                     <!-- <rules> - rules for inputs, params, and outputs- mandatory  -->
64                     <rules>
65                         <RulesDefinition>
66                             <gml:description>Input is a single decimal number.  Threshold is a single decimal number.
67                                              Output is a boolean, pass or fail.</gml:description>
68                             <!-- optional relaxNG doc for enforcing rules -->
69                             <relaxNG></relaxNG>
70                         </RulesDefinition>
71                     </rules>
72                     <!-- <algorithm> - textual and mathML descritption of the process- optional -->
73                     <algorithm>
74                         <AlgorithmDefinition>
75                             <gml:description>
76                                 Input Value passes if it's greater than thresholdValue
77                             </gml:description>
78                             <mathML xlink:href="http://server.edu/YourMathMLDoc.xml"/>
79                         </AlgorithmDefinition>                       
80                     </algorithm>
81                     <!--  <implementation> - provides pointer to language-specific implementations of this method- optional  -->
82                     <implementation>
83                         <ImplementationCode language="java" version="1.0">
84                             <sourceRef xlink:href="http://vast.uah.edu/SensorML/process/src/MinThresholdTest.java"/>
85                             <binaryRef xlink:href="http://vast.uah.edu/SensorML/process/bin/MinThresholdTest.class"/>
86                         </ImplementationCode>
87                     </implementation>
88                 </ProcessMethod>
89             </method>
90         </ProcessModel>
91     </member>
92 </SensorML>
Note: See TracBrowser for help on using the browser.