0

How are the "normals" calculated for the /timeline endpoint? How much historical data does it include?

Hi, how much historical data goes into calculating the "normals" for the /timeline endpoint? Is it a few years, 10 years, 50 years? For instance, if I submit this request:

https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/40.04274,-86.129738/last30days?unitGroup=metric&include=days,stats&key=REDACTED

Here is one of the records in the response:

{

"datetime": "2022-03-06",

"datetimeEpoch": 1646542800,

"tempmax": 7.4,

"tempmin": -1.7,

"temp": 2.8,

"feelslikemax": 0.0,

"feelslikemin": 0.0,

"feelslike": -6.2,

"dew": -3.2,

"humidity": 67.9,

"precip": 0.6,

"precipprob": 0.0,

"precipcover": 0.0,

"preciptype": null,

"snow": null,

"snowdepth": null,

"windgust": 45.0,

"windspeed": 24.8,

"winddir": 204.3,

"pressure": 1021.0,

"cloudcover": 45.4,

"visibility": 14.2,

"solarradiation": null,

"solarenergy": null,

"uvindex": null,

"sunrise": "07:10:07",

"sunriseEpoch": 1646568607,

"sunset": "18:41:58",

"sunsetEpoch": 1646610118,

"moonphase": 0.08,

"conditions": "Partially cloudy",

"description": "",

"icon": "partly-cloudy-day",

"stations": null,

"source": "stats",

"normal": {

"tempmax": [

-3.3,

7.4,

20.1

],

"tempmin": [

-18.4,

-1.7,

14.4

],

"feelslike": [

-19.4,

7.4,

20.1

],

"precip": [

0.0,

0.6,

9.0

],

"humidity": [

42.2,

67.9,

89.3

],

"snowdepth": [

null,

null,

null

],

"windspeed": [

9.0,

24.8,

38.2

],

"windgust": [

27.7,

45.0,

64.8

],

"winddir": [

68.6,

204.3,

323.0

],

"cloudcover": [

0.0,

45.4,

100.0

]

}

}
I'm curious how values such as { "tempmax": [ -3.3, 7.4, 20.1] } get calculated as normal for this particular record.

2 comments

Please sign in to leave a comment.