chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.71k stars 1.11k forks source link

Sydney and Melbourne are missing; Canberra too. #618

Open akumria opened 3 years ago

akumria commented 3 years ago

This is likely unrelated to wttr.in itself but, perhaps, the underlying geocoding service.

But the summary is that Sydney exists in text-mode whereas Melbourne does not. But Melbourne exists in graphics mode but Sydney does not! Canberra seems to follow Melbourne.

➜  ~ date && curl wttr.in/sydney
Thu 26 Aug 2021 14:55:12 AEST
Weather report: sydney

     \  /       Partly cloudy
   _ /"".-.     17 °C
     \_(   ).   ↖ 17 km/h
     /(___(__)  10 km
                0.0 mm
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Thu 26 Aug ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│               Overcast       │    \  /       Partly cloudy  │    \  /       Partly cloudy  │     \   /     Clear          │
│      .--.     +12(10) °C     │  _ /"".-.     +15(13) °C     │  _ /"".-.     +14(12) °C     │      .-.      +14(12) °C     │
│   .-(    ).   ↗ 18-22 km/h   │    \_(   ).   ↑ 16-18 km/h   │    \_(   ).   ↑ 19-30 km/h   │   ― (   ) ―   ↑ 20-29 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%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Fri 27 Aug ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│     \   /     Sunny          │    \  /       Partly cloudy  │     \   /     Clear          │     \   /     Clear          │
│      .-.      13 °C          │  _ /"".-.     16 °C          │      .-.      +14(13) °C     │      .-.      +12(10) °C     │
│   ― (   ) ―   → 9-12 km/h    │    \_(   ).   → 7-9 km/h     │   ― (   ) ―   ↗ 13-25 km/h   │   ― (   ) ―   ↗ 19-31 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%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Sat 28 Aug ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│     \   /     Sunny          │     \   /     Sunny          │     \   /     Clear          │    \  /       Partly cloudy  │
│      .-.      +12(10) °C     │      .-.      +15(14) °C     │      .-.      +13(12) °C     │  _ /"".-.     +14(13) °C     │
│   ― (   ) ―   → 18-22 km/h   │   ― (   ) ―   ↗ 11-17 km/h   │   ― (   ) ―   ↖ 18-31 km/h   │    \_(   ).   ↑ 14-22 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: Sydney, NSW, Australia [-33.8548156,151.2164539]

Follow @igor_chubin for wttr.in updates
➜  ~ date && curl wttr.in/melbourne
Thu 26 Aug 2021 14:55:18 AEST

Follow @igor_chubin for wttr.in updates
➜  ~ date && curl v3.wttr.in/sydney.sxl
Thu 26 Aug 2021 14:55:29 AEST
ERROR: Not found: sydney

Follow @igor_chubin for wttr.in updates
➜  ~ date && curl v3.wttr.in/melbourne.sxl
Thu 26 Aug 2021 14:55:35 AEST

[elided - image returned]

Follow @igor_chubin for wttr.in updates
➜  ~ date && curl wttr.in/canberra
Thu 26 Aug 2021 14:56:02 AEST

Follow @igor_chubin for wttr.in updates
➜  ~ date && curl v3.wttr.in/canberra.sxl
Thu 26 Aug 2021 14:56:09 AEST

[elided - image returned]

Follow @igor_chubin for wttr.in updates
curl --version
curl 7.64.1 (x86_64-apple-darwin20.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.41.0

And using iterm2 3.4.8 with MacOS 11.5.1

emrakyz commented 3 years ago

There has been an outage for few days. Some cities and countries may have problems.

akumria commented 3 years ago

It appears the outage is still on-going. Although it is odd that the outage affects only some cities and not others.

drewauff commented 3 years ago

yup I too cant get anything for Melb. In fact ,I cant get anything for anywhere now.. odd

chubin commented 3 years ago

There were a couple of outages in the last time, but now it works. Please test

drewauff commented 3 years ago

@chubin Works now, thank you 👍🏽

akumria commented 3 years ago

Melbourne and Canberra are working fine now.

Sydney is still problematic.

$ date && curl wttr.in/sydney
Mon 18 Oct 2021 17:17:38 AEDT
Weather report: sydney

      \   /     Sunny
       .-.      +23(25) °C
    ― (   ) ―   ↙ 30 km/h
       `-’      10 km
      /   \     0.0 mm
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Mon 18 Oct ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│     \   /     Sunny          │     \   /     Sunny          │    \  /       Partly cloudy  │     \   /     Clear          │
│      .-.      19 °C          │      .-.      22 °C          │  _ /"".-.     19 °C          │      .-.      18 °C          │
│   ― (   ) ―   ↘ 10-12 km/h   │   ― (   ) ―   ↙ 14-16 km/h   │    \_(   ).   ↙ 9-16 km/h    │   ― (   ) ―   ↓ 12-23 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%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Tue 19 Oct ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│    \  /       Partly cloudy  │               Cloudy         │               Overcast       │      .-.      Patchy light r…│
│  _ /"".-.     18 °C          │      .--.     18 °C          │      .--.     +13(11) °C     │     (   ).    +14(12) °C     │
│    \_(   ).   ↑ 33-38 km/h   │   .-(    ).   ↑ 33-38 km/h   │   .-(    ).   ↑ 33-44 km/h   │    (___(__)   ↑ 24-33 km/h   │
│    /(___(__)  10 km          │  (___.__)__)  10 km          │  (___.__)__)  10 km          │     ‘ ‘ ‘ ‘   9 km           │
│               0.0 mm | 0%    │               0.0 mm | 0%    │               0.0 mm | 0%    │    ‘ ‘ ‘ ‘    0.8 mm | 73%   │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤  Wed 20 Oct ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│  _`/"".-.     Light rain sho…│               Overcast       │               Overcast       │  _`/"".-.     Light rain sho…│
│   ,\_(   ).   +15(12) °C     │      .--.     17 °C          │      .--.     17 °C          │   ,\_(   ).   17 °C          │
│    /(___(__)  ↑ 37-49 km/h   │   .-(    ).   ↑ 36-51 km/h   │   .-(    ).   ↑ 34-51 km/h   │    /(___(__)  ↖ 28-52 km/h   │
│      ‘ ‘ ‘ ‘  10 km          │  (___.__)__)  10 km          │  (___.__)__)  10 km          │      ‘ ‘ ‘ ‘  10 km          │
│     ‘ ‘ ‘ ‘   1.4 mm | 64%   │               0.0 mm | 0%    │               0.0 mm | 0%    │     ‘ ‘ ‘ ‘   1.0 mm | 77%   │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
Location: Sydney, NSW, Australia [-33.8548156,151.2164539]

Follow @igor_chubin for wttr.in updates
$ date && curl v3.wttr.in/sydney.sxl
Mon 18 Oct 2021 17:17:47 AEDT
ERROR: Not found: sydney

Follow @igor_chubin for wttr.in updates
akumria commented 3 years ago

I have never seen sydney.sxl work @chubin - I think it failing is unrelated to any outage

drewauff commented 3 years ago

@akumria just tested, Sydney works fine.. Screen Shot 2021-10-18 at 7 09 02 pm

akumria commented 3 years ago

@drewauff very strange:

Just re-tested, still not working for me.

$ date && curl -v  v3.wttr.in/sydney.sxl
Mon 18 Oct 2021 20:12:36 AEDT
*   Trying 5.9.243.187...
* TCP_NODELAY set
* Connected to v3.wttr.in (5.9.243.187) port 80 (#0)
> GET /sydney.sxl HTTP/1.1
> Host: v3.wttr.in
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.10.3
< Date: Mon, 18 Oct 2021 09:12:38 GMT
< Content-Type: text/plain; charset=utf-8
< Content-Length: 80
< Connection: keep-alive
< Access-Control-Allow-Origin: *
<
ERROR: Not found: sydney

Follow @igor_chubin for wttr.in updates
* Connection #0 to host v3.wttr.in left intact
* Closing connection 0

I wonder which host you get routed to?

chubin commented 3 years ago

I suppose that the problem here that for the v3 (because it was conceived as a region-based reporting service) you should use NSW instead of Sydney. Of course you may see it as a bug, but in this case it is at least clear what is the problem here

akumria commented 3 years ago

@chubin confirmed that using NSW works for me; but it isn't clear, to me, what the problem is.

Why would some people see Sydney working, and others not?

As an analogy, if @drewauff could specify Munich (Sydney) but I had to specify Bavaria (NSW) that would be a bug IMO.

drewauff commented 3 years ago

@akumria fun fact, it worked just the one time I tried it yesterday, after that nope nada..so yeah..a bug? sounds like it.

chubin commented 3 years ago

Why would some people see Sydney working, and others not?

I am not sure that /Sydney works for anybody. From the screenshot above it is not clear, was query was used.

It seems to be a bug indeed; it should work like that: for regions it show regions; for locations, it shows the regions the locations belong to. E.g. http://v3.wttr.in/Riverina

Something is strange with Sydney. v3.wttr.in is highly exprimental anyway, and there are some bugs there