"observation_time" in json is old, while website shows current data

  • 1
  • Problem
  • Updated 12 months ago
The api call for some stations in my app are showing bad data. The api call says updated on May 29th, but the website shows an update a few seconds ago (June 3rd).

http://api.wunderground.com/api/myapikey/conditions/q/pws:KMICOMST9.json

"station_id":"KMICOMST9",
"observation_time":"Last Updated on May 29, 3:06 PM EDT",
"observation_time_rfc822":"Tue, 29 May 2018 15:06:39 -0400",
"observation_epoch":"1527620799",
"local_time_rfc822":"Sun, 03 Jun 2018 08:43:42 -0400",
"local_epoch":"1528029822",

https://www.wunderground.com/personal-weather-station/dashboard?ID=KMICOMST9

Photo of nchiles

nchiles

  • 2 Posts
  • 0 Reply Likes
  • annoyed

Posted 12 months ago

  • 1
Photo of nchiles

nchiles

  • 2 Posts
  • 0 Reply Likes
Now the data seems to line up on this one, but another one I'm using shows "precip_today_in":"", while the website shows .72"...

http://api.wunderground.com/api/myApiKey/conditions/q/pws:KMICOMST7.json

"precip_today_string":" in ( mm)",
"precip_today_metric":"--",
"precip_today_in":"",

https://www.wunderground.com/personal-weather-station/dashboard?ID=KMICOMST7