question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Precipitation from minutely forecast is not stored in Weather

See original GitHub issue

One-call JSON response (for locations that support minutely forecasts) looks like this:

{
  "minutely": [{ "precipitation": 0.443, "dt": 1601552873 }, ...],
  ...
}

All objects in the minutely array are parsed using Weather.from_dict but this ignores the precipitation field.

Possible solution: if precipitation is in the input of Weather.from_dict, set the rain field to { "1m": the_dict['precipitation'] }

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
csparpacommented, Oct 2, 2020

@Tobiaqs 3.1.1 is on PyPi --> you owe me a beer 😉 hope this is helpful!

1reaction
csparpacommented, Oct 1, 2020

Tomorrow, reasonably!

Read more comments on GitHub >

github_iconTop Results From Across the Web

NOAA's National Weather Service - Glossary
Precipitation consisting of numerous minute droplets of water less than 0.5 mm (500 micrometers) in diameter. Drop-size Distribution: The distribution of rain ......
Read more >
ColorfulClouds Lite on the App Store
Super accurate minute-by-minute precipitation forecast within two hours, so you can adjust your travel plans and those of your family in time.
Read more >
This App Predicts the Weather--Down to the Minute
Instead of predicting weather by the day or week, their app would predict rainfall minute by minute-one hour into the future.
Read more >
Pirate Weather
While this API will give minutely forecasts for anywhere in the world, they are calculated using the HRRR-subhourly forecasts, so only accurate to...
Read more >
Frequently Asked Questions
What cookies do not do is store any personal or confidential information ... to provide you with these minute-by-minute precipitation forecasts for where ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found