Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenWeatherMap : min/max temp is null in getForecastWeather #27

Open
fabreax opened this issue May 21, 2015 · 3 comments
Open

OpenWeatherMap : min/max temp is null in getForecastWeather #27

fabreax opened this issue May 21, 2015 · 3 comments

Comments

@fabreax
Copy link

fabreax commented May 21, 2015

Hi,
Using OpenWeatherMap, min/max temp is always null.
Is it a known issue ?

@survivingwithandroid
Copy link
Owner

Nope it shouldnt be, try to use a known location (as. Rome, London and so on) and check if the temp is null.
It is not a bug as far as i know. Check if the JSON coming from OWM has the temps.
Let me know

@fabreax
Copy link
Author

fabreax commented May 22, 2015

For instance, in debug mode, this is the url called : http://api.openweathermap.org/data/2.5/forecast/daily?mode=json&lat=48.756406&lon=2.3055477&units=metric&lang=en&APPID=928480875df79d0b28fbd89422ec55e1

We have min/max temperatures in the json result but for each DayForecast, we have a null value for dayForecast.temperature.getMinTemp() (the same form getMaxTemp and getTemp).

Are you able to reproduce it ?

@KlausHans
Copy link

Got the same issue. Also, forecastTemp is not empty, but the values are surprisingly close together.
Here's a screenshot from the retrieved list:
http://s17.postimg.org/f0ynoduin/Screenshot_20160221_012608.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants