Re: Lynx Accessible Weather

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'll have to also try that as I do know our air port code and our
latitude and longitude at least the degrees part, not the minutes
but that would probably get one quite close enough.

	Maybe a little tinkering with perl could make it just
right.

	Before I retired, I worked in Network Operations at
Oklahoma State University for 25 years and dabbled in C as in gcc
before a coworker got me to learning perl.  I now wish I had
spent more time developing in perl since what one comes up with
is faster to produce and tends to have less hidden bugs in it.

	The truth be known, A better C programmer also comes up
with programs that have fewer hidden bugs so I am not blaming
anybody but myself.  Figuring out how to make the machines do
what we want them to do is fun and sometimes, a little
frustrating.

Many thanks.

	Martin
Linux for blind general discussion <blinux-list@xxxxxxxxxx> writes:
> Tim here. While not lynx accessible per se, you can use
> 
>   $ curl http://wttr.in/dallas,tx
> 
> to get a weather report in the terminal.  I have a few small issues
> with it, though the biggest is that it tries to be pretty and ends up
> going beyond 80 columns of text.  But you can change the location to
> any number of things, whether zip-code, city name, or airport code.
> 
> There's more documentation and source at
> 
> https://github.com/chubin/wttr.in
> 
> I'm not sure of its weather source (if it ties to Weather Underground
> or not)
> 
> Alternatively, if you know your latitude and longitude, you can plug
> them in this URL
> 
> https://forecast-v3.weather.gov/point/32.7758,-96.7967?view=plain&mode=min
> 
> (that happens to be Dallas, TX near here) which uses the NWS data.
> You can either bookmark it in lynx or make a function/alias in bash
> to pull up that URL for you quickly.
> 
> Hope those suggestions help,
> 
> -tim

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list



[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]