chubin / wttr.in

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

current temperature wrong #819

Open scarlion1 opened 1 year ago

scarlion1 commented 1 year ago

I simply have been using curl wttr.in/?0q for some time but today I notice the current temperature is way off. e.g. openweathermap says temperature is 60-61 F, but these are the results from wttr.in:

$ curl wttr.in
Weather report: Tucson, Arizona, United States
      \   /     Sunny
       .-.      24(17) °F      
    ― (   ) ―   ↓ 2 mph        
       `-’      9 mi           
      /   \     0.0 in         

$ curl wttr.in/TUS
      \   /     Sunny
       .-.      +35(28) °F     
    ― (   ) ―   ↑ 8 mph        
       `-’      9 mi           
      /   \     0.0 in 
Location: Tucson International Airport, South Country Club Road, Pima County, Arizona, 85706, United States [32.11237945,-110.93938747808727]

$ curl wttr.in/85745
      \   /     Sunny
       .-.      +44(39) °F     
    ― (   ) ―   ← 2 mph        
       `-’      5 mi           
      /   \     0.0 in  
Location: Barrio Hollywood, Tucson, Pima County, Arizona, 85745, United States [32.23527774255843,-110.99490192844345]

In fact it was still saying sunny in the middle of the night earlier, so not sure what happened. i only showed the current conditions but the forecast seems correct with the temps in the 60's e.g.:

$ curl wttr.in
Weather report: Tucson, Arizona, United States

      \   /     Sunny
       .-.      24(17) °F      
    ― (   ) ―   ↓ 2 mph        
       `-’      9 mi           
      /   \     0.0 in         
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤  Sun 04 Dec ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│               Overcast       │               Overcast       │               Overcast       │               Overcast       │
│      .--.     55 °F          │      .--.     64 °F          │      .--.     62 °F          │      .--.     60 °F          │
│   .-(    ).   ↖ 1 mph        │   .-(    ).   ↖ 6-7 mph      │   .-(    ).   ← 1-3 mph      │   .-(    ).   ← 0-1 mph      │
│  (___.__)__)  4 mi           │  (___.__)__)  3 mi           │  (___.__)__)  4 mi           │  (___.__)__)  6 mi           │
│               0.0 in | 0%    │               0.0 in | 0%    │               0.0 in | 0%    │               0.0 in | 0%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤  Mon 05 Dec ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│               Mist           │               Overcast       │     \   /     Clear          │    \  /       Partly cloudy  │
│  _ - _ - _ -  57 °F          │      .--.     60 °F          │      .-.      59 °F          │  _ /"".-.     +55(57) °F     │
│   _ - _ - _   ↑ 2-3 mph      │   .-(    ).   ↗ 4 mph        │   ― (   ) ―   → 8-11 mph     │    \_(   ).   → 3-7 mph      │
│  _ - _ - _ -  6 mi           │  (___.__)__)  5 mi           │      `-’      6 mi           │    /(___(__)  6 mi           │
│               0.0 in | 0%    │               0.0 in | 0%    │     /   \     0.0 in | 0%    │               0.0 in | 0%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤  Tue 06 Dec ├───────────────────────┬──────────────────────────────┐
│            Morning           │             Noon      └──────┬──────┘     Evening           │             Night            │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│               Cloudy         │     \   /     Sunny          │     \   /     Clear          │    \  /       Partly cloudy  │
│      .--.     +44(39) °F     │      .-.      57 °F          │      .-.      +55(53) °F     │  _ /"".-.     51 °F          │
│   .-(    ).   ↖ 3-4 mph      │   ― (   ) ―   ↑ 9-10 mph     │   ― (   ) ―   ↗ 12-14 mph    │    \_(   ).   ↗ 6-10 mph     │
│  (___.__)__)  6 mi           │      `-’      6 mi           │      `-’      6 mi           │    /(___(__)  6 mi           │
│               0.0 in | 0%    │     /   \     0.0 in | 0%    │     /   \     0.0 in | 0%    │               0.0 in | 0%    │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘

Follow @igor_chubin for wttr.in updates
scarlion1 commented 1 year ago

seems to be back to normal now

simurgh9 commented 1 year ago

I had the same sunny issue. It is saying "sunny" past sunset.

scarlion1 commented 1 year ago

Seems like it could be an issue with the Wttr.in server's cache being old/outdated and not renewing? I read in another issue that they cache results for 1 hour but maybe something's gotten corrupted and the cache is many hours old...

I haven't been able to get any results today due to "running out of queries". Seems to be only for the Sun data (dawn, dusk, sunrise, sunset, zenith) since I can get results if I leave those datapoints out of my query...

dzmitry-kankalovich commented 1 year ago

I suspect it's all the same issue as here https://github.com/chubin/wttr.in/issues/854