wttr.in icon indicating copy to clipboard operation
wttr.in copied to clipboard

Temeperature for the same location is not consistent across the APIs.

Open shreewatsa opened this issue 2 years ago • 5 comments

When I do https://wttr.in/Kathmandu : the temperature output is +27(30)C . But, at the same time if I do https://wttr.in/kathmandu?format=3 : the output is +23C .

image image

I have just tested with the temperature and have not checked other output values.

shreewatsa avatar Jul 18 '22 05:07 shreewatsa

This problem is occurring for some of the regions, I have been trying many of the regions but some have the same data across different APIs but some doesn't.

adityastomar67 avatar Aug 04 '22 11:08 adityastomar67

I'm experiencing the same issue with various german cities.

toksikk avatar Aug 09 '22 20:08 toksikk

Same issue here. https://wttr.in/Swansea shows 24(25) degrees C, but https://wttr.in/Swansea?format=j2 which my script uses shows 22 degrees, and an observation time from much earlier in the day. Is this a caching issue?

SupraJames avatar Aug 11 '22 10:08 SupraJames

same here

curl https://wttr.in
Weather report: Marche-en-Famenne, Belgium

   _`/"".-.     Patchy light rain with thunder
    ,\_(   ).   16 °C          
     /(___(__)  ← 10 km/h      
      ⚡‘‘⚡‘‘  10 km          
      ‘ ‘ ‘ ‘   1.1 mm   

curl https://wttr.in/?format=3
Marche-en-Famenne, Belgium: ⛅️  +20°C

deladriere avatar Aug 31 '22 19:08 deladriere

Even better: Right now querying https://wttr.in/Toruń?format=3 shows 13°C in the browser, but 18°C in the terminal with curl

GOKOP avatar Sep 08 '22 22:09 GOKOP

One of the reasons for that could be caching. See for example #705.

To check this conjecture, add &nonce=$RANDOM to your query, to bypass our caching layer.

chubin avatar Oct 23 '22 19:10 chubin

One of the reasons for that could be caching. See for example #705.

To check this conjecture, add &nonce=$RANDOM to your query, to bypass our caching layer.

I checked Heidelberg and bypassing the cache like this does indeed help.

toksikk avatar Oct 23 '22 21:10 toksikk