Giter Club home page Giter Club logo

Comments (5)

vitusson avatar vitusson commented on June 12, 2024

curl wttr.in/Halle,Germany?1
Weather report: Halle,Germany

  \   /     Sunny
   .-.      20 °C          
― (   ) ―   ← 22 km/h      
   `-’      10 km          
  /   \     0.0 mm         
                                                   ┌─────────────┐                                                       

┌──────────────────────────────┬───────────────────────┤ Wed 01 May ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ \ / Sunny │ \ / Sunny │ \ / Sunny │ \ / Clear │
│ .-. 19 °C │ .-. 22 °C │ .-. 19 °C │ .-. 16 °C │
│ ― ( ) ― ← 26-32 km/h │ ― ( ) ― ← 27-32 km/h │ ― ( ) ― ← 29-49 km/h │ ― ( ) ― ← 23-40 km/h │
-’ 10 km │ -’ 10 km │ -’ 10 km │ -’ 10 km │
│ / \ 0.0 mm | 0% │ / \ 0.0 mm | 0% │ / \ 0.0 mm | 0% │ / \ 0.0 mm | 0% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
Location: Halle (Saale), Sachsen-Anhalt, 06108, Deutschland [51.4825041,11.9705452]

from wttr.in.

mschaaf avatar mschaaf commented on June 12, 2024

curl https://wttr.in/ from a Wi-Fi connection of a local ISP provider in Halle (Saale) returns the weather of Halle (Westfalen) instead of Halle (Saale). The same happens by opening https://wttr.in/ in a browser. My expectation is that the location chosen is Halle (Saale) as I am currently using a Wi-Fi connection inside the town. wttr.in seems to know the name of the town I am in but does pick the wrong one with the same name.

from wttr.in.

vitusson avatar vitusson commented on June 12, 2024

Then the geoiplookup database is wrong, nothing wtrr.in can do about. No wonder if there are like a dozen Halles here in Germany.
Just use the right URl and everything is fine…

from wttr.in.

mschaaf avatar mschaaf commented on June 12, 2024

ip2location returns the correct town, state and country and also the correct geo coordinates for my ip.

from wttr.in.

mschaaf avatar mschaaf commented on June 12, 2024

wttr.in does not use the region for Germany. See code in

# In United States region is important, because there are a lot of

from wttr.in.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.