ASCII weather page

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

well, now it loads but the report is pretty off. this morning since 8:30 has been bright sun and it was 60 degrees when I checked my thermometer at 10am. this is what it’s giving:

so, no light or patchy rain and we’re already over the predicted high for the day. this is forgivable if it updates throughout the day, so I’ll be checking. but I get that the page just gets it’s data from the National Weather Service or whatever, it’s not as if the coders hire a team of independent meteorologists. comparatively, intellicast.com seems a bit more accurate right now. accuweather.com seems to say what wttr.com is saying. I used to always use weather.com, but all their pages aside from home all 404 lately.

Then you’re shocked.

Apparently no one bothered to check the HELP display.

Many moons ago I had a script that polled the weather stations around Pinnacles National Monument. The area is a bit of a micro-climate and I could often use the data to augment the Bay Area weather forecast to see if it was worth the drive down to climb or not. We got in several trips where the place was virtually vacant but the rock was dry enough to climb.

1 Like

There is also

http://forecast.weather.gov/MapClick.php?FcstType=text&TextType=2&lat=40.43&lon=-79.98

http://forecast.weather.gov/MapClick.php?FcstType=text&TextType=2&lat=37.77&lon=-122.41

Any latitude and longitude in the U.S. should work.

2 Likes

Indeed. In the cold harsh light of a working bash shell, it seems to be ridiculously limited. :frowning:

I believe someone above said it could be used with airport acronyms. It didn’t work with mine.

It appears to be a hobby project by someone in Norway. And it does work with airport codes - at least, a few codes from Norway. Try GEN or OSL.

1 Like

This topic was automatically closed after 5 days. New replies are no longer allowed.