ASCII weather page

[Read the post]

5 Likes

It doesn’t find my location on Mac Safari, and there’s no way to manually set it.

You can also run the following command in a shell environment (bash, powershell, etc.):

finger [city]@graph.no

(replace [city] with the name of your city)
That’ll give you “true” ascii weather.

11 Likes

I don’t think it has anything to do with Safari, as such (It works for me, as does Chrome, my usual browser). Are you using a proxy or similar method of hiding/spoofing your location? Does it work on other browsers? It is just getting the info from your IP address.

Updated the story! Thanks

5 Likes

Do you have location services enabled? (Safari preferences)

So the next question is, what do you do if your city is has a name used in multiple locations?

1 Like

I’d be shocked if there wasn’t a way to feed it latitude and longitude but I’m on my phone so I can’t look into it very effectively right now.

1 Like

Yeah, I looked around a bit myself but couldn’t find any info for doing this. Not a problem for me at the moment, but I got curious because I have lived in a city where it could be an issue (one time I almost ended up on a bus headed to the wrong state entirely because of it, but that’s a whole 'nother story…)

1 Like

It seems strange to tout ASCII as retro when the National Weather Service has only just decided to stop using the all caps TTY character set. http://www.noaa.gov/national-weather-service-will-stop-using-all-caps-its-forecasts

3 Likes

That is most certainly not a legitimate ASCII weather page, as there is no set of eight directional arrows in the ASCII set. Call it a Unicode weather page, please.

You can learn more than you ever wanted to know about ASCII and ITA2 and FIELDATA on Tom Jennings’ lovely (not) website:
http://worldpowersystems.com/J/codes/

2 Likes

Using windows chrome shows Oymyakon and bad graphics. Using elinks (debian in a bitvise ssh terminal) works perfectly.

@beschizza
dude, you broke it

7 Likes

If you click on the button at the bottom with the star and wttr.in in it, it will take you to the github page which has some instructions.

Basically, it looks like you can put in a place name (wttr.in/Toronto) or airport code (wttr.in/yyz) or an ipaddress/url (wttr.in/@github.com.) You can also try wttr.in/:help for help. I can’t test it 'cause the page is down at the moment…

(The github page is here: https://github.com/chubin/wttr.in)

3 Likes

I bet it was hacker news really

2 Likes

Yeah, it thinks “sanfrancisco” means the one in Argentina…

If you finger them with a non-existing city you get some more details about the possible requests you can do, but there doesn’t seem to be a way to send a country-code as well as a city.

$ curl http://weather.noaa.gov/pub/data/observations/metar/decoded/KPIT.TXT
GREATER PITTSBURGH INTERNATIONAL , PA, United States (KPIT) 40-29N 80-14W 357M
Apr 15, 2016 - 04:51 AM EDT / 2016.04.15 0851 UTC
Wind: Calm:0
Visibility: 10 mile(s):0
Sky conditions: clear
Temperature: 46.9 F (8.3 C)
Dew Point: 28.0 F (-2.2 C)
Relative Humidity: 47%
Pressure (altimeter): 30.24 in. Hg (1024 hPa)
Pressure tendency: 0.00 inches (0.1 hPa) lower than three hours ago
ob: KPIT 150851Z 00000KT 10SM CLR 08/M02 A3024 RMK AO2 SLP246 T00831022 55001
cycle: 9

1 Like

$ curl http://weather.noaa.gov/pub/data/observations/metar/decoded/KSFO.TXT
SAN FRANCISCO INTERNATIONAL AIRPORT , CA, United States (KSFO) 37-37N 122-22W 26M
Apr 15, 2016 - 04:56 AM EDT / 2016.04.15 0856 UTC
Wind: from the WNW (290 degrees) at 16 MPH (14 KT):0
Visibility: 10 mile(s):0
Sky conditions: mostly clear
Temperature: 52.0 F (11.1 C)
Dew Point: 48.0 F (8.9 C)
Relative Humidity: 86%
Pressure (altimeter): 30.15 in. Hg (1020 hPa)
Pressure tendency: 0.00 inches (0.1 hPa) higher than three hours ago
ob: KSFO 150856Z 29014KT 10SM FEW180 11/09 A3015 RMK AO2 SLP208 T01110089 50001
cycle: 9

1 Like

What are the chances of that?!?!?

3 Likes