Open Data and and INSPIRE
-
Upload
roope-tervo -
Category
Technology
-
view
620 -
download
0
description
Transcript of Open Data and and INSPIRE
Open Meteorological Data with OGC and INSPIRE
INSPIRE 2014 AalborgFinnish Meteorological Institute
Roope Tervo, Mikko Visa, Mikko Rauhala, Tarja Riihisaari
11.04.2023 2
Finnish Meteorological Institute opened its data in 2013.
Basically everything FMI owns was opened.
Data is provided in freely in machine readable format.
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
FMI Open Data
https://en.ilmatieteenlaitos.fi/open-data
11.04.2023 3
FMI Open Data Portal follows INSPIRE requirements.
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
FMI Open Data Portal
Meta data
Data Models
Services
The very same data portal works as Open Data and INSPIRE portal.
11.04.2023 4
Data set Description Time Interval
Estimated publish date
Weather Observations
Temperature, Wind, Humidity, Ground Temperature…
10 min Open,older data to be added
Sun Radiation UV, Short and Long Term Radiation…
1 min Open
Marine Observations
Waves, Sea Temperature, Sea Level…
1 h Open
Weather Radars Precipitation Rate, Precipitation Amount…
5 min Open, older data to be added
Lightning Thunder Strikes in Finland
5 min Open
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Example of Data Sets
11.04.2023 5Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Example of Data Sets
Data set Description Time Interval Estimated publish date
Real Time Observations
Real Time Observations from specific location(s)
AWS 2010 – Soundings 1959 –Flashes 1998 – Sea Level 1971 – Waves 2005 –
Openolder data will be added
Climatological Observations
Dayly and monthly temperature mean and extreme values from weather stations
1959 - Open
Climatological Observations
Monthly temperature and precipitation rate mean values interpolated to grid
1961 - Open
Climatological Reference
Climatological Reference. Temperature, humidity, pressure, precipitation amount and snow depth.
Reference seasons:1971-2000 1981-2010
Open
11.04.2023 6Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Example of Data Sets
Data set Description Time Interval Estimated publish date
Weather forecast model HIRLAM RCR
Point forecasts and grid data
Latest model run(4 times a day) 0…54 h
Open
Sea forecast models Sea level point forecasts, Wave (WAM) and current (HBM) as grid data
Latest model run(4 times a day) 0...54 h
Open
Environmental Monitoring Facilities
Weather observation stations, radars…
2014
Aviation Observations
METAR 30 min 2014
Ground & mast observations
Special observations from ground and masts
2014
11.04.2023 7Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Example of Data Sets
Data set Description Time Interval Estimated publish date
Air Quality Observations
Air Quality Observations 1h 2015-2016
Silam Model Dispersion Model for Air Quality, Forest Fire and Pollen
Latest model run (once a day)0…96h
2014-2015
HELMI Ice Model Ice forecast model Latest model run(4 times a day) 0...54 h
2014
Soundings Temperature, Humidity, Pressure, Wind from ground to 25 km height
2 times a day 2014
11.04.2023 8
Catalog Service (CSW)
o Based on GeoNetwork
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
View Service (WMS)o Based on GeoServero Only the most common layers
published
11.04.2023 9
Download Service (WFS 2.0)
o Web Feature Service (WFS) 2.0 Simple Profile
o Based on stored querieso Predefined data sets with
possibility for additional parameters (i.e. time and area)
o In-house production
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
11.04.2023 10
Data Models
o Observations and point forecasts as GMLo The same data is published in
two different formats.
o Gridded data is provided in appropriate binary format (grib, NetCDF, HDF…)o WFS members contains the
metadata ‘envelope’ with a link to a actual data
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
11.04.2023 11
Data Modelsgmlcov:MultiPointCoverage
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
gml:rangeSetgml:doubleOrNilReasonTupleList
The data is listed for every point defined in domain set.
gml:domainSetgmlcov:simpleMultiPoint
The coverage is defined as a list of
points in 4 dimensional grid (lat,
lon, height, time).
gmlcov:rangeType
The parameters listed in range set
are defined in separate element.
11.04.2023 12
Cons- Not intuitive- No natural
structure of XML XSLT and Xpath don’t work
Pros+ Compact+ Efficient+ Small file size+ Works for many
data types
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Data Modelsgmlcov:MultiPointCoverage
11.04.2023 13
Data Modelswml2:MeasurementTimeseries
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
wml2:MeasurementTimeseries
One member contains time series from one parameter
and one location
11.04.2023 14
Cons- Lots of repetition- Large file size- Heavy for DOM-
based parsers- Don’t work i.e. for
thunder strikes
Pros+ Intuitive+ Easy to use+ XSLT & XPath
works
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Data Modelswml2:MeasurementTimeseries
11.04.2023 15Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Data Models File size Comparison
Simple
Featu
re
Mea
sure
men
tTim
eser
ies
Mult
iPoin
tCov
erag
e0
20
40
60
80
10081.7
52.9
1.81.3 1.2 0.2
Document Size [MB]
Compressed DocumentSize [MB]
o13
8 ob
serv
atio
n st
atio
ns
o11
par
amet
ers
o72
tim
e st
eps
(12
hour
s)
11.04.2023 16Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Data Models Popularity Comparison
0
20
40
60
80
10080
19.8
0.2
Downloads[%]
oBas
ed o
n on
e m
onth
dat
a (0
4/20
14)
oAll d
ata
sets
com
bine
d
11.04.2023 17Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Data Models Popularity Comparison
Forec
ast
Wea
ther
Obs
erva
tions
Radar
Imag
es0
10
20
30
40
50
60 54
37
9
Downloads[%]
o Based on one month data (04/2014)o All data sets combinedo Note that some data is updated more often than others
11.04.2023 18
Please contribute!
https://github.com/fm
idev/
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
MetoLib
o Open source JavaScript library produced by Finnish Meteorological Institute
o Helps users to load and use the data
o Supports multi point coverage data formato Python version is on the list
Easy requests Cache
Parse the data to as JSON
11.04.2023 19Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Registrationo Registration is required to use View and Download
Services o Working email address is the only mandatory
informationo After registration the user gets an API key which have to
be added into all requestso POST field fmi-apikey=…
o GET parameter fmi-apikey=…&
o Header fmi-apikey; …
o Part of url http://wms.fmi.fi/fmi-apikey/…/wms?
o One can create several API keys with one email
11.04.2023 20Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Usage Limits
With one API key it’s allowed too do at most 20 000 requests per day to Download Serviceo do at most 10 000 requests per day to View Serviceo do at most 600 requests per 5 minutes to both services
o If all observations from one time step is calculated to as one, little over 17 000 new data sets are published daily
o So, with one API key it’s allowed load everything onceo View service can be used for testing but can not be used as a
back end for popular clients
11.04.2023 21
And a little over100 000 data downloads
per day (1,2 req/s)
At the moment a little over 5000
registered users
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Some Experiences
11.04.2023 22
Practically no client supports complex features
There’s a gap between provided data model and
clients’ capabilities
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Some Experiences
11.04.2023 23
GeoServer is modified to support stored queries in WFS 2.0 (will be
integrated into the standard package)
FMI is going to open the same data as simple features to
support clients
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Some Experiences
11.04.2023 24
Industry is happy to use standardized
services
Amateur and freelancer coders
would prefer simple JSON API
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Some Experiences
11.04.2023 25
So far maybe even more professional interest than
private
Quite many expected a user
interface to load data to i.e. to Excel
instead of machine readable interface
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
Some Experiences
11.04.2023 26
For now, very few have
been interested in forecast models as a grid data
Point forecasts, observations and
radar images are the most interesting data
types
Some Experiences
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
11.04.2023 27
We just change the class of the API key
We are able to provide the very
same interface for our clients a with
better SLA
Some Experiences
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
11.04.2023 28
Finally we have all the data behind one access point behind standard interfaces and in harmonized
formats
The Open Data project has been a
great boost for ourselves both
technically and for working culture
Some Experiences
Open Meteorological Data with OGC and INSPIRE / Roope Tervo
www.fmi.fi