Table of contents:
If you want to download large quantities of historical climate data, we recommend that you use DMI’s bulk download service. The service lets you download .zip files, containing historical data for either a month or a year at a time going back to 2011 and 2014 for Denmark and Greenland, respectively. You can also download all historical data by selecting the file all.zip.
|Endpoint syntax||Endpoint example with a specific version of the bulk service|
Endpoint for each Data Set
The following types of file downloads are available for each dataset in the Bulk Download Service:
|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.zip||Example: 2019/2019.zip|
|Monthly||Users of the Bulk Download Service will be able to download all data for the given month.||yyyy-mm.zip|
A note on data contained in the files: 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.
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.
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 2010 contains station values for "2010-12-31 23:00:00+00:00", because that is where the earliest station values for 2011-01-01 begins.
The following video illustrates how to use the download service.
- No labels