<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">OGC SWE-based Data Acquisition System Development for EGIM on EMSODEV EU Project</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Daniel</forename><forename type="middle">M</forename><surname>Toma</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Universitat Politecnica de Barcelona UPC-SARTI Barcelona</orgName>
								<address>
									<addrLine>Rambla Exposicion 24</addrLine>
									<postCode>08800</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Joaquin</forename><surname>Del Rio</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Universitat Politecnica de Barcelona UPC-SARTI Barcelona</orgName>
								<address>
									<addrLine>Rambla Exposicion 24</addrLine>
									<postCode>08800</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Javier</forename><surname>Cadena</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Universitat Politecnica de Barcelona UPC-SARTI Barcelona</orgName>
								<address>
									<addrLine>Rambla Exposicion 24</addrLine>
									<postCode>08800</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Ikram</forename><surname>Bghiel</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Universitat Politecnica de Barcelona UPC-SARTI Barcelona</orgName>
								<address>
									<addrLine>Rambla Exposicion 24</addrLine>
									<postCode>08800</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Enoc</forename><surname>Martínez</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Universitat Politecnica de Barcelona UPC-SARTI Barcelona</orgName>
								<address>
									<addrLine>Rambla Exposicion 24</addrLine>
									<postCode>08800</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Marc</forename><surname>Nogueras</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Universitat Politecnica de Barcelona UPC-SARTI Barcelona</orgName>
								<address>
									<addrLine>Rambla Exposicion 24</addrLine>
									<postCode>08800</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Óscar</forename><surname>Garcia</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution" key="instit1">Unidad de Tecnología Marina</orgName>
								<orgName type="institution" key="instit2">CSIC Barcelona</orgName>
								<address>
									<addrLine>P. Marítimo de la Barceloneta 37-49</addrLine>
									<postCode>08003</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Juanjo</forename><surname>Dañobeitia</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution" key="instit1">Unidad de Tecnología Marina</orgName>
								<orgName type="institution" key="instit2">CSIC Barcelona</orgName>
								<address>
									<addrLine>P. Marítimo de la Barceloneta 37-49</addrLine>
									<postCode>08003</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Jordi</forename><surname>Sorribas</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution" key="instit1">Unidad de Tecnología Marina</orgName>
								<orgName type="institution" key="instit2">CSIC Barcelona</orgName>
								<address>
									<addrLine>P. Marítimo de la Barceloneta 37-49</addrLine>
									<postCode>08003</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Raquel</forename><surname>Casas</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution" key="instit1">Unidad de Tecnología Marina</orgName>
								<orgName type="institution" key="instit2">CSIC Barcelona</orgName>
								<address>
									<addrLine>P. Marítimo de la Barceloneta 37-49</addrLine>
									<postCode>08003</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Jaume</forename><surname>Piera</surname></persName>
							<affiliation key="aff2">
								<orgName type="department">Instituto de Ciencias</orgName>
								<orgName type="institution">del Mar-CSIC Barcelona</orgName>
								<address>
									<addrLine>P. Marítimo de la Barceloneta 37-49</addrLine>
									<postCode>08003</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Rafael</forename><surname>Bartolome</surname></persName>
							<affiliation key="aff2">
								<orgName type="department">Instituto de Ciencias</orgName>
								<orgName type="institution">del Mar-CSIC Barcelona</orgName>
								<address>
									<addrLine>P. Marítimo de la Barceloneta 37-49</addrLine>
									<postCode>08003</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Raúl</forename><surname>Bardaji</surname></persName>
							<affiliation key="aff2">
								<orgName type="department">Instituto de Ciencias</orgName>
								<orgName type="institution">del Mar-CSIC Barcelona</orgName>
								<address>
									<addrLine>P. Marítimo de la Barceloneta 37-49</addrLine>
									<postCode>08003</postCode>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">OGC SWE-based Data Acquisition System Development for EGIM on EMSODEV EU Project</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">5B647D609FF7D946AFFC33239CCFD416</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-23T20:29+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>EMSO</term>
					<term>data acquisition</term>
					<term>EMSODE</term>
					<term>EGIM</term>
					<term>OGC</term>
					<term>SOS</term>
					<term>SE</term>
					<term>SWE</term>
					<term>Sensor</term>
					<term>Zabbix</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>The EMSODEV[1] (European Multidisciplinary Seafloor and water column Observatory DEVelopment) is an EU project whose general objective is to set up the full implementation and operation of the EMSO distributed Research Infrastructure (RI), through the development, testing and deployment of an EMSO Generic Instrument Module (EGIM). This research infrastructure will provide accurate records on marine environmental changes from distributed local nodes around Europe. These observations are critical to respond accurately to the social and scientific challenges such as climate change, changes in marine ecosystems, and marine hazards. In this paper we present the design and development of the EGIM data acquisition system. EGIM is able to operate on any EMSO node, mooring line, sea bed station, cabled or non-cabled and surface buoy. In fact a central function of EGIM within the EMSO infrastructure is to have a number of ocean locations where the same set of core variables are measured homogeneously: using the same hardware, same sensor references, same qualification methods, same calibration methods, same data format and access, and same maintenance procedures.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>INTRODUCTION</head><p>The general objective of the EMSODEV project is to implement a Generic Sensor Module (EGIM) within the EMSO (European Multidisciplinary Seafloor and water column Observatory). EMSO is a distributed infrastructure of strategically placed, deep sea and water column observatory nodes with the essential scientific objective of real-time, longterm monitoring of environmental processes related to the interaction between the geosphere, biosphere, and hydrosphere. The scientific drivers for developing and deploying the EGIM across a set of observatories in European Seas are manifold, spanning requirements to collect observations for understanding climate change, marine ecosystems, and geo-hazard early warning research. As illustrated in figure <ref type="figure" target="#fig_0">1</ref>, the EGIM will utilize a comprehensive set of sensors and devices that meet particular technology readiness thresholds to collect observations including temperature, pressure, salinity, dissolved oxygen, turbidity, chlorophyll fluorescence, currents, and passive acoustics. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>. EGIM prototype components</head><p>Relatively novel sensors will also be considered including those for pH, pCO2, and nutrients. Overall, this system will address the fullest possible set of Essential Climate Variables (e.g. from the WMO's GCOS-Global Climate Observing System program; www.wmo.int) at EMSO nodes. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Biogeochemistry</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Marine Ecology</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Temperature</head><formula xml:id="formula_0">X X X X Conductivity X X X X Pressure X X X X Dissolved O2 X X X X Turbidity X X X X Ocean currents X X X X Passive acoustics X X</formula><p>EMSODEV, by means of EGIM, will provide unprecedented support for full standardization across EMSO. This is key to understanding regional scale phenomena. Data will be made coherent and attractive for the modeling community and for other potential stakeholders as shown in table <ref type="table" target="#tab_0">1</ref>. An open data policy has already been adopted in compliance with the recommendations being developed within the GEOSS initiative (The Global Earth Observation System of Systems). This allows the shared use of the data infrastructure and the free exchange of scientific information and knowledge. Our contribution to the implementation of the EGIM data acquisition system module (WP4 of the EMSODEV project) focuses on the development of a generic software for sensor web enablement. Through this generic software, the EGIM status data is directly inserted into a centralized SOS (Sensor Observation Service) server <ref type="bibr" target="#b1">[2]</ref> and into a laboratory monitor system (LabMonitor) for recording events and alarms. Moreover, the software will be able to detect, register and start the data acquisition from any new sensors connected to EGIM. Based on this development, the project will set up a data management system enabling sensor management and data analysis compliant with the requirements of EU and international initiatives (e.g. EMODNET, GEOSS), and a state-of-art ICT (Information and Communications Technology) user environment.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 2. EGIM diagram showing SOS Gateway relations</head><p>As shown in figure <ref type="figure">2</ref>, the generic software for Sensor Web Enablement with the SOS server is located between the data source (EGIM) and the data management system in the EMSO Cyberinfrastructure (CI). The generic software for Sensor Web Enablement has two main functionalities. The first is to guarantee that the data is recorded properly from the EGIM hardware. The second is to register and insert the recorded data into a standardized Open Geospatial Consortium (OGC) SWE SOS <ref type="bibr" target="#b1">[2]</ref> that works as a gateway for the EMSO data management system.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. SYSTEM OVERVIEW</head><p>The hardware required by the components of the EGIM acquisition system -the SOS server and the laboratory monitor system -has been implemented by virtualizing the hardware of the whole system, e.g. generating three virtual machines ('Mussel','SeaShell' and 'Donax') for each separate roll. Each virtual machine has been configured with the necessary resources (database container, web server, VPN client ...) providing the necessary interfaces to communicate with the other hosts as shown in figure <ref type="figure" target="#fig_1">3</ref>. For this deployment we use the 'Mussel' virtual machine. We deployed the 52°North Web applications over a Tomcat Web server container version 7, configured with a Postgres database container. Some other small configurations for conditioning the application in our domain have been implemented.</p><p>In order to attend to client requests, we installed 52°North's Helgoland Web client application[3] [4] to visualize the real time and historical data using the SOS Gateway as illustrated in figure <ref type="figure" target="#fig_2">4</ref>. This web application has been opened for access from outside the local network </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. ACQUISITION SERVICES</head><p>The acquisition environment has been deployed on the 'Seashell' virtual machine. On this server all the elements are configured to accomplish the acquisition requirements. These requirements include the processes to acquire the data from the sensors that are connected to EGIM -the so-called acquisition agent -and to send the observations to the SOS Gateway and the Lab Monitor systems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 5. EGIM functional description</head><p>To acquire data from the EGIM system, we need to distinguish between two kinds of reading procedures. First, there is a reading procedure for the external sensors connected to the EGIM system. The EGIM has the capability to host up to 12 sensors. Seven of these sensors are generic, as shown in figure <ref type="figure" target="#fig_0">1</ref>. The five additional sensors provide additional 'essential ocean variables', including chl-a, pCO2, pH, and photographic/video images. As illustrated in figure <ref type="figure">5</ref>, these reading procedures are done based on TCP Socket connections. Second, there is a reading procedure of the EGIM internal sensors, which is done based on readings of UDP packets to a specific port. Once the agent reads these two kinds of data, we use a 'proxy SOS' tool to automatically executes all the data insert operations between the acquisition agent and the SOS server. Hence, this tool registers any new sensors connected to EGIM and sends the InsertResult queries for each new data acquired from EGIM. Moreover, the acquisition agent generates JSON requests to the Zabbix server <ref type="bibr" target="#b3">[5]</ref>, in order to add these values to the Lab Monitor's database. In order to provide the description of all these categories of data, we use the SensorML 2.0 standard. SensorML supports the ability to describe the components and encoding of realtime data streams, and to provide a link to the data stream itself <ref type="bibr" target="#b4">[6]</ref>. This allows one to connect to a real-time data stream directly from a SensorML description and to use a generic data reader to parse the data stream. The act of describing a data stream into or out of a process (or sensor/actuator) is accomplished by having the input or output be of type DataInterface. The DataInterface element allows one to describe the DataStream, as well as provides an optional interface description.</p><p>The acquisition agent (the SWE agent) reads and decodes this file, which is encoded in an EXI format. It uses the decoded information to autoconfigure itself, which opens a communication port via an Ethernet connection with the instrument deployed by EGIM. This communication port has the capability to use both TCP and UDP protocols. The SWE agent starts getting information from the instrument in a push or pull mode. The data retrieved from the instrument is stored in XML files, following the insertResult format. This format is compliant with the Observation &amp; Measurement Standard 2.0 and can be directly injected in the SOS database.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. MONITOR LAB</head><p>The benchmark test as well as the production processes require the visualization of some real data and historical trend data from sensors, with the objective to control some critical information by arranging triggers. In the same manner, we need to monitor the correct behavior of the whole system (EGIM Status data).</p><p>To accomplish this requirement, we built a LabMonitor system, using the Zabbix4 open source application. Zabbix is designed for monitoring availability and performance of IT infrastructure components. It works like a centralized monitoring system using active or passive agents for requesting or receiving from hosts. The system can use many protocols. In our scenario we use Zabbix agents to retrieve information about each virtual machine and observations from the EGIM system retrieved by the acquisition agents.</p><p>For this purpose, we have created the 'Donax' virtual machine. It uses a MySQL database as a data container and an Apache Web container for attending to Web client requests. In each server, a binary Zabbix agent that reports all information about the host to the Zabbix server has been installed. This functionality has also been added inside the acquisition software to send all the data acquired from the EGIM system. The acquisition agent gets the data received from EGIM sensors and sends it to the Zabbix server using a formatted JSON request. Then, the server informs the client if the data has been created successfully or it sends a report if any problem arises. Once the data has been received on LabMonitor, the data is written to the database, and can be visualized on the Web application. If a trigger has been configured for this data, the system will check the rule configuration and inform of any status change.</p><p>We can also check the state of the EGIM equipment by monitoring all the status values coming from EGIM status pack. We have configured alarms for critical data as the internal temperature, internal humidity, power consumption and water leak. In case any reporting alarm occurs, we set up an email account for receiving a message every time the trigger in the system switches on or off, informing about the sensor data involved and some more detailed information.</p><p>Finally, we set up a public access for remote monitoring purposes, which only require a web client for real time system data access. Moreover, it is also feasible to request historical data, which could be really useful for analyzing the events processes and crossing data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. CONCLUSIONS</head><p>At the time of writing this document, we are in a development phase and compiling all the necessary components for the final production environment (estimated for October, 2016). As a result, the data may not have much meaning or may eventually contain some gaps on historical trends. New development in the following months may introduce changes, such as IP's, ports, etc.. We are trying to improve the system to complement the way that Data Management Platform (DMP) should receive the data. Initially, this configuration requires a connection polling to request data from the DMP to the SOS Server. This implies two operations for each request data. We have installed the Sensor Event Service in the SOS server. The objective is that users with a publish/subscribe-based interface could access to sensor data and measurements located at the SOS server. The SES basically produces notifications and provides methods to subscribe for notifications and retrieve the latest notification. Meanwhile, users can also register new sensors dynamically and send notifications to the service. </p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Fig. 1</head><label>1</label><figDesc>Fig. 1. EGIM prototype components</figDesc><graphic coords="1,306.60,373.08,251.76,246.00" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Fig. 3 .</head><label>3</label><figDesc>Fig. 3. General Server and Services Layout</figDesc><graphic coords="2,311.81,258.66,241.80,168.10" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Fig. 4 .</head><label>4</label><figDesc>Fig. 4. Visualization of EGIM status data on 52°North Helgoland SOS Client</figDesc><graphic coords="3,306.60,53.28,251.64,194.28" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Fig. 6 .</head><label>6</label><figDesc>Fig. 6. Acquisition Components Overview We have identified several categories of data shared between EGIM and CI. The following defines each one: • Component descriptive data -Description of the platform/instrument configuration including instrument types, serial numbers, position of the deployment, calibration parameters. • Command data -Commands and associated attributes such as when a command is scheduled to be executed. • Instrument data -Data produced by the platform instruments, associated time tags, and attributes identifying the specific source instrument. • Engineering data -Data describing the operational status of the system components. • Metadata -Data describing the data. Metadata are data describing a resource, like an instrument or an information resource.</figDesc><graphic coords="4,36.60,113.88,251.04,130.68" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Fig. 7 .</head><label>7</label><figDesc>Fig. 7. Zabbix Screen with Graphs and events</figDesc><graphic coords="5,36.76,169.26,251.40,125.50" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head>Table 1 .</head><label>1</label><figDesc>Core variables captured by the EGIM -EMSO Generic Instrument Module and their cross-disciplinary application</figDesc><table><row><cell>Variable</cell><cell>Geosciences</cell><cell>Physical</cell></row><row><cell></cell><cell></cell><cell>Oceano-</cell></row><row><cell></cell><cell></cell><cell>graphy</cell></row></table></figure>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ACKNOWLEDGMENT</head><p>This study benefited from the H2020 INFRADEV-3-2015 EMSODEV Project n°676555.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<ptr target="http://www.emso-eu.org/site/projects.html" />
		<title level="m">EMSO project</title>
				<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<author>
			<persName><forename type="first">Arne</forename><surname>Bröring</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Christoph</forename><surname>Stasch</surname></persName>
		</author>
		<ptr target="http://www.opengis.net/doc/IS/SOS/2.0,2012-04-20" />
		<title level="m">OGC® Sensor Observation Service Interface Standard</title>
				<imprint/>
	</monogr>
	<note>Johannes Echterhoff</note>
</biblStruct>

<biblStruct xml:id="b2">
	<monogr>
		<ptr target="http://" />
		<title level="m">North SOS 2.0 implementation</title>
				<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<ptr target="http://www.zabbix.com/product.php" />
		<title level="m">Zabbix Monitoring System</title>
				<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Standards-Based Plug &amp; Work for Instruments in Ocean Observing Systems</title>
		<author>
			<persName><forename type="first">J</forename><surname>Del Río</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Mihai Toma</surname></persName>
		</author>
		<author>
			<persName><forename type="first">T</forename><forename type="middle">C</forename><surname>O'reilly</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A;</forename><surname>Bröring</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">R</forename><surname>Dana</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Bache</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">L</forename><surname>Headley</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Manuel-Lazaro</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">R</forename><surname>; Edgington</surname></persName>
		</author>
		<idno type="DOI">10.1109/JOE.2013.2273277</idno>
	</analytic>
	<monogr>
		<title level="j">Oceanic Engineering</title>
		<imprint>
			<biblScope unit="volume">39</biblScope>
			<biblScope unit="issue">3</biblScope>
			<biblScope unit="page">443</biblScope>
			<date type="published" when="2014-07">July 2014</date>
		</imprint>
	</monogr>
	<note>IEEE Journal of</note>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
