Contains MetOClient libraries: wfsrequestparser, wfsconnection, splittercache
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc Utilizing domain sharding via wfsConnection Oct 25, 2017
examples Utilizing domain sharding via wfsConnection Oct 25, 2017
lib Legacy browser support fix Apr 9, 2018
src npm version 2.0.6 Apr 9, 2018
test Utilizing domain sharding via wfsConnection Oct 25, 2017
testdeps Version 2.0.0 Sep 5, 2017
.babelrc
.gitignore
Gruntfile.js Version 2.0.0 Sep 5, 2017
LICENCE.md Initial commit Jun 3, 2013
README.md Utilizing domain sharding via wfsConnection Oct 25, 2017
karma.conf.js Version 2.0.0 Sep 5, 2017
package.json Legacy browser support fix Apr 9, 2018
webpack.config.js Minify bundle in accordance to prev versions Sep 5, 2017

README.md

MetOLib

MetOLib provides implementation of API classes that may be used to request weather data from the Web Feature Service (WFS) server of the Finnish Meteorological Institute INSPIRE Atmospheric Features and Geographical Meteorological Features guidelines compatible WFS Download Service server at http://data.fmi.fi.

The response is assumed to the wfs:FeatureCollection with one or more members of PointTimeSeriesObservation or GridSeriesObservation features of namespace http://inspire.ec.europa.eu/schemas/omso/2.0rc3. The WfsRequestParser creates the WFS GetFeature request and parses the XML response into JS response object.

MetOLib folder structure

Root folder contains this README.md and Grunt files that may be used to build different versions of MetOLib.

  • lib contains minified and combined MetOLib files that are provided as content that could be used for release versions. Also, a combined non-minified version is provided here for debugging purposes.
  • doc contains MetOLib documentation files that describe library components and give simple examples:
  • src contains actual MetOClient source files that may be used as a reference and are used to create release content into lib -folder. This repository builds with Webpack; any other bundler that supports ES6 can also be used. Also converting to RequireJS or AMD module syntax is possible.
  • examples contains examples of how to use MetOLib
  • test contains general test files to test lib files
  • testdeps contains thirdparty libraries that are used by MetOClient tests. Jasmine is used for test cases.

Browsers

MetOLib works well with the major browsers.

But notice, Internet Explorer version 8 or greater is required for cross-domain requests to work properly with MetOLib.

Getting started