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.
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…)
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
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:
Using windows chrome shows Oymyakon and bad graphics. Using elinks (debian in a bitvise ssh terminal) works perfectly.
dude, you broke it
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 (email@example.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)
I bet it was hacker news really
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
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
$ 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
What are the chances of that?!?!?
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.
There is also
Any latitude and longitude in the U.S. should work.
Indeed. In the cold harsh light of a working bash shell, it seems to be ridiculously limited.
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.
This topic was automatically closed after 5 days. New replies are no longer allowed.