Are their other Working Weather Scripts?

2017-02-01 Thread Larry Hart
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

Re: Are their other Working Weather Scripts?

2017-02-02 Thread Shlomi Fish
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

Re: Are their other Working Weather Scripts?

2017-02-02 Thread Tim Chase
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

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Dan D.
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

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Janina Sajka
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

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Janina Sajka
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

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Tim Chase
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

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Jude DaShiell
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

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Chris Brannon
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

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Larry Hart
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 _

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Chris Brannon
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.

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Tim Chase
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 ___

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Jude DaShiell
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

Re: Are their other Working Weather Scripts?

2017-02-03 Thread Larry Hart
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

Re: Are their other Working Weather Scripts?

2017-02-04 Thread Dan D.
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

Re: Are their other Working Weather Scripts?

2017-02-04 Thread Larry Hart
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

Re: Are their other Working Weather Scripts?

2017-02-04 Thread Jude DaShiell
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

Re: Are their other Working Weather Scripts?

2017-02-05 Thread Dan D.
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