Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Unsubscribed User
14,189 PointsIs anyone else getting horrible data from forecast.io?
This really doesn't have anything to do with the code in this course, but I'm just curious if anyone else gets horrible data from forecast.io? I live in Guatemala at the moment, and it doesn't matter if it's sunny clear skies, pouring rain, etc... it always says it's raining. I know, it sounds like a error in my code, but it isn't. I've debugged, run the program in several locations, and it all checks out. The forecast from forecast.io says rain... rain... rain... rain... rain. Am I the only one?
1 Answer
Harry James
14,780 PointsHey Wilson!
I've took a look into this for you and it seems it is indeed Forecast. Typically, Forecast is very accurate (and over here in the UK works pretty well for me, it's what I use as my main weather source) as it combines multiple sources and then finds an average to determine its results.
You can see the raw data for your location here. Under precipIntensity it does look as though it rains often in your area - in fact on forecast.io's graphical site it shows that every day in the next 7 days is going to rain, like you specified above.
Unfortunately, there's not much you can do about this apart from use another API to get your weather from instead. Hopefully this will help explain why you are getting these results though!
Unsubscribed User
14,189 PointsUnsubscribed User
14,189 PointsThanks Harry! It may be that there isn't a lot of raw data collected here from available radar, and therefore the forecasts are not as accurate as in the UK or US (where we all know that a ton of data is collected from hundreds of radar throughout the day). It will probably be a matter of beta testing the app with people in the States to make sure it's somewhat accurate enough.