Annual Rainfall

Log in to Vote
2
2 Votes • 8 Comments
Get the annual rainfall amount in millimeters or centimeters for a given region.

https://duckduckgo.com/?q=scotland+annua...

https://duckduckgo.com/?q=regina+saskatc...
Source:
Some Wikipedia entries for places have annual rainfall.
• posted 4 years and 6 months ago • type: Spice (API calls) Live

anonymous
The WoldBank offers a Climate Data API which contains the Precipitation (rainfall and assumed water equivalent), in millimeters.

Example Ireland:
posted by <hidden> • 4 years and 6 months ago Link
Moollaza
This idea sounds pretty awesome and that API looks like it'll definitely work. All we need is a developer to tackle this :)
posted by Moollaza Staff4 years and 6 months ago Link
anonymous
I've started work on this Spice https://github.com/chrisjwilsoncom/zeroc...

Please let me know if there's any issues as this is my first attempt at a DDG Spice.

The major issue I see is the API only offers "model" data based between certain periods of time. Meaning it doesn't offer data between 2009-2013, even though this is displayed here: http://data.worldbank.org/indicator/AG.L...

Anyway, maybe there's another API that can offer similar functionality.

Example:
[https://i.imgur.com/ZUocmvV.png]
posted by <hidden> • 4 years and 6 months ago Link
Moollaza
Awesome! Glad to see you're working on it. Feel free to make a pull request once its ready and we'll be sure to give you some feedback.

Regardign the API's data I did not realize the data was provided for ranges of years. After a quick check I found this other API: http://www.ncdc.noaa.gov/cdo-web/webserv... -- I'm not sure if it's usable though, the docs seem a little hard to understand. I'm not sure if it provides Global data or if its just focused on the US.
posted by Moollaza Staff4 years and 6 months ago Link
anonymous
Hi Moollaza,

Sadly the ncdc.noaa.gov API is US only.

I've worked out that the worldbank.org API can be used using a different endpoint

http://api.worldbank.org/countries/NZL/i...

This provides the most recent data (2012) which is updated every 5 years.

The parts I'd like feedback/brainstorming on are a list of acceptable triggers and the content template.

https://i.imgur.com/EJaWcf3.png

Thanks! Enjoy your weekend.
posted by <hidden> • 4 years and 6 months ago Link
Moollaza
Hey @chrisjwilson,

Glad to hear you figured out that API! It sounds like you're far enough along to make a Pull Request on GitHub. It'll be a littler easier to discuss the trigger, design etc on GitHub. Even if the IA isn't 100% complete it's no problem, just be sure to mention what feedback you're looking for in the Pull Request comment and myself or someone else from the team/community will be able to help you out.

See you on GitHub!
posted by Moollaza Staff4 years and 6 months ago Link
anonymous
Hi MyUser!

This instant answer is live!

https://duckduckgo.com/?q=rainfall+boliv...

Thanks for the great idea :)
posted by <hidden> • 4 years and 5 months ago Link
MyUser
Thanks!
posted by MyUser 4 years and 5 months ago Link