Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread MikeQ
In the Customization Guide (https://www.weewx.com/docs/customizing.htm) it explains the use of skin.conf vs weewx.conf. See Customizing reports | Options | Processing order Here is the recommendation: "Although it is possible to modify the options at any level, as the user of a skin, it is usua

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread Nate Bargmann
* On 2023 02 Jun 18:44 -0500, Michael Bruski wrote: > In reviewing the steps provided by MikeQ above, I see an issue with step > 3. The search_list_extensions under the [[[CheetahGenerator]]] section > should not be modified in weewx.conf but in skin.conf. If you don't find > the search_list_e

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread Michael Bruski
In reviewing the steps provided by MikeQ above, I see an issue with step 3. The search_list_extensions under the [[[CheetahGenerator]]] section should not be modified in weewx.conf but in skin.conf. If you don't find the search_list_extensions line in that section, just add it. The original

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread Nate Bargmann
* On 2023 02 Jun 15:48 -0500, Michael Bruski wrote: > Attached is a diff file for my current changes. Note that this also > disables the request for TAF data as I request that separately using > tafgenerator.py. I've no need to separate the two so I just modified line 101 in the original file a

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread Michael Bruski
Attached is a diff file for my current changes. Note that this also disables the request for TAF data as I request that separately using tafgenerator.py. In Seasons/skin.conf just tack another couple lines at the end for example: [TafReport] [[kbwi]] and append ", user.tafgenerator.MyTafSear

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread Michael Bruski
I actually did the python3 rewrite and provided it to the original author to post on github. I may have changed my local copy sometime later to fix a problem with the URL but can't say for sure. I have about 7 lines in my generator that are commented out. I know I didn't post further updates

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread MikeQ
I'm running the same thing. I don't think you will find anything in debug mode since metargenerator.py seems to be running and it logs to syslog directly. I am not a python programmer, but I think you will need to add some additional "syslog.syslog(syslog.LOG_INFO,..." code to find out ex

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread Nate Bargmann
* On 2023 02 Jun 13:31 -0500, MikeQ wrote: > One more thought - what version of Python are you running? The original > weewx-metar code was written in 2018 for Python2 and was re-written 2 years > ago for Python3. The current version in master on github is the Python3 > version. I am running

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread MikeQ
One more thought - what version of Python are you running? The original weewx-metar code was written in 2018 for Python2 and was re-written 2 years ago for Python3. The current version in master on github is the Python3 version. On Friday, June 2, 2023 at 11:53:20 AM UTC-6 Nate Bargmann wrote

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread Nate Bargmann
* On 2023 02 Jun 12:36 -0500, MikeQ wrote: > Did you test the URL from the box running WeeWX? I'm wondering if you have > a DNS or some other connectivity problem on that box. You could try > running: > > curl > -s > https://www.aviationweather.gov/adds/metars?station_ids=KBIE+&std_trans=tra

Re: [weewx-user] Display METAR Data in Seasons 4.6.2

2023-06-02 Thread MikeQ
Did you test the URL from the box running WeeWX? I'm wondering if you have a DNS or some other connectivity problem on that box. You could try running: curl -s https://www.aviationweather.gov/adds/metars?station_ids=KBIE+&std_trans=translated&chk_metars=on&hoursStr=most+recent+only&chk_tafs=