If you want to download large quantities of data, we recommend that you use the bulk download service. Downloaded files are compressed as .zip. You can choose to download either the whole dataset, a specific year or a specific month, see more here. Files are updated with new data continuously.
API | Endpoint |
---|---|
Meteorological Observation Data | https://dmigw.govcloud.dk/v2/metObs/bulk/?api-key=<api-key> |
Oceanographic Observation Data | https://dmigw.govcloud.dk/v2/oceanObs/bulk/?api-key=<api-key> |
Lightning data | https://dmigw.govcloud.dk/v2/lightningdata/bulk/?api-key=<api-key> |
Climate Data | https://dmigw.govcloud.dk/v2/climateData/bulk/?api-key=<api-key> |
Radar Data | Documented here |
Forecast Data | Documented here |
Note: These links require separate api-key's to access. If you need an api-key, go here.
Climate Data is further subdivided into sections for each dataset.
Climate Data dataset | Endpoint |
---|---|
stationValue | https://dmigw.govcloud.dk/v2/climateData/bulk/stationValue/?api-key=<api-key> |
countryValue | https://dmigw.govcloud.dk/v2/climateData/bulk/countryValue/?api-key=<api-key> |
municipalityValue | https://dmigw.govcloud.dk/v2/climateData/bulk/municipalityValue/?api-key=<api-key> |
10kmGridValue | https://dmigw.govcloud.dk/v2/climateData/bulk/10kmgridValue/?api-key=<api-key> |
20kmGridValue | https://dmigw.govcloud.dk/v2/climateData/bulk/20kmgridValue/?api-key=<api-key> |
Note: all these links use the same api-key, as they are all containing climate data.
The following types of file downloads are available for each dataset in the Bulk Download Service:
Type | Description | Name pattern | Example |
---|---|---|---|
All | Users of the Bulk Download Service will be able to download all data in a single .zip file. | There is only one file called "all.zip" | all.zip |
Yearly | Users of the Bulk Download Service will be able to download all data for the given year. | yyyy/yyyy.zip | Example: 2019/2019.zip |
Monthly | Users of the Bulk Download Service will be able to download all data for the given month. | yyyy/yyyy-mm.zip | Example: 2020/2020-01.zip |
A note specific to Climate Data: The year and month files mentioned above cover the given year/month in the UTC timezone. A station value that begins (ie. properties.from
) within that time interval will be in the corresponding file. Different station values utilizes different types of day as explained here. This means that some data might not be in the file you expect, because the station value began in a different month/year in the UTC timezone.
¶ Example:
The mean temperature for the day 2017-02-01 on a danish station will begin at "2017-02-01 00:00:00+01:00" ie. danish local time, which in UTC is "2017-01-31 23:00:00+00:00". The date and time in UTC is within 2017-01 rather than 2017-02 and would therefore be in the monthly file 2017-01.zip.
The zip-files contains a file for each day, where the days are UTC days. A given station value is in the day file that it begins within. This means that some data might not be in the file you expect, because the station value began a different day in the UTC timezone, like explained above.
As explained in Time resolutions and types of days, months and years begin at the time when their first day begin.
¶ Example:
To continue the example from above, if you wish to download a file that contains the monthly mean_temp value for 2017-02 for a danish station, you would need to download 2017-01.zip and look within 2017-01-31.txt, because the monthly value begins at "2017-01-31 23:00:00+00:00".
In short: If your data seems to be missing, try looking for it on the previous day file.
The folder for 2020 contains station values for 2021 beginning at "2020-12-31 23:00:00+00:00", because that is where the earliest station values for 2021-01-01 start.
The following video illustrates how to use the download service.
Due to the nature of radar and forecast data, this data is distributed as files and does not have a dedicated download service.
They are accessible through APIs that are STAC-APIs and follow the same structure.
Each type of data is in its own collection - calling the /collections endpoint will show the collections available the service. A list for radar data can be seen here and a list for forecast can be seen here.
To download a file call the /collections/<collectionname>/items?api-key=<api-key> endpoint for a list of items and a link to the file is in the asset property in each feature returned. The picture below illustrates this.
See Radar Data API for information on Radar Data and Forecast Data STAC-API for information on Forecast Data. See Import Data into QGIS to see how a downloaded radar file can be imported into QGIS.