Child pages
  • FMI data
Skip to end of metadata
Go to start of metadata

Finnish Meteorological Institute (FMI) nowadays provides open access to its data (for description, see http://en.ilmatieteenlaitos.fi/open-data). The implementation is rather technical for an average user, but when you get familiar with the service it is quick and straightforward to get what you want.

As a first step you will need to register to the service to obtain an "API-KEY".

Install FMIdownloader from Software portal or use your browser to download data. For example, Hyytiälä weather observations as daily averages from year 2013 can be obtained with the command:

http://data.fmi.fi/fmi-apikey/INSERT-YOUR-API-KEY-HERE/wfs?request=getFeature&storedquery_id=fmi::observations::weather::daily::timevaluepair&place=hyytiälä&starttime=2013-01-01&endtime=2013-12-31

You just need to insert your personal API-KEY and define the starttime and endtime (note that there is maximum number of records that can be retrieved with one command). After pressing enter, you get what first appears a full mess of cryptic text. Simply save the page as an xml file and then open the file in Excel (preferably 2010 version or above). When Excel prompts for an answer how to open the file, select the option "As an XML table". After a while (Click OK to have Excel create a schema...), you will find a complex-looking table where the variable names, time stamps and actual daily observations, after all, will be neatly listed in the three rightmost columns one below another.

More instructions and examples of commands can be found at FMI open data help pages.

Open xml file with matlab: see Mathworks documentation.

R API for retrieving data

Python script for retrieving data
This script requires installing requests package.

  • No labels