Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Below you'll find answers to the questions, we get asked the most about. We will continue updating these based on questions received.




Expand
titleWhy is user creation required for using the webservice?

You need to register as a user for several reasons. DMI wants to be able to contact users in order to give guidance on usage of the API and to inform users of planned service windows, breakdowns or new API versions. DMI would also like to get insight into how data is being used in order to develop new and improved noncommercial services. Please read the Terms of Use for further information.


Expand
titleWhy do I need different API-keys for the different services?

In order to retrieve data from our services you need to subscribe to the service(s) in which you are interested. The api-key is linked to the data type (e.g. metObs) and the specific version of the API.

The reason for this is that DMI wants to be able to contact the users of the different services in order to inform users of planned service windows, breakdowns or new API versions.



Expand
titleWhere do I find my API key?

In order to receive an API key you have to register as a user of DMI's API service. On the page User Creation & Access Management you can read instructions on how to register as well as how to find your API key if you've already registered as a user. 


Expand
titleHow do I use the webservice?

You can access the API specification as well as Request & Response examples and information on data sources by choosing the appropriate data type in the menu on the left side of the screen.


Expand
titleWhere can I report errors?

You can report errors by using the contact form at https://www.dmi.dk/kontakt/frie-data/

If you have questions regarding data from third parties, please contact the authority responsible for the station or the data derived therefrom.

If you are experiencing that the API is out of service please check http://servicekomponenter.govcloud.dk or contact The Agency for Governmental IT Services (SIT - Statens It).

Call SIT: +45 72 31 00 01


Expand
titleWhere do I find the API documentation?

You are able to access the current API documentation by choosing the appropriate data type in the menu on the left side of the screen and then choosing “Service documentation”.


Expand
titleHow may I use data?

You can freely use DMI’s data for any purpose including further processing and distribution. Be aware that you may not make changes to the actual data retrieved from DMI. Please read the Terms of Use for further information.


Expand
titleIs there any limitation to the use of data?

Data retrieved from DMI may not be changed. DMI reserves the right to block or adjust the bandwidth for individual users if these strain DMI’s web services to a disproportionately wide extent.


Expand
titleHow do I delete my user account?

You can at any time contact DMI by using the contact form at https://www.dmi.dk/kontakt/frie-data/ and ask to be deleted as a user resulting in the deactivation of your API key and the deletion of the data registered about you. Out of consideration for traceability in relation to information security, deletion will not cover data registered in the logging of requests to DMI’s web services.


Expand
titleWhat type of data can I get through the webservice?

The following data is available through the current webservices:

DMI's data is released in 6 stages in the period 2020-2023. The remaining data is expected to be released:

2021: Climate data

2021: Radar data

2022: Forecast data


Expand
titleHow often is data updated?

You can see the update frequency by choosing the appropriate data type in the Confluence menu on the left side of the screen and then choosing “Data information” > “Parameters”.

Please note that lightning data does not have a specific update frequency, since the data is updated in real time.


Expand
titleCan I call the webservice from all applications and platforms?

DMI’s API is REST based and thus platform- and language agnostic.


Expand
titleHow do I retrieve large quantities of data?

If you want to download large quantities of historical data, we recommend that you use bulk download service. The service lets you download .zip files, each containing historic data for a month. You are also able to download all historic data by selecting the file all.zip.

You can access the bulk download service by choosing the appropriate data type in the Confluence menu on the left side of the screen and then choosing “Service Documentation” > “Bulk Download Service

The following bulk download services are available:


Expand
titleWhat format does data come in?

DMI’s open data is retrieved in JSON format (”JavaScript Object Notation”). JSON is a compact file format for the exchange of data. JSON is a text format which is platform- and language agnostic and which can be read by humans as well as machines. The JSON format can easily be converted to other file formats such as .csv or .xml. 


Expand
titleAre data available in GIS format?

Data retrieved through the API is only available in JSON format. 


Expand
titleAre data available in CSV/excel?

DMI’s open data is retrieved in JSON format (”JavaScript Object Notation”).

You are able to import the JSON response of an API query directly into newer versions of Excel by clicking the Data tab, then New QueryFrom Other Sources > From Web, then enter your query in the URL text field and press ok. Now click Convert To Table and then click the  symbol. Finally click Close and Load.

The same can be done if you want to import a locally stored JSON file by clicking New Query > From File > From Text and selecting your .JSON file (after choosing "all file types" in the scroll down menu).

From Excel data can easily be saved in .csv format. 

If you want to convert JSON directly into a .csv file several "JSON to CSV converters" can be found online. 



Expand
titleHow am I informed about new versions of the API?

By registering as a user of the DMI API you will automatically receive a notification at the registered email address when a new version of the API is released.


Expand
titleWhat is the uptime of the webservice?

The API services are expected to have an availability around 99.9 %.

Downtime is not expected, but in case of planned downtime it will be announced under Contact, Support & Service Level.


Expand
titleHow long is my API key valid?

Your API key is valid as long as it is in use. If an API key has not been used for the past 12 months it will be deleted automatically. You can always contact DMI by using the contact form at https://www.dmi.dk/kontakt/frie-data/  to have your user information deleted by which you API key will also be deleted.


Expand
titleWhat does it mean that observationsdata are not quality controlled?

Observation data have not been subject to quality control nor processed in any way. Errors in measurements may occur. Errors are typically due to malfunction of instruments caused by wear and tear or exposure to weather and in some cases seawater and on rare occasions from vandalism. Wear and tear of the instruments are handled proactively by performing service checks at the stations on a regular basis and changing the instruments within the given time frame. Due to this, you have to be aware of the risk of faulty measurements when using DMI’s observation data.


Expand
titleWhen will more data be available for download?

DMI's different types of meteorological data is released in 6 stages in the years 2019-2023:

2020: Meteorological observation data

2020: Oceanographic observation data

2020: Lightning data

2021: Climate data

2021: Radar data

2022: Forecast data


Expand
titleCan I download data from third parties through the DMI API?

It is possible to download data from third parties through the DMI API if an agreement exists between the third party and DMI. The owner of the station is marked in the station list of the service.

If you have questions regarding data from third parties, please contact the authority responsible for the station or the data derived therefrom.


Expand
titleWhat if data is missing?

The data retrieved through DMI's Open Data API correlates to the data available to DMI. Sometimes you may experience that some data entries are missing. The root cause of this is typically a malfunctioning measurement instrument, which DMI will repair as soon as possible.


Expand
titleWhat coordinate datum is used for the location of the stations?

The coordinate datum used for the location of the stations is WGS84.


Expand
titleWhat if I have questions about the data

If you have questions regarding data, please contact the authority responsible for the station or the data derived therefrom.

You can see the owner of a station by selecting the appropriate data type in the menu on the left side of the screen and then choosing “data information” > “stations”


Expand
titleAre there any restrictions on the amount of requests I can perform against the APIs?

There is a fair use limit to allow only 500 requests per 5 seconds. If more requests are received a HTTP 429 error is returned. We are continuously monitoring the use of the APIs and will adjust this limit to ensure that all users have fair access. We also recommend to use the bulk download functionality.






...