Live data from Hacker News

`curl wttr.in`: Weather in your terminal

github.com

1–10 of 147 posts

Re: `curl wttr.in`: Weather in your terminal

#4
I have to scroll all they way down to the buttom to find the information source -- WorldWeatherOnline. Does people not care about where their whether data is sourced from?

Living in Japan, I have always been wary of these type of service, since I find a lot of them really inaccurate. And I just checked, Tokyo show 15C on that website, while high resolution current weather information from Japan Metrological Agency show 18C.

Re: `curl wttr.in`: Weather in your terminal

#6

I have to scroll all they way down to the buttom to find the information source -- WorldWeatherOnline. Does people not care about where their whether data is sourced from? Living in Japan, I have always been wary of these type of service, since I find a lot of them really inaccurate. And I just checked, Tokyo show 15C on that website, while high resolution current weather information from Japan Metrological Agency sh…

This is why I like Windy.com. They give you the output directly from the various weather models and you can actually see them all in parallel or just pick whichever one works best for your location.

Re: `curl wttr.in`: Weather in your terminal

#7

If only there's a $PS1 version

That would be cool, but how would you condense the information enough that it's both useful and doesn't take up 2/3 of a line?

Emojis? For the current weather, a single emoji could convey quite a lot; e.g. a snowflake for sub-60 weather (I have a low tolerance for cold), a sun for 60-80, fire emoji for 80+...

Now, I don't know if anyone truly needs the weather in their terminal prompt, but it is doable.

Re: `curl wttr.in`: Weather in your terminal

#8

I have to scroll all they way down to the buttom to find the information source -- WorldWeatherOnline. Does people not care about where their whether data is sourced from? Living in Japan, I have always been wary of these type of service, since I find a lot of them really inaccurate. And I just checked, Tokyo show 15C on that website, while high resolution current weather information from Japan Metrological Agency sh…

I think you are comparing a weather model with the current reading from a weather station.

Re: `curl wttr.in`: Weather in your terminal

#9

If only there's a $PS1 version

That would be cool, but how would you condense the information enough that it's both useful and doesn't take up 2/3 of a line?

It’s provides different formats, I was using this one in the past from Powershell

invoke-restmethod wttr.in/?format=4

…and I think it was quite compact

Re: `curl wttr.in`: Weather in your terminal

#10

I have to scroll all they way down to the buttom to find the information source -- WorldWeatherOnline. Does people not care about where their whether data is sourced from? Living in Japan, I have always been wary of these type of service, since I find a lot of them really inaccurate. And I just checked, Tokyo show 15C on that website, while high resolution current weather information from Japan Metrological Agency sh…

I'll admit I'm just speculating because I don't know much about weather and weather data collection, but is it not possible there's a 3 degree difference between 2 different places of measurement in Tokyo (i.e. both are correct to some degree?)
Post reply on HN