0

Historical API Issue

I am making a call to the history API with the following URL:

https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/weatherdata/history?aggregateHours=24&combinationMethod=aggregate&maxStations=-1&maxDistance=-1&contentType=csv&unitGroup=us&locationMode=single&key=[REMOVED FOR SECURITY]&dataElements=all&locations=Plymouth,IN&startDateTime=2020-11-01T00%3A00%3A00&endDateTime=2020-12-01T00%3A00%3A00&outputDateTimeFormat=yyyy-MM-dd%20HH%3Amm%3Ass

I am getting 2 rows back for 2020-11-01 - one at 00:00:00 and another at 23:00:00

Address,Latitude,Longitude,Name,Resolved Address,Date time,Maximum Temperature,Minimum Temperature,Temperature,Dew Point,Wind Chill,Heat Index,Precipitation,Precipitation Cover,Snow,Snow Depth,Wind Speed,Wind Gust,Wind Direction,Visibility,Cloud Cover,Relative Humidity,Sea Level Pressure,Solar Radiation,Solar Energy,Weather Type,Info,Conditions
"Plymouth,IN",41.3431,-86.3095,"Plymouth, IN, United States","Plymouth, IN, United States","2020-11-01 00:00:00",50.7,35.0,40.7,26.9,24.5,,0.02,8.33,0.0,0.0,23.0,40.9,286.0,9.8,79.6,57.84,1017.7,82.9,3.3,"Drizzle, Heavy Drizzle, Light Snow, Light Drizzle, Light Rain","","Rain, Overcast"
"Plymouth,IN",41.3431,-86.3095,"Plymouth, IN, United States","Plymouth, IN, United States","2020-11-01 23:00:00",48.0,27.1,36.9,19.4,19.5,,0.0,0.0,0.0,0.0,18.5,27.5,251.5,9.9,4.1,52.0,1025.2,310.2,12.3,"","","Clear"
"Plymouth,IN",41.3431,-86.3095,"Plymouth, IN, United States","Plymouth, IN, United States","2020-11-02 23:00:00",66.2,33.4,48.4,30.2,29.1,,0.0,0.0,0.0,0.0,15.2,22.6,224.42,9.9,0.0,51.32,1019.7,303.5,12.0,"","","Clear"

Why are there 2 rows for the same day? Shouldn't there be a single row?

Thanks

1 comment

Please sign in to leave a comment.