Changing the source of information (backend)?
See original GitHub issueIβm trying to get minimal, maximal and current temperature for Zagreb. But no matter which way I try to get it, it simply doesnβt make sense. In #491 you say βUse v2.wttr.in for more accuracy.β Currently it is +3C according to the site, but the minimal and maximal temperatures for today are +5C to +15C. The real low for today was
+2C. Iβm not sure which api youβre using but I checked with wego
and here is what those sources state:
backend | min | current | max |
---|---|---|---|
worldweatheronline.com | 7 | 3 | 15 |
darksky.net | 2 | 8 | 11 |
openweathermap.com | 4 | 4 | 10 |
Am I better off just scrapping a local news weather report?
curl 'wttr.in/Zagreb?format=v2'
ββ€ Weather report for: Zagreb ββββββββββββββββββββββββββββββββββββββββββ
β β
β β
β Sun 08 Nov Mon 09 Nov Tue 10 Nov β
β β· β· β
β β
β β
β+15 β’β β β β ’β‘ β
β β’ β β β‘ β’β €β’ β
β β’β β β ’ β‘β β β’ β£β’β£ β
β β‘ β β‘ β‘ β £β‘ β’β β β‘ β
β β‘°β β β’ β β β‘ β’β β β’£ β
ββ‘β β €β‘ β’ β β £β£ β‘ β‘β β β ’β‘ β’β β’ β
ββ‘ β β ’β£β’β‘ β β β β β β ’β£β’β β β β’β‘ β’β β β‘ β
ββ‘ β β β β β €β‘ β‘ β β Έβ‘ β
ββ‘ β β β β β’ β
β+5 β Έβ β
β β
βββββββ΄ββββββΌββββββ΄ββββββββββββ΄ββββββΌββββββ΄ββββββββββββ΄ββββββΌββββββ΄βββββββ
β 6 12 18 6 12 18 6 12 18 β
β β
β β
β β
β β
β β
β β
β β
β β
β β
β β β β β β β β β β β
β β
β
β
β
β
β
β
β
β
β
β
β
β
β
β β β β β β β β β β β β β β β β β β β β β β β β β β
β 3 3 3 2 2 2 2 3 3 2 2 2 2 3 3 3 2 1 1 2 3 4 3 3 β
β β
βπ π π πβ
β βββββββββββ βββββββββββ βββββββββββ β
β β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Weather: π« Fog, +3Β°C, 93%, 0km/h, 1028hPa
Timezone: Europe/Zagreb
Now: 11:09:27+0100 | Dawn: 06:14:27 | Sunrise: 06:46:48
Zenith: 11:39:47 | Sunset: 16:32:18 | Dusk: 17:04:37
Location: Zagreb, Grad Zagreb, Hrvatska
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
How to: Change the Backend - Telerik
The first step is to modify your FluentMetadataSource class, so that it uses the Backend Independent Mapping API for all string, char, decimal...
Read more >Replacing Backend Data Sources at Congressional Quarterly
Replacing a backend data vendor can be one of the most intimidating projects for an established product. On the Congressional Quarterly (CQ)Β ...
Read more >3 Ways You Can Build and Update Websites Using Data Pushes
Instant websites. From a UI/UX design perspective, you're able to build entire websites instantly, simply by replacing the back-end data source.
Read more >Do I need to change source code of my website every time I ...
I have made a blog post website using html, css and JavaScript. But, every time I want to update or post a new...
Read more >How should I inform my client that backend changes after a ...
Just tell them the facts. Hi. Unfortunately, using Firebase isn't a simple change to the project and would involve a significant amount ofΒ ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MasterMedo I agree with you that the backend wttr.in is currently using is pretty inaccurate, and we consider making it configurable (see #523, #526). We already started using OWM in some views (it is used in the v3 view, for example), but the plan is to make the backend configurable. Can you please take a look, does v3.wttr.in seem to be more accurate?
@rawho Rahul, this issue is pretty hard to start from; I suggest you considering one of these ones:
https://github.com/chubin/wttr.in/issues?q=is%3Aissue+is%3Aopen+label%3Aone-line
It is the one-line mode, and it is probably the easiest to start from. Could you please take a look at https://github.com/chubin/wttr.in/blob/master/lib/view/line.py and try to understand the code?
I close this as a duplicate of #523 and #526