<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Geoinformation Technologies and Software for Operational Assessment of Air Pollution</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alexey A. Kadochnikov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alexey V. Tokarev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oleg E. Yakubailik</string-name>
          <email>oleg@icm.krasn.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Federal Research Center Krasnoyarsk Science Center of the SB RAS</institution>
          ,
          <addr-line>Krasnoyarsk</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute of Computational Modelling SB RAS</institution>
          ,
          <addr-line>Krasnoyarsk</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Siberian Federal University</institution>
          ,
          <addr-line>Krasnoyarsk</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The features of the development of an environmental monitoring system based on the integration of data from various sources is considered. Operational data collection from automated observation posts for the state of the atmospheric air and meteorological information has been implemented. Technology platform of the geoportal, intended for the collection, processing and presentation of data from various observations, is the system basis of completed development.</p>
      </abstract>
      <kwd-group>
        <kwd>web mapping</kwd>
        <kwd>GIS</kwd>
        <kwd>the natural environment</kwd>
        <kwd>spatial data</kwd>
        <kwd>monitoring</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>Methods and tools</title>
      <p>measurements supported by SOS. The types of data provided by the sensor and the sensor types themselves can be
obtained from the sensor registry.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Data collection technology</title>
      <p>As a result of the analysis of the current situation in Krasnoyarsk, a list of several sources of operational
information on the state of atmospheric air, which can be obtained and analyzed, was formed. However, these data
have to be extracted by special tools. It should be noted that in most cases the collection of data from external sources
can be divided into several groups:</p>
      <p>1. Data is presented in the form of web services that transmit information in a structured form, for example, in
CSV, JSON, XML formats. Such data is easy to process and check for errors. This block includes data provided
within the OGC SOS standard.</p>
      <p>2. There are no special web services for receiving data, but there are service services of the resource necessary for
its operation. For example, services for plotting or output tabular data in a web interface, tools, data export, etc. Such
services can also be used to retrieve the data, but it is necessary to develop a number of tools for data analysis,
including the inspection of changes in the structure of the data, changing internal IDs of the format of the output data,
the dimensionality of the data, etc.</p>
      <p>3. The data is presented in the form of HTML pages of the Internet resource. To obtain such data, you need to
analyze the page in order to find some reference text blocks, with which you can always find the necessary
information on the page. In this case, a specific text block is extracted from the page and processed further. In some
cases, these page fragments can be treated as xml, making it easier to extract information.</p>
      <p>In some cases, a combination of these groups can be used, because the services may require service information
contained in the page itself. Special attention should be paid to structural changes in the received data, developing a
series of verification units, including changes in the number of sensors and monitoring stations, the integrity and
completeness of the transmitted data, etc. For the operational refinement of the software modules of the collection, the
means of logging text information and alerts, for example, by e-mail, should be created. Such tools allow you to
receive information about changes on the remote resource and its status constantly. Promptly making corrections to
the program code can ensure the integrity and correctness of the information received.</p>
      <p>There are a number of systems in the world for accessing observational data. For example, the smart Emission
platform (https://data.smartemission.nl/data), the OpenSensorHub project (https://opensensorhub.org/), project
52°North (https://52north.org/), istSOS OSGeo project (http://istsos.org/), et al.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Results and discussion</title>
      <p>On the basis of the geoportal of the Institute of Computational Modeling of SB RAS, a unit of scientific and
research monitoring was developed for the collection, processing and presentation of data from various observations
[8]. Indicators from external data sources are collected on the SensorCollector collection server
(http://gis.krasn.ru/sc/). Data sources can be either individual sensors or external databases and information systems
through additional adapters. The data collected is recorded in a fact table and stored in multidimensional form with
specific dimensions such as date-time, measure, and site.</p>
      <p>On the basis of primary data, automatic aggregation with different time intervals is performed, calculation of
derived indicators is supported. A software interface (API) was implemented to populate and retrieve data, as well as
a basic web interface for metadata management and storage navigation. Implemented support for differentiation of
access rights to objects of the system depending on the role of the user. The service is implemented in PHP 5 scripting
language using Yii framework, PostgreSQL DBMS with PostGIS extension module is used for data storage.</p>
      <p>The organization of access to observation data is carried out by various applications and services, including
viewing tabular data, export, viewing data on maps with the ability to select time intervals and access using generally
accepted standards (OGC WMS, SOS). The General scheme of data collection is shown in Figure 1.</p>
      <p>At the moment, the portal has implemented the collection of operational data from several sources and created the
following sections:
‒ Monitoring system of air quality in the city of Krasnoyarsk.
‒ Subsystem and database of the official regional ecological system of municipal authorities.
‒ Subsystem and database of territorial bodies of hydro meteorological service of Russia in Krasnoyarsk region.
‒ Environmental data of independent ecologists and public organizations.
‒ Data of hydrological observations in the Krasnoyarsk region.
‒ et al.</p>
      <p>Data are also collected from the devices of the network of scientific and research environmental monitoring of the
Federal Research Center "Krasnoyarsk Science Center SB RAS". Data is collected at 1 minute intervals from 24 posts
using the data access API. Monitoring stations are developed by CityAir company (https://cityair.io/) and allow to
obtain data of measurements of particulate matter concentrations in atmospheric air (PM2.5, PM10) and basic
meteorological parameters such as temperature, air humidity and pressure. An archive of data obtained from these
stations has been accumulated since December 2018.</p>
      <p>The data flow on atmospheric air from the Regional Departmental Information and Analytical System on the State
of the Environment of the Krasnoyarsk territory (RDIAS) is set up (http://krasecology.ru/Air/). Observations of air
quality are carried out at 11 automated observation posts, 9 of which are located in Krasnoyarsk. To download data
from the RDIAS site, a software module with an appropriate "driver" for processing and converting the input data has
been prepared, which provides periodic loading of observation data from this system through a web service. At the
moment, most of the downloaded data on the fixed observation posts on the remote server is generated every 20
minutes. Data from mobile laboratories appear with a frequency of once a day, after processing them by employees of
the regional system.</p>
      <p>Meteorological data are automatically downloaded from the website of the Federal State Institution "Middle
Siberian Department of Hydrometeorology and Environmental Monitoring" (http://meteo.krasnoyarsk.ru/).
Meteorological information comes in real time from automatic monitoring posts, it is published on a special website
and is updated every 3 hours. Data are collected on the following indicators: atmospheric pressure, humidity, wind
direction, wind speed, air temperature. The archive has been maintained since the beginning of 2013. Previously, the
site was available daily data on a number of gases (NO2, NO, SO2, CO, hydrofluoride, formaldehyde) and particulate
matter PM10. These data were downloaded daily, but since June 2016 free access to these data has been closed.</p>
      <p>Another source of information is data from the Nebo community project (https://nebo.live/), created by
environmental activists from Krasnoyarsk. The project collects data from about 20-30 instruments measuring the
particulate matter concentrations in the air (PM2.5) and the main meteorological parameters: temperature and relative
humidity. At the end of last year, the owners of the service began to upload archives of data for the past period.
However, these archives have gaps in time, but sometimes they allow you to fill in the data missed by the import
service. Currently (summer 2019) access to the archives is closed.</p>
      <p>Special attention was paid to the fact that the data of the Nebo community project on the charts with the average
values for the day and month were compared with the maximum one-time maximum permissible concentration of
harmful substances, which is incorrect. The site contains a link to the documentation for working with the service API
(https://docs.nebo.live/api), but it is not currently available. The software API would make it easier to download data
from the site and reduce the number of missing data due to problems with the project site.</p>
      <p>An adapter has been developed to download daily reports of global coverage (GSOD) from the National Oceanic
and Atmospheric Administration (NOAA) of the USA from weather stations of the Krasnoyarsk territory. These data
represent records that contain information about temperature, humidity, wind speed and direction, atmospheric
pressure, types of precipitation, etc. A data archive has been formed since 2003, services for automatic loading of new
information have been created.</p>
      <p>Special attention was paid to the subsystem of analysis of data received from third-party services. The subsystem
analyzes the following events:
1. Unavailability of a web service or site via http protocol or lack of communication.</p>
      <p>2. Correctness of the received data (negative or zero values for the data series, coincidence of time in the
received data with the requested period, data from the "future", etc.).</p>
      <p>3. The unavailability of individual monitoring stations or their indicators.</p>
      <p>4. The appearance or disappearance of monitoring stations or indicators on a remote service or website (allows
you to quickly add new monitoring stations to the system).</p>
      <p>The system analyzes the above problems and records all events in a text log on the server, as well as informs the
system administrator by e-mail. This subsystem is currently being refined to limit the number of e-mail messages and
to send summary information about non-critical errors once in a given period (by default, once a day). This
development of the subsystem is due to the fact that part of the services collects data every 10 minutes and each time
for the entire service or for each monitoring post separately formed an error message and the number of such
messages per hour can be measured in tens of pieces. This is especially true for the stations of CityAir company,
because their software is developing and often there are various errors: the data does not come sequentially, some
packages have a date with a shift of a week in the future, there are new "virtual" devices on existing stations, etc.</p>
      <p>To date, in cooperation with the system of operational monitoring data, which is a part of geoportal of Institute of
Computational Modeling SB RAS, several web applications have been developed for the publication and analysis of
the collected observations that are part of the emerging regional spatial data infrastructure [9]. Figure 2 shows a web
application with operational data on all the posts of the CityAir company of the Federal Research Center KSC SB
RAS in Krasnoyarsk. The current weather conditions and the level of air pollution (PM2.5) are displayed. Depending
on the level of contamination, the indicators are colored. The data is updated on the screen every 20 minutes.</p>
      <p>
        When developing web applications, the analysis of existing solutions related to the presentation of operational
information on the state of atmospheric air in the world and Russia was carried out. Among the considered systems
there are several examples. Air Quality System based on the data of the United States Environmental Protection
Agency (https://gispub.epa.gov/airnow/) provides access to data in the form of Air Quality Index (AQI) [
        <xref ref-type="bibr" rid="ref9">10</xref>
        ]. The
data on air quality and weather conditions of the AirVisual international system (now part of the IQAir,
https://www.airvisual.com/air-quality-map) obtained on the basis of the data from small home stations AirVisual Pro.
Non-profit World Air Quality Index project (http://aqicn.org/map/world/) based in China provides access to data in
the form of an air quality index for many countries of the world according to the environmental protection Agency
methodology.
      </p>
      <p>
        Examples of several regional systems were also considered. One of them is the European system The Copernicus
Atmosphere Monitoring Service (https://www.regional.atmosphere.copernicus.eu). Another successful project is the
system of the Republican Center for Hydrometeorology, Radioactive Pollution Control and Environmental
Monitoring of the Ministry of Natural Resources of the Republic of Belarus (http://rad.org.by/monitoring/air.html). It
is also worth mentioning the system "air Quality of Moscow" (http://mosecom.ru/vozdux/) state environmental
budget institution "Mosecomonitoring"; system "Environmental portal of St. Petersburg"
(http://www.infoeco.ru/index.php?id=53), data published by the Committee on Nature Management, Environmental
Protection and Environmental Safety, Air Quality Monitoring in Mumbai, India [
        <xref ref-type="bibr" rid="ref10">11</xref>
        ]. Most of these examples provide
access only through a web browser or mobile application. Access using standard services (e.g., OGC SOS) is not
available.
      </p>
      <p>
        An example of a custom web application built on the components and API of our Institute's geoportal is shown in
Figure 3. This development is considered as a prototype of the created regional environmental monitoring system
[
        <xref ref-type="bibr" rid="ref11">12</xref>
        ]. The map shows data on particulate matter concentrations (PM2.5) in the atmosphere of Krasnoyarsk, obtained
from various observation systems. The shape of the icons on the map characterizes the belonging to the data source,
and the color reflects the impurity concentration. In addition, the figure shows an example of a graph with Air Quality
Index from the stations of the regional system in the city of Krasnoyarsk in general for the first months of 2019.
      </p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>For operational monitoring and analysis of the environmental situation in Krasnoyarsk, data collection from
different sources was organized into a single system "Operational Monitoring Data" of the Institute of Computational
Modeling SB RAS.</p>
      <p>The developed software for importing observations from various resources allows automatic loading of data,
regardless of how the access to these data is organized. In case of any changes and errors in the import, e-mail
messages are sent, allowing you to quickly make changes to the import program or data on sensors and their
composition. In the future, the possibility of organizing access to observational data in Krasnoyarsk with the help of
the international standard OGC SOS is being considered. Unfortunately, in Russia this standard is not well developed,
the suppliers of monitoring data.</p>
      <p>Kamel Boulos et al. Crowdsourcing, citizen sensing and sensor web technologies for public and environmental
health surveillance and crisis management: trends, OGC standards and application examples // International
Journal of Health Geographics. 2011 10:67.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <given-names>Manuel A.</given-names>
            <surname>Regueiro</surname>
          </string-name>
          ,
          <string-name>
            <surname>José R.R. Viqueira</surname>
            , Christoph Stasch,
            <given-names>José A.</given-names>
          </string-name>
          <string-name>
            <surname>Taboada</surname>
          </string-name>
          .
          <article-title>Semantic mediation of observation datasets through Sensor</article-title>
          Observation Services // Future Generation Computer Systems.
          <year>2017</year>
          .
          <volume>67</volume>
          , pp.
          <fpage>47</fpage>
          -
          <lpage>56</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Azemov D.</surname>
          </string-name>
          Saint-Petersburg air pollution monitoring system // Environment of Saint- Petersburg,
          <year>2016</year>
          .
          <volume>2</volume>
          (
          <issue>2</issue>
          ), pp
          <fpage>8</fpage>
          -
          <lpage>14</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <given-names>Yakubailik O.E.</given-names>
            ,
            <surname>Kadochnikov</surname>
          </string-name>
          <string-name>
            <given-names>A.A.</given-names>
            ,
            <surname>Tokarev</surname>
          </string-name>
          <string-name>
            <surname>A.V.</surname>
          </string-name>
          <article-title>Development of computational technologies and software for assessment of air</article-title>
          pollution in Krasnoyarsk // IOP Conference Series: Earth and
          <string-name>
            <given-names>Environmental</given-names>
            <surname>Science</surname>
          </string-name>
          ,
          <year>2019</year>
          , Vol.
          <volume>211</volume>
          (
          <issue>1</issue>
          ),
          <fpage>012080</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Botts</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Percivall</surname>
            <given-names>G</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reed</surname>
            <given-names>C</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Davidson</surname>
            <given-names>J 2008 OGC</given-names>
          </string-name>
          ®
          <article-title>Sensor Web Enablement: Overview and High Level Architecture</article-title>
          . In: Nittel S,
          <string-name>
            <surname>Labrinidis</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stefanidis</surname>
            <given-names>A</given-names>
          </string-name>
          (eds) GeoSensor Networks //
          <source>GSN 2006. Lecture Notes in Computer Science</source>
          . Vol
          <volume>4540</volume>
          . Springer, Berlin, Heidelberg.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Schmitt</surname>
            <given-names>R.H.</given-names>
          </string-name>
          and Voigtmann C.
          <article-title>Sensor information as a service - component of networked production /</article-title>
          / J. Sens. Sens. Syst.,
          <volume>7</volume>
          ,
          <fpage>389</fpage>
          -
          <lpage>402</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Kotsev</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schade</surname>
            <given-names>S</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Craglia</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gerboles</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Spinelle</surname>
            <given-names>L</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Signorini</surname>
            <given-names>M.</given-names>
          </string-name>
          <article-title>Next Generation Air Quality Platform: Openness and Interoperability for the Internet</article-title>
          of Things // Sensors (Basel, Switzerland) vol.
          <volume>16</volume>
          ,
          <fpage>3</fpage>
          <lpage>403</lpage>
          .
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <year>2018</year>
          .
          <volume>54</volume>
          (
          <issue>3</issue>
          ), pp
          <fpage>243</fpage>
          -
          <lpage>249</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <given-names>Kadochnikov A.A.</given-names>
            ,
            <surname>Tokarev</surname>
          </string-name>
          <string-name>
            <given-names>A.V.</given-names>
            ,
            <surname>Zavoruev</surname>
          </string-name>
          <string-name>
            <given-names>V.V.</given-names>
            ,
            <surname>Yakubailik</surname>
          </string-name>
          <string-name>
            <surname>O.E.</surname>
          </string-name>
          <article-title>Prototype of city environmental monitoring system based on geoportal technologies /</article-title>
          / IOP Conference Series: Materials Science and Engineering,
          <year>2019</year>
          , Vol.
          <volume>537</volume>
          ,
          <fpage>062052</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [10]
          <article-title>Technical Assistance Document for the Reporting of Daily Air Quality - the Air Quality Index</article-title>
          (AQI) // U.S. Environmental Protection Agency.
          <year>2018</year>
          . https://www3.epa.gov/airnow/aqi-technical
          <string-name>
            <surname>-</surname>
          </string-name>
          assistance-documentsept2018.pdf
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Awkash</surname>
            <given-names>Kumar</given-names>
          </string-name>
          , Indrani Gupta, Jørgen Brandt, Rakesh Kumar, Anil Kumar Dikshit &amp;
          <string-name>
            <surname>Rashmi S. Patil</surname>
          </string-name>
          .
          <article-title>Air quality mapping using GIS and economic evaluation of health impact for Mumbai City</article-title>
          , India // Journal of the Air &amp; Waste Management Association,
          <year>2016</year>
          ,
          <volume>66</volume>
          :5, pp
          <fpage>470</fpage>
          -
          <lpage>481</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Yakubailik</surname>
            <given-names>O.E.</given-names>
          </string-name>
          <article-title>The formation of regional spatial data infrastructure /</article-title>
          / Journal of Siberian Federal University. Engineering &amp; Technologies,
          <year>2016</year>
          , Vol.
          <volume>9</volume>
          (
          <issue>7</issue>
          ), pp.
          <fpage>979</fpage>
          -
          <lpage>986</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>