I don’t mind adding it; but have you tried specifying the URL in weewx.conf:

lid=XXXXXX
foid=XXX
url = http://forecast.weather.gov/product.php?site=NWS&product=AFM&format=txt

If you only changed PFM to AFM, the above should work.

Let me know.

Cheers,
John

> On Sep 26, 2020, at 4:40 PM, Michael Bruski <[email protected]> wrote:
> 
> Hi John,
>  
> I'm trying to run my remote on a RPi4B near Galena, MD 21635.   The MDZ012 
> LID covers Kent county, MD where Galena is located.
> 
> I'm running WeeWX v4.1.1 and weewx-forecast-3.4.0b10.zip (after discovering 
> that 3.4.0B1 wouldn't work).
> 
> As a work around, I tweaked the default URLs for NWS in 
> /usr/share/weewx/user/forecast.py to substitute 'AFM' for 'PFM' to get the 
> Area Forecast Matrix and that is working fine.  My LID is found
> and I get the local forecast I'm looking for.   However, I may do a couple 
> more deploys and it would be nice to have the ability to make this selection 
> via the weewx.conf file instead of tweaking the source code.
> 
> I'm considering doing the same for my home location in Carroll county MD 
> because I sometimes see some not so insignificant differences between the 
> MDZ005 Area Forecast Matrix and the MDZ013 Point Forecast Matrix possibly due 
> to 850 ft difference in elevation.  In Maryland it seems the Area Forecast 
> Matrix provides a better granularity (and better forecast) than the Point 
> Forecast Matrix which has fewer locations and covers larger areas.
> 
> Mike/AJ9X
> 
> On Saturday, September 26, 2020 at 5:48:36 PM UTC-4 [email protected] wrote:
>> What town are you in?  Zip code?
>> 
>> From where did you get the forecast extension?
>> 
>> What version of WeeWX are you running?
>> 
>>> On Sep 26, 2020, at 8:34 AM, Michael Bruski <[email protected]> wrote:
>>> 
>> 
>>> I'm a newbie to weewx and have recently added the forecast extension to two 
>>> weewx systems I am operating at two different locations.   The initial 
>>> setup and test was done at my home location.   I changed the LID/FOID for 
>>> location 2 after deploying it.  While checking the syslog for the remote 
>>> system, I found the following messages from the forecast extension:
>>> 
>>> Sep 26 11:10:18 wstn weewx[18561] INFO user.forecast: NWSThread: NWS: 
>>> downloading forecast from 
>>> 'http://forecast.weather.gov/product.php?site=NWS&product=PFM&format=txt&issuedby=PHI'
>>> Sep 26 11:11:58 wstn weewx[18561] ERROR user.forecast: NWSThread: NWS: no 
>>> PFM found for MDZ012 in forecast from PHI 
>>> 
>>> I did some checking through the NWS EMWIN messages on GOES16 to see what 
>>> was what and see that MDZ012 is not included in the Holy Springs PFM, but, 
>>> it is provided in the AFM.  Would it be possible to add a key/tag to 
>>> weewx.conf to specify the product where my LID can be found or maybe change 
>>> user.forecast to check both PFM/AFM products for the specified LID?
>>> 
>>> Thanks for this great extension and weewx!
>>> 
>>> Mike/AJ9X
>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/b6b535da-6144-4a81-8a20-a2ac930e68adn%40googlegroups.com.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/24573746-8249-4f99-8d31-b53ac909d784n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0F4DD4F4-0F99-40F2-83D2-46412C23E385%40johnkline.com.

Reply via email to