Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Rainfall in Current Weather Calls

Michael Neumann Jan 10, 2017 05:24PM UTC

I am attempting to call current weather data for one location (https://openweathermap.org/current) for use with integration with Google Adwords. The main value I am concerned with is the last 3 hours of rain but it isn't being return with my call (http://api.openweathermap.org/data/2.5/weather?APPID=[redacted]&q=Eureka,us] even if the API current reports rainfall (meaning that should be some data to report).
I can get the rainfall if I use the forecast call (http://api.openweathermap.org/data/2.5/forecast?APPID=[redacted]&q=Eureka,us) but that causes errors elsewhere.
Has the last 3hr rainfall total been removed from the Current Weather call API?

Up 1 rated Down
Maxim Gushcho Jan 11, 2017 12:38PM UTC OpenWeatherMap Agent

Hello,

No, the rain value is reported by current weather API.
Please note next:
If you do not see some of the parameters in your API respond it means that these weather phenomena are just not happened for the time of measurement for the city or location chosen. Only really measured or calculated data is displayed in API respond.
It is also possible that the precipitation is not enough strong and indicators do not measure it.

Up 0 rated Down
Michael Neumann Jan 11, 2017 02:59PM UTC
That doesn't seem correct as I can query several locations, all of which are experiencing significant rainfall and none of them will return the rain value. Can you provide me a link that returns a rainfall amount. Surely, somewhere in the world has had measurable rainfall in the last 3 hours.
Up 0 rated Down
Maxim Gushcho Jan 11, 2017 03:17PM UTC OpenWeatherMap Agent

Please check out this link:

http://api.openweathermap.org/data/2.5/weather?q=Bergen&APPID={your api key}

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
9eda11838f597e7a95b6a1c991dcae0a@openweathermap.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete