[arm-allstar] weather ... or not

Steve Agee n5zua at earthlink.net
Wed Sep 7 23:56:36 EST 2016


I especially like the "-nobs" flag. Say, could we get that incorporated 
into other applications as well!

N5ZUA

On 9/7/2016 11:51 PM, David McGough via arm-allstar wrote:
> Hey, that looks pretty good! I believe a solution is on the horizon!
>
>
> On Wed, 7 Sep 2016, Ken wrote:
>
>> This looks pretty good (you need to install html2text)
>>
>> curl
>> "http://forecast.weather.gov/MapClick.php?lat=38.8121&lon=-77.6375&unit=0&lg
>> =english&FcstType=text&TextType=1" | html2text -nobs >> mywx3
>>
>> the URL would be in the config file of course ...
>>
>> 73
>> Ken
>>
>>
>>
>> -----Original Message-----
>> From: David McGough [mailto:kb4fxc at inttek.net]
>> Sent: Wednesday, September 07, 2016 11:32 PM
>> To: Ken <ke2n at cs.com>
>> Cc: 'David McGough via arm-allstar' <arm-allstar at hamvoip.org>
>> Subject: RE: [arm-allstar] weather ... or not
>>
>>
>> Yes, agreed, the original forecasts which were retrieved are history,
>> unfortunately.
>>
>> ...It might be worth asking a local NWS office where they pull their text
>> for TTS from?? That text might be available via the web, from some well
>> hidden away source, somewhere!
>>
>>
>>
>> On Wed, 7 Sep 2016, Ken wrote:
>>
>>> Well - I would say that the "Zone Forecast" that the W0ANM scripts are
>>> designed for has been discontinued.
>>> The Area Forecast Discussion is a different thing altogether - a bit
>>> too verbose.
>>>
>>> But, as you say, the city (or lat/lon) forecast is available in a text
>>> mode
>>>
>>> If I modify the getWxFor to do something like:
>>>
>>> wget
>>> "http://forecast.weather.gov/MapClick.php?lat=38.8121&lon=-77.6375&uni
>>> t=0&lg =english&FcstType=text&TextType=1" -O mywx
>>>
>>> one does get something similar - looks like you have to throw away the
>>> first
>>> 38 lines and the last line, then filter out the  <b> and <br> Prefix
>>> with a header that says the location and then carry on as before.
>>> something to try ...
>>>
>>> 73
>>> Ken
>>>
>>>
>>> -----Original Message-----
>>> From: David McGough [mailto:kb4fxc at inttek.net]
>>> Sent: Wednesday, September 07, 2016 9:59 PM
>>> To: David McGough via arm-allstar <arm-allstar at hamvoip.org>
>>> Cc: Ken <ke2n at cs.com>
>>> Subject: Re: [arm-allstar] weather ... or not
>>>
>>>
>>> Here might be another useful example:
>>>
>>> http://forecast.weather.gov/product.php?site=NWS&issuedby=ILM&product=
>>> AFD&fo rmat=CI&version=1&glossary=1&highlight=off
>>>
>>>
>>>
>>> On Wed, 7 Sep 2016, David McGough via arm-allstar wrote:
>>>
>>>>
>>>> Hi Ken,
>>>>
>>>> I think the text forecast info is still available, but NOAA has
>>>> shuffled everything around and changed the formatting, etc. Some
>>>> discovery work will be required to figure a new strategy out. Here
>>>> is one example of the new forecast summary text:
>>>>
>>>> http://forecast.weather.gov/MapClick.php?lat=34.2124&lon=-77.9113&un
>>>> it
>>>> =0&lg=english&FcstType=text&TextType=1
>>>>
>>>> Ultimately, I expect we'll have an updated solution. The V1.5
>>>> release in testing now includes several new hamvoip specific
>>>> packages, including the
>>>> WX scripts, the flite TTS engine w/arctic voices and a VoiceRSS
>> connector.
>>>> I expect we'll have a Cepstral modules, too.
>>>>
>>>> I'll also mention that I expect V1.5 will get released before the WX
>>>> scripting is completed.  For those users wishing to add WX
>>>> capability, a simple pacman update to install the needed packages will
>> get you going.
>>>> BTW, if someone would like to poke around the NOAA website and
>>>> develop a solution, you're certainly welcome to proceed! Help in
>>>> this area would be appreciated!
>>>>
>>>> 73, David KB4FXC
>>>>
>>>>
>>>>
>>>> On Wed, 7 Sep 2016, Ken via arm-allstar wrote:
>>>>
>>>>> A year ago, when my local NWS office stopped producing podcasts of
>>>>> 5-day forecasts and alerts, I installed the W0ANM scripts and
>>>>> bought a license for Diane's voice from CEPSTRAL to speak the text
>>>>> message forecasts that were still available.  Now NWS have stopped
>>>>> producing
>>> text forecasts.
>>>>> I wonder what other people are doing to get a forecast into their
>>>>> Allstar setup? (alerts and warnings are still available, but not
>>> forecasts).
>>>>>   
>>>>>
>>>>> Thanks
>>>>>
>>>>> Ken
>>>>>
>>>>>   
>>>>>
>>>>>
>>>> _______________________________________________
>>>>
>>>> arm-allstar mailing list
>>>> arm-allstar at hamvoip.org
>>>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>>>
>>>> Visit the BBB and RPi2 web page - http://hamvoip.org
>>>>
>>>
>>>
>>
>>
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2 web page - http://hamvoip.org
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160907/992c1c6e/attachment.html>


More information about the arm-allstar mailing list