Well, for many years I have been running a "wx" script which goes through
Wunderground telnet site. Well, I think that site is off the air. This script is
from 2009, but earlier versions I think go much ferther back. Can some1 please
suggest an alternative commandline script for receiving curren
Hi Mr. Hart!
On Wed, 1 Feb 2017 10:24:39 -0800
Larry Hart wrote:
> Well, for many years I have been running a "wx" script which goes through
> Wunderground telnet site. Well, I think that site is off the air. This script
> is from 2009, but earlier versions I think go much ferther back. Can som
You can try
curl wttr.in
which should attempt to find you by IP address and dump the weather
to the terminal. It does some fancy-ANSI stuff to colorize it &
draw boxes, and it wrapped a little on my 80-column display.
You can also customize it:
Airport codes: curl wttr.in/dfw
Cities: curl w
Why not just grab the current page by using curl or wget or similar tools
to your home directory?
The mobile version of underground has all the weather/forcast info on one
page. This makes it ideal for one of the grab tools.
Here is a nearby location to me, near the bottom is a text entry
Thanks, Tim. This is very helpful and news to me. Much appreciated.
The rainmaker host behind the weather command went off line earlier this
week. I've been using that command for several decades, but it's been
down for days, and possibly down forever. I don't know.
Fortunately, braille.wundergro
Well, when it comes to that, the Weather Underground provides an API,
much of which is free to use:
https://www.programmableweb.com/api/weather-underground-wunderground#main-content
Dan D. writes:
>
> Why not just grab the current page by using curl or wget or similar tools to
> your home direct
On February 3, 2017, Janina Sajka wrote:
> Fortunately, braille.wunderground.com is still up. It's not command
> line, though I imagine one could write a script quite readily.
Didn't know about this one. A quick "lynx -dump" alias seems to do
the trick:
alias weather='lynx -dump
"https://bra
bases available from other sources on the local hard drive. On Fri, 3
Feb 2017, Janina Sajka wrote:
Date: Fri, 3 Feb 2017 12:44:34
From: Janina Sajka
Reply-To: Linux for blind general discussion
To: blinux-list@redhat.com
Subject: Re: Are their other Working Weather Scripts?
Thanks, Tim. This is
Tim Chase writes:
> On February 3, 2017, Janina Sajka wrote:
>> Fortunately, braille.wunderground.com is still up. It's not command
>> line, though I imagine one could write a script quite readily.
>
> Didn't know about this one. A quick "lynx -dump" alias seems to do
> the trick:
We have a sc
Thanks Chris: Its funny the instructions, example says "wx" but it only runs by
typing weather.sh. Wonder if you can combine options to get current
temp-and-forecast? I tried some airport codes, but actually zip-codes gave
slightly better results. Thanks so much for this
Hart
_
Larry Hart writes:
> Thanks Chris: Its funny the instructions, example says "wx"
Yeah, save it as wx if you want, or edit the script and change the
instructions. I've usually had it installed as weather.
> Wonder if you can combine options to get current temp-and-forecast?
-f gives you both.
On February 3, 2017, Chris Brannon wrote:
> There's also a moon-phase option
In case you want just this info, the "pom" (phase of moon) tool in the
bsdgames package gives this to you offline:
$ pom
The Moon is Waxing Crescent (47% of Full)
(as run 3 seconds ago).
-tim
___
Subject: Re: Are their other Working Weather Scripts?
Larry Hart writes:
Thanks Chris: Its funny the instructions, example says "wx"
Yeah, save it as wx if you want, or edit the script and change the
instructions. I've usually had it installed as weather.
Wonder if you can
I wonder if there is some way of switching to a National Weather Service
forecast, instead of this one, which reminds me of Accu Weather? Thanks in
advance
Hart
___
Blinux-list mailing list
Blinux-list@redhat.com
https://www.redhat.com/mailman/listinf
I use the lynx -dump approach also with braille underground.
I pipe it using:
| grep -iA 5 $1
Grep returns the search term $1 and the following 5 lines from the lynx
"dump". So using "temperature" it will provide the current temp plus other
relevant current info.
The "5" can be changed to ca
Well Dan, I would sure love to select an NWS forecast instead. Also, I notice in
running a minus n it deops out before finishing record lo for this date. Thanks
in advance
Hart
___
Blinux-list mailing list
Blinux-list@redhat.com
https://www.redhat.com
discussion
Cc: Janina Sajka
Subject: Re: Are their other Working Weather Scripts?
Well Dan, I would sure love to select an NWS forecast instead. Also, I notice
in running a minus n it deops out before finishing record lo for this date.
Thanks in advance
Hart
I did a bit of poking around and could find no nws source that has a text
only format. If you have one and the format has headers with info
following on lines after it the same script would work for it.
In the pipe using grep with lynx -dump, the number following the -iA
determines how many
18 matches
Mail list logo