Re: [weewx-user] yearwindvec calculation problem

2021-01-23 Thread jerry...@gmail.com
Solved.  After rebuilding daily, yearwindvec scale is back to normal.
Thanks, Tom.

On Friday, January 22, 2021 at 6:29:20 PM UTC-8 jerry...@gmail.com wrote:

> Tried running rebuild a second time.  Finished in 1 second and reported it 
> was done.
>
> └─[$] <> sudo ../bin/wee_database --rebuild-daily
> Password:
> Using configuration file /Users//weewx/weewx.conf
> Using database binding 'wx_binding', which is bound to database 
> 'archive_sqlite'
> All daily summaries will be rebuilt.
> Proceed (y/n)? y
> Rebuilding daily summaries in database 'weewx.sdb' ...
> Daily summaries up to date in 'weewx.sdb'
>
> I'll let it run overnight again and see what happens.
>
> On Friday, January 22, 2021 at 5:56:48 PM UTC-8 jerry...@gmail.com wrote:
>
>> Would you recommend trying to run repair first?
>>
>> On Friday, January 22, 2021 at 5:54:51 PM UTC-8 tke...@gmail.com wrote:
>>
>>> Can you try it again?
>>>
>>> I have to confess, I've never tried this under MacOS. 
>>>
>>> On Fri, Jan 22, 2021 at 5:51 PM jerry...@gmail.com  
>>> wrote:
>>>
 mmm.  --drop-daily ran successfully, but --rebuild-daily ran for 10 min 
 or so, then hung on 2020-12-02
 ┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
 └─[$] <> sudo ../bin/wee_database --drop-daily
 Using configuration file /Users//weewx/weewx.conf
 Using database binding 'wx_binding', which is bound to database 
 'archive_sqlite'
 Proceeding will delete all your daily summaries from database 
 'weewx.sdb'
 Are you sure you want to proceed (y/n)? y
 Dropping daily summary tables from 'weewx.sdb' ... 
 Daily summary tables dropped from database 'weewx.sdb' in 1.43 seconds
 ┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
 └─[$] <> sudo ../bin/wee_database --rebuild-daily
 Using configuration file /Users//weewx/weewx.conf
 Using database binding 'wx_binding', which is bound to database 
 'archive_sqlite'
 All daily summaries will be rebuilt.
 Proceed (y/n)? y
 Rebuilding daily summaries in database 'weewx.sdb' ...
 Records processed: 883000; time: 2020-12-02 07:05:00 PST (1606921500)


 On Friday, January 22, 2021 at 4:21:48 PM UTC-8 tke...@gmail.com wrote:

> Thanks.
>
> On Fri, Jan 22, 2021 at 4:04 PM jerry...@gmail.com  
> wrote:
>
>> I upgraded from v4.2 and installed v4.3b(final beta) on Jan 2, then 
>> upgraded to the v4.3 release on Jan 4
>>
>> On Friday, January 22, 2021 at 3:34:09 PM UTC-8 tke...@gmail.com 
>> wrote:
>>
>>> Jerry, two other questions: 
>>>
>>> 1. What version of WeeWX did you use before moving to V4.3?
>>> 2. When did you do the upgrade?
>>>
>>> On Fri, Jan 22, 2021 at 3:24 PM Tom Keffer  wrote:
>>>
 I see the problem, but I'm not quite sure what caused it. I'll have 
 to do some experimentation.

 In the meantime, you can fix things by rebuilding the daily 
 summaries.

 *sudo wee_database --drop-daily*
 *sudo wee_database --rebuild-daily*



 On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com <
 jerry...@gmail.com> wrote:

> python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's 
> sql dump
> └─[$] <> sqlite3 weewx.sdb
> SQLite version 3.32.3 2020-06-18 14:16:19
> Enter ".help" for usage hints.
> sqlite> select dateTime, 
> datetime(dateTime,'unixepoch','localtime'), xsum, ysum, dirsumtime 
> from 
> archive_day_wind where dateTime>1606780800;
> 1606809600|2020-12-01 
> 00:00:00|-130203.553519314|151249.611011778|288
> 1606896000|2020-12-02 
> 00:00:00|-52187.9947583369|334558.809337536|288
> 1606982400|2020-12-03 
> 00:00:00|-153080.843814849|234123.104596637|288
> 1607068800|2020-12-04 
> 00:00:00|-99420.8960079433|191113.904386128|288
> 1607155200|2020-12-05 
> 00:00:00|-190256.166535543|-63997.1159412606|288
> 1607241600|2020-12-06 00:00:00|-34666.8634217707 
> <(863)%20421-7707>|-2021.71578460231|288
> 1607328000|2020-12-07 
> 00:00:00|30124.3625862335|579428.027105184|288
> 1607414400|2020-12-08 
> 00:00:00|-190910.758642127|109709.290467476|288
> 1607500800|2020-12-09 
> 00:00:00|117876.621596901|360564.616051966|288
> 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933 
> <(424)%20645-6933>|288
> 1607673600|2020-12-11 00:00:00|-43729.9472371972 
> <(947)%20237-1972>|-309888.485094482|288
> 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916 
> <(571)%20604-3916>|288
> 1607846400|2020-12-13 
> 00:00:00|-244171.679762325|-169645.365425769|288
> 1607932800|2020-12-14 
> 

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread jerry...@gmail.com
Tried running rebuild a second time.  Finished in 1 second and reported it 
was done.

└─[$] <> sudo ../bin/wee_database --rebuild-daily
Password:
Using configuration file /Users//weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_sqlite'
All daily summaries will be rebuilt.
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx.sdb' ...
Daily summaries up to date in 'weewx.sdb'

I'll let it run overnight again and see what happens.

On Friday, January 22, 2021 at 5:56:48 PM UTC-8 jerry...@gmail.com wrote:

> Would you recommend trying to run repair first?
>
> On Friday, January 22, 2021 at 5:54:51 PM UTC-8 tke...@gmail.com wrote:
>
>> Can you try it again?
>>
>> I have to confess, I've never tried this under MacOS. 
>>
>> On Fri, Jan 22, 2021 at 5:51 PM jerry...@gmail.com  
>> wrote:
>>
>>> mmm.  --drop-daily ran successfully, but --rebuild-daily ran for 10 min 
>>> or so, then hung on 2020-12-02
>>> ┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
>>> └─[$] <> sudo ../bin/wee_database --drop-daily
>>> Using configuration file /Users//weewx/weewx.conf
>>> Using database binding 'wx_binding', which is bound to database 
>>> 'archive_sqlite'
>>> Proceeding will delete all your daily summaries from database 'weewx.sdb'
>>> Are you sure you want to proceed (y/n)? y
>>> Dropping daily summary tables from 'weewx.sdb' ... 
>>> Daily summary tables dropped from database 'weewx.sdb' in 1.43 seconds
>>> ┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
>>> └─[$] <> sudo ../bin/wee_database --rebuild-daily
>>> Using configuration file /Users//weewx/weewx.conf
>>> Using database binding 'wx_binding', which is bound to database 
>>> 'archive_sqlite'
>>> All daily summaries will be rebuilt.
>>> Proceed (y/n)? y
>>> Rebuilding daily summaries in database 'weewx.sdb' ...
>>> Records processed: 883000; time: 2020-12-02 07:05:00 PST (1606921500)
>>>
>>>
>>> On Friday, January 22, 2021 at 4:21:48 PM UTC-8 tke...@gmail.com wrote:
>>>
 Thanks.

 On Fri, Jan 22, 2021 at 4:04 PM jerry...@gmail.com  
 wrote:

> I upgraded from v4.2 and installed v4.3b(final beta) on Jan 2, then 
> upgraded to the v4.3 release on Jan 4
>
> On Friday, January 22, 2021 at 3:34:09 PM UTC-8 tke...@gmail.com 
> wrote:
>
>> Jerry, two other questions: 
>>
>> 1. What version of WeeWX did you use before moving to V4.3?
>> 2. When did you do the upgrade?
>>
>> On Fri, Jan 22, 2021 at 3:24 PM Tom Keffer  wrote:
>>
>>> I see the problem, but I'm not quite sure what caused it. I'll have 
>>> to do some experimentation.
>>>
>>> In the meantime, you can fix things by rebuilding the daily 
>>> summaries.
>>>
>>> *sudo wee_database --drop-daily*
>>> *sudo wee_database --rebuild-daily*
>>>
>>>
>>>
>>> On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com <
>>> jerry...@gmail.com> wrote:
>>>
 python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's 
 sql dump
 └─[$] <> sqlite3 weewx.sdb
 SQLite version 3.32.3 2020-06-18 14:16:19
 Enter ".help" for usage hints.
 sqlite> select dateTime, 
 datetime(dateTime,'unixepoch','localtime'), xsum, ysum, dirsumtime 
 from 
 archive_day_wind where dateTime>1606780800;
 1606809600|2020-12-01 
 00:00:00|-130203.553519314|151249.611011778|288
 1606896000|2020-12-02 
 00:00:00|-52187.9947583369|334558.809337536|288
 1606982400|2020-12-03 
 00:00:00|-153080.843814849|234123.104596637|288
 1607068800|2020-12-04 
 00:00:00|-99420.8960079433|191113.904386128|288
 1607155200|2020-12-05 
 00:00:00|-190256.166535543|-63997.1159412606|288
 1607241600|2020-12-06 00:00:00|-34666.8634217707 <(863)%20421-7707>
 |-2021.71578460231|288
 1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
 1607414400|2020-12-08 
 00:00:00|-190910.758642127|109709.290467476|288
 1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933 
 <(424)%20645-6933>|288
 1607673600|2020-12-11 00:00:00|-43729.9472371972 <(947)%20237-1972>
 |-309888.485094482|288
 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916 
 <(571)%20604-3916>|288
 1607846400|2020-12-13 
 00:00:00|-244171.679762325|-169645.365425769|288
 1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
 1608019200|2020-12-15 
 00:00:00|-22417.9273202652|19293.1247338471|288
 1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719 
 <(989)%20724-2719>|288
 1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
 1608278400|2020-12-18 

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread jerry...@gmail.com
Would you recommend trying to run repair first?

On Friday, January 22, 2021 at 5:54:51 PM UTC-8 tke...@gmail.com wrote:

> Can you try it again?
>
> I have to confess, I've never tried this under MacOS. 
>
> On Fri, Jan 22, 2021 at 5:51 PM jerry...@gmail.com  
> wrote:
>
>> mmm.  --drop-daily ran successfully, but --rebuild-daily ran for 10 min 
>> or so, then hung on 2020-12-02
>> ┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
>> └─[$] <> sudo ../bin/wee_database --drop-daily
>> Using configuration file /Users//weewx/weewx.conf
>> Using database binding 'wx_binding', which is bound to database 
>> 'archive_sqlite'
>> Proceeding will delete all your daily summaries from database 'weewx.sdb'
>> Are you sure you want to proceed (y/n)? y
>> Dropping daily summary tables from 'weewx.sdb' ... 
>> Daily summary tables dropped from database 'weewx.sdb' in 1.43 seconds
>> ┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
>> └─[$] <> sudo ../bin/wee_database --rebuild-daily
>> Using configuration file /Users//weewx/weewx.conf
>> Using database binding 'wx_binding', which is bound to database 
>> 'archive_sqlite'
>> All daily summaries will be rebuilt.
>> Proceed (y/n)? y
>> Rebuilding daily summaries in database 'weewx.sdb' ...
>> Records processed: 883000; time: 2020-12-02 07:05:00 PST (1606921500)
>>
>>
>> On Friday, January 22, 2021 at 4:21:48 PM UTC-8 tke...@gmail.com wrote:
>>
>>> Thanks.
>>>
>>> On Fri, Jan 22, 2021 at 4:04 PM jerry...@gmail.com  
>>> wrote:
>>>
 I upgraded from v4.2 and installed v4.3b(final beta) on Jan 2, then 
 upgraded to the v4.3 release on Jan 4

 On Friday, January 22, 2021 at 3:34:09 PM UTC-8 tke...@gmail.com wrote:

> Jerry, two other questions: 
>
> 1. What version of WeeWX did you use before moving to V4.3?
> 2. When did you do the upgrade?
>
> On Fri, Jan 22, 2021 at 3:24 PM Tom Keffer  wrote:
>
>> I see the problem, but I'm not quite sure what caused it. I'll have 
>> to do some experimentation.
>>
>> In the meantime, you can fix things by rebuilding the daily summaries.
>>
>> *sudo wee_database --drop-daily*
>> *sudo wee_database --rebuild-daily*
>>
>>
>>
>> On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com <
>> jerry...@gmail.com> wrote:
>>
>>> python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's 
>>> sql dump
>>> └─[$] <> sqlite3 weewx.sdb
>>> SQLite version 3.32.3 2020-06-18 14:16:19
>>> Enter ".help" for usage hints.
>>> sqlite> select dateTime, datetime(dateTime,'unixepoch','localtime'), 
>>> xsum, ysum, dirsumtime from archive_day_wind where dateTime>1606780800;
>>> 1606809600|2020-12-01 00:00:00|-130203.553519314|151249.611011778|288
>>> 1606896000|2020-12-02 00:00:00|-52187.9947583369|334558.809337536|288
>>> 1606982400|2020-12-03 00:00:00|-153080.843814849|234123.104596637|288
>>> 1607068800|2020-12-04 00:00:00|-99420.8960079433|191113.904386128|288
>>> 1607155200|2020-12-05 
>>> 00:00:00|-190256.166535543|-63997.1159412606|288
>>> 1607241600|2020-12-06 00:00:00|-34666.8634217707 <(863)%20421-7707>
>>> |-2021.71578460231|288
>>> 1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
>>> 1607414400|2020-12-08 00:00:00|-190910.758642127|109709.290467476|288
>>> 1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
>>> 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933 
>>> <(424)%20645-6933>|288
>>> 1607673600|2020-12-11 00:00:00|-43729.9472371972 <(947)%20237-1972>
>>> |-309888.485094482|288
>>> 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916 
>>> <(571)%20604-3916>|288
>>> 1607846400|2020-12-13 
>>> 00:00:00|-244171.679762325|-169645.365425769|288
>>> 1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
>>> 1608019200|2020-12-15 00:00:00|-22417.9273202652|19293.1247338471|288
>>> 1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719 
>>> <(989)%20724-2719>|288
>>> 1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
>>> 1608278400|2020-12-18 00:00:00|-27478.8703463201 <(870)%20346-3201>
>>> |104361.205410177|288
>>> 1608364800|2020-12-19 00:00:00|36037.438769948|378529.578694131|288
>>> 1608451200|2020-12-20 00:00:00|60841.5285463173|560381.729354686|288
>>> 1608537600|2020-12-21 00:00:00|-69829.7825072144 <(782)%20507-2144>
>>> |451146.231629289|288
>>> 1608624000|2020-12-22 00:00:00|12361.5448934334 <(544)%20893-4334>
>>> |195530.536831909|288
>>> 1608710400|2020-12-23 00:00:00|308287.862067983|318022.906362218|288
>>> 1608796800|2020-12-24 00:00:00|38007.7631483106|282472.618348279|288
>>> 1608883200|2020-12-25 
>>> 00:00:00|-17230.6374395907|-595796.408608539|288
>>> 1608969600|2020-12-26 
>>> 00:00:00|-415239.498049725|-162860.386849611|288

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread Tom Keffer
Can you try it again?

I have to confess, I've never tried this under MacOS.

On Fri, Jan 22, 2021 at 5:51 PM jerry...@gmail.com 
wrote:

> mmm.  --drop-daily ran successfully, but --rebuild-daily ran for 10 min or
> so, then hung on 2020-12-02
> ┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
> └─[$] <> sudo ../bin/wee_database --drop-daily
> Using configuration file /Users//weewx/weewx.conf
> Using database binding 'wx_binding', which is bound to database
> 'archive_sqlite'
> Proceeding will delete all your daily summaries from database 'weewx.sdb'
> Are you sure you want to proceed (y/n)? y
> Dropping daily summary tables from 'weewx.sdb' ...
> Daily summary tables dropped from database 'weewx.sdb' in 1.43 seconds
> ┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
> └─[$] <> sudo ../bin/wee_database --rebuild-daily
> Using configuration file /Users//weewx/weewx.conf
> Using database binding 'wx_binding', which is bound to database
> 'archive_sqlite'
> All daily summaries will be rebuilt.
> Proceed (y/n)? y
> Rebuilding daily summaries in database 'weewx.sdb' ...
> Records processed: 883000; time: 2020-12-02 07:05:00 PST (1606921500)
>
>
> On Friday, January 22, 2021 at 4:21:48 PM UTC-8 tke...@gmail.com wrote:
>
>> Thanks.
>>
>> On Fri, Jan 22, 2021 at 4:04 PM jerry...@gmail.com 
>> wrote:
>>
>>> I upgraded from v4.2 and installed v4.3b(final beta) on Jan 2, then
>>> upgraded to the v4.3 release on Jan 4
>>>
>>> On Friday, January 22, 2021 at 3:34:09 PM UTC-8 tke...@gmail.com wrote:
>>>
 Jerry, two other questions:

 1. What version of WeeWX did you use before moving to V4.3?
 2. When did you do the upgrade?

 On Fri, Jan 22, 2021 at 3:24 PM Tom Keffer  wrote:

> I see the problem, but I'm not quite sure what caused it. I'll have to
> do some experimentation.
>
> In the meantime, you can fix things by rebuilding the daily summaries.
>
> *sudo wee_database --drop-daily*
> *sudo wee_database --rebuild-daily*
>
>
>
> On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com 
> wrote:
>
>> python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's sql
>> dump
>> └─[$] <> sqlite3 weewx.sdb
>> SQLite version 3.32.3 2020-06-18 14:16:19
>> Enter ".help" for usage hints.
>> sqlite> select dateTime, datetime(dateTime,'unixepoch','localtime'),
>> xsum, ysum, dirsumtime from archive_day_wind where dateTime>1606780800;
>> 1606809600|2020-12-01 00:00:00|-130203.553519314|151249.611011778|288
>> 1606896000|2020-12-02 00:00:00|-52187.9947583369|334558.809337536|288
>> 1606982400|2020-12-03 00:00:00|-153080.843814849|234123.104596637|288
>> 1607068800|2020-12-04 00:00:00|-99420.8960079433|191113.904386128|288
>> 1607155200|2020-12-05 00:00:00|-190256.166535543|-63997.1159412606|288
>> 1607241600|2020-12-06 00:00:00|-34666.8634217707 <(863)%20421-7707>
>> |-2021.71578460231|288
>> 1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
>> 1607414400|2020-12-08 00:00:00|-190910.758642127|109709.290467476|288
>> 1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
>> 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933
>> <(424)%20645-6933>|288
>> 1607673600|2020-12-11 00:00:00|-43729.9472371972 <(947)%20237-1972>
>> |-309888.485094482|288
>> 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916
>> <(571)%20604-3916>|288
>> 1607846400|2020-12-13 00:00:00|-244171.679762325|-169645.365425769|288
>> 1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
>> 1608019200|2020-12-15 00:00:00|-22417.9273202652|19293.1247338471|288
>> 1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719
>> <(989)%20724-2719>|288
>> 1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
>> 1608278400|2020-12-18 00:00:00|-27478.8703463201 <(870)%20346-3201>
>> |104361.205410177|288
>> 1608364800|2020-12-19 00:00:00|36037.438769948|378529.578694131|288
>> 1608451200|2020-12-20 00:00:00|60841.5285463173|560381.729354686|288
>> 1608537600|2020-12-21 00:00:00|-69829.7825072144 <(782)%20507-2144>
>> |451146.231629289|288
>> 1608624000|2020-12-22 00:00:00|12361.5448934334 <(544)%20893-4334>
>> |195530.536831909|288
>> 1608710400|2020-12-23 00:00:00|308287.862067983|318022.906362218|288
>> 1608796800|2020-12-24 00:00:00|38007.7631483106|282472.618348279|288
>> 1608883200|2020-12-25 00:00:00|-17230.6374395907|-595796.408608539|288
>> 1608969600|2020-12-26 00:00:00|-415239.498049725|-162860.386849611|288
>> 1609056000|2020-12-27 00:00:00|171270.10413|240892.576970562|288
>> 1609142400|2020-12-28 00:00:00|151298.874931467|336150.260498979|288
>> 1609228800|2020-12-29 00:00:00|-44868.0593009285|72292.1745354697|288
>> 1609315200|2020-12-30 

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread jerry...@gmail.com
mmm.  --drop-daily ran successfully, but --rebuild-daily ran for 10 min or 
so, then hung on 2020-12-02
┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
└─[$] <> sudo ../bin/wee_database --drop-daily
Using configuration file /Users//weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_sqlite'
Proceeding will delete all your daily summaries from database 'weewx.sdb'
Are you sure you want to proceed (y/n)? y
Dropping daily summary tables from 'weewx.sdb' ... 
Daily summary tables dropped from database 'weewx.sdb' in 1.43 seconds
┌─[@weather] - [~/weewx/archive] - [Fri Jan 22, 16:11]
└─[$] <> sudo ../bin/wee_database --rebuild-daily
Using configuration file /Users//weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_sqlite'
All daily summaries will be rebuilt.
Proceed (y/n)? y
Rebuilding daily summaries in database 'weewx.sdb' ...
Records processed: 883000; time: 2020-12-02 07:05:00 PST (1606921500)


On Friday, January 22, 2021 at 4:21:48 PM UTC-8 tke...@gmail.com wrote:

> Thanks.
>
> On Fri, Jan 22, 2021 at 4:04 PM jerry...@gmail.com  
> wrote:
>
>> I upgraded from v4.2 and installed v4.3b(final beta) on Jan 2, then 
>> upgraded to the v4.3 release on Jan 4
>>
>> On Friday, January 22, 2021 at 3:34:09 PM UTC-8 tke...@gmail.com wrote:
>>
>>> Jerry, two other questions: 
>>>
>>> 1. What version of WeeWX did you use before moving to V4.3?
>>> 2. When did you do the upgrade?
>>>
>>> On Fri, Jan 22, 2021 at 3:24 PM Tom Keffer  wrote:
>>>
 I see the problem, but I'm not quite sure what caused it. I'll have to 
 do some experimentation.

 In the meantime, you can fix things by rebuilding the daily summaries.

 *sudo wee_database --drop-daily*
 *sudo wee_database --rebuild-daily*



 On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com  
 wrote:

> python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's sql 
> dump
> └─[$] <> sqlite3 weewx.sdb
> SQLite version 3.32.3 2020-06-18 14:16:19
> Enter ".help" for usage hints.
> sqlite> select dateTime, datetime(dateTime,'unixepoch','localtime'), 
> xsum, ysum, dirsumtime from archive_day_wind where dateTime>1606780800;
> 1606809600|2020-12-01 00:00:00|-130203.553519314|151249.611011778|288
> 1606896000|2020-12-02 00:00:00|-52187.9947583369|334558.809337536|288
> 1606982400|2020-12-03 00:00:00|-153080.843814849|234123.104596637|288
> 1607068800|2020-12-04 00:00:00|-99420.8960079433|191113.904386128|288
> 1607155200|2020-12-05 00:00:00|-190256.166535543|-63997.1159412606|288
> 1607241600|2020-12-06 00:00:00|-34666.8634217707 <(863)%20421-7707>
> |-2021.71578460231|288
> 1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
> 1607414400|2020-12-08 00:00:00|-190910.758642127|109709.290467476|288
> 1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
> 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933 
> <(424)%20645-6933>|288
> 1607673600|2020-12-11 00:00:00|-43729.9472371972 <(947)%20237-1972>
> |-309888.485094482|288
> 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916 
> <(571)%20604-3916>|288
> 1607846400|2020-12-13 00:00:00|-244171.679762325|-169645.365425769|288
> 1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
> 1608019200|2020-12-15 00:00:00|-22417.9273202652|19293.1247338471|288
> 1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719 
> <(989)%20724-2719>|288
> 1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
> 1608278400|2020-12-18 00:00:00|-27478.8703463201 <(870)%20346-3201>
> |104361.205410177|288
> 1608364800|2020-12-19 00:00:00|36037.438769948|378529.578694131|288
> 1608451200|2020-12-20 00:00:00|60841.5285463173|560381.729354686|288
> 1608537600|2020-12-21 00:00:00|-69829.7825072144 <(782)%20507-2144>
> |451146.231629289|288
> 1608624000|2020-12-22 00:00:00|12361.5448934334 <(544)%20893-4334>
> |195530.536831909|288
> 1608710400|2020-12-23 00:00:00|308287.862067983|318022.906362218|288
> 1608796800|2020-12-24 00:00:00|38007.7631483106|282472.618348279|288
> 1608883200|2020-12-25 00:00:00|-17230.6374395907|-595796.408608539|288
> 1608969600|2020-12-26 00:00:00|-415239.498049725|-162860.386849611|288
> 1609056000|2020-12-27 00:00:00|171270.10413|240892.576970562|288
> 1609142400|2020-12-28 00:00:00|151298.874931467|336150.260498979|288
> 1609228800|2020-12-29 00:00:00|-44868.0593009285|72292.1745354697|288
> 1609315200|2020-12-30 00:00:00|-61615.9919150173|-370520.144783963|288
> 1609401600|2020-12-31 00:00:00|-124311.997370602|240223.949666045|288
> 1609488000|2021-01-01 00:00:00|-122534.326989786|-205708.575737604|288
> 1609574400|2021-01-02 00:00:00|21010.6867484957|-24099.0447729012|35271
> 

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread Tom Keffer
Thanks.

On Fri, Jan 22, 2021 at 4:04 PM jerry...@gmail.com 
wrote:

> I upgraded from v4.2 and installed v4.3b(final beta) on Jan 2, then
> upgraded to the v4.3 release on Jan 4
>
> On Friday, January 22, 2021 at 3:34:09 PM UTC-8 tke...@gmail.com wrote:
>
>> Jerry, two other questions:
>>
>> 1. What version of WeeWX did you use before moving to V4.3?
>> 2. When did you do the upgrade?
>>
>> On Fri, Jan 22, 2021 at 3:24 PM Tom Keffer  wrote:
>>
>>> I see the problem, but I'm not quite sure what caused it. I'll have to
>>> do some experimentation.
>>>
>>> In the meantime, you can fix things by rebuilding the daily summaries.
>>>
>>> *sudo wee_database --drop-daily*
>>> *sudo wee_database --rebuild-daily*
>>>
>>>
>>>
>>> On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com 
>>> wrote:
>>>
 python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's sql
 dump
 └─[$] <> sqlite3 weewx.sdb
 SQLite version 3.32.3 2020-06-18 14:16:19
 Enter ".help" for usage hints.
 sqlite> select dateTime, datetime(dateTime,'unixepoch','localtime'),
 xsum, ysum, dirsumtime from archive_day_wind where dateTime>1606780800;
 1606809600|2020-12-01 00:00:00|-130203.553519314|151249.611011778|288
 1606896000|2020-12-02 00:00:00|-52187.9947583369|334558.809337536|288
 1606982400|2020-12-03 00:00:00|-153080.843814849|234123.104596637|288
 1607068800|2020-12-04 00:00:00|-99420.8960079433|191113.904386128|288
 1607155200|2020-12-05 00:00:00|-190256.166535543|-63997.1159412606|288
 1607241600|2020-12-06 00:00:00|-34666.8634217707 <(863)%20421-7707>
 |-2021.71578460231|288
 1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
 1607414400|2020-12-08 00:00:00|-190910.758642127|109709.290467476|288
 1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933
 <(424)%20645-6933>|288
 1607673600|2020-12-11 00:00:00|-43729.9472371972 <(947)%20237-1972>
 |-309888.485094482|288
 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916
 <(571)%20604-3916>|288
 1607846400|2020-12-13 00:00:00|-244171.679762325|-169645.365425769|288
 1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
 1608019200|2020-12-15 00:00:00|-22417.9273202652|19293.1247338471|288
 1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719
 <(989)%20724-2719>|288
 1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
 1608278400|2020-12-18 00:00:00|-27478.8703463201 <(870)%20346-3201>
 |104361.205410177|288
 1608364800|2020-12-19 00:00:00|36037.438769948|378529.578694131|288
 1608451200|2020-12-20 00:00:00|60841.5285463173|560381.729354686|288
 1608537600|2020-12-21 00:00:00|-69829.7825072144 <(782)%20507-2144>
 |451146.231629289|288
 1608624000|2020-12-22 00:00:00|12361.5448934334 <(544)%20893-4334>
 |195530.536831909|288
 1608710400|2020-12-23 00:00:00|308287.862067983|318022.906362218|288
 1608796800|2020-12-24 00:00:00|38007.7631483106|282472.618348279|288
 1608883200|2020-12-25 00:00:00|-17230.6374395907|-595796.408608539|288
 1608969600|2020-12-26 00:00:00|-415239.498049725|-162860.386849611|288
 1609056000|2020-12-27 00:00:00|171270.10413|240892.576970562|288
 1609142400|2020-12-28 00:00:00|151298.874931467|336150.260498979|288
 1609228800|2020-12-29 00:00:00|-44868.0593009285|72292.1745354697|288
 1609315200|2020-12-30 00:00:00|-61615.9919150173|-370520.144783963|288
 1609401600|2020-12-31 00:00:00|-124311.997370602|240223.949666045|288
 1609488000|2021-01-01 00:00:00|-122534.326989786|-205708.575737604|288
 1609574400|2021-01-02 00:00:00|21010.6867484957|-24099.0447729012|35271
 1609660800|2021-01-03 00:00:00|-2516.97333745751|-176446.187437961|86400
 1609747200|2021-01-04 00:00:00|-294785.350809428|-581263.937648814|86400
 1609833600|2021-01-05 00:00:00|7324.35652411998|286084.756333686|86400
 160992|2021-01-06 00:00:00|23910.1472753193|114969.099078222|86400
 1610006400|2021-01-07 00:00:00|50945.657891678|228090.123829009|86400
 1610092800|2021-01-08 00:00:00|-27376.7331763921|86157.7738906022
 <(773)%20890-6022>|86400
 1610179200|2021-01-09 00:00:00|-85804.0547954349|85044.0362438775|86400
 1610265600|2021-01-10 00:00:00|154585.773517962|153764.917574933|86400
 1610352000|2021-01-11 00:00:00|-74745.9956412178|396962.09383053|86400
 1610438400|2021-01-12 00:00:00|-1989.71958901631|9871.02575870456|86400
 1610524800|2021-01-13 00:00:00|22038.68095019|57482.6778240007|86400
 1610611200|2021-01-14 00:00:00|-37247.3304058338 <(330)%20405-8338>
 |286868.83455787|86400
 1610697600|2021-01-15 00:00:00|-76218.5400205464|308094.466824569|86400
 1610784000|2021-01-16 00:00:00|-83608.8628539001 <(862)%20853-9001>
 |-22767.825453113|86400
 1610870400|2021-01-17 

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread jerry...@gmail.com
I upgraded from v4.2 and installed v4.3b(final beta) on Jan 2, then 
upgraded to the v4.3 release on Jan 4

On Friday, January 22, 2021 at 3:34:09 PM UTC-8 tke...@gmail.com wrote:

> Jerry, two other questions: 
>
> 1. What version of WeeWX did you use before moving to V4.3?
> 2. When did you do the upgrade?
>
> On Fri, Jan 22, 2021 at 3:24 PM Tom Keffer  wrote:
>
>> I see the problem, but I'm not quite sure what caused it. I'll have to do 
>> some experimentation.
>>
>> In the meantime, you can fix things by rebuilding the daily summaries.
>>
>> *sudo wee_database --drop-daily*
>> *sudo wee_database --rebuild-daily*
>>
>>
>>
>> On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com  
>> wrote:
>>
>>> python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's sql 
>>> dump
>>> └─[$] <> sqlite3 weewx.sdb
>>> SQLite version 3.32.3 2020-06-18 14:16:19
>>> Enter ".help" for usage hints.
>>> sqlite> select dateTime, datetime(dateTime,'unixepoch','localtime'), 
>>> xsum, ysum, dirsumtime from archive_day_wind where dateTime>1606780800;
>>> 1606809600|2020-12-01 00:00:00|-130203.553519314|151249.611011778|288
>>> 1606896000|2020-12-02 00:00:00|-52187.9947583369|334558.809337536|288
>>> 1606982400|2020-12-03 00:00:00|-153080.843814849|234123.104596637|288
>>> 1607068800|2020-12-04 00:00:00|-99420.8960079433|191113.904386128|288
>>> 1607155200|2020-12-05 00:00:00|-190256.166535543|-63997.1159412606|288
>>> 1607241600|2020-12-06 00:00:00|-34666.8634217707 <(863)%20421-7707>
>>> |-2021.71578460231|288
>>> 1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
>>> 1607414400|2020-12-08 00:00:00|-190910.758642127|109709.290467476|288
>>> 1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
>>> 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933 
>>> <(424)%20645-6933>|288
>>> 1607673600|2020-12-11 00:00:00|-43729.9472371972 <(947)%20237-1972>
>>> |-309888.485094482|288
>>> 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916 
>>> <(571)%20604-3916>|288
>>> 1607846400|2020-12-13 00:00:00|-244171.679762325|-169645.365425769|288
>>> 1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
>>> 1608019200|2020-12-15 00:00:00|-22417.9273202652|19293.1247338471|288
>>> 1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719 
>>> <(989)%20724-2719>|288
>>> 1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
>>> 1608278400|2020-12-18 00:00:00|-27478.8703463201 <(870)%20346-3201>
>>> |104361.205410177|288
>>> 1608364800|2020-12-19 00:00:00|36037.438769948|378529.578694131|288
>>> 1608451200|2020-12-20 00:00:00|60841.5285463173|560381.729354686|288
>>> 1608537600|2020-12-21 00:00:00|-69829.7825072144 <(782)%20507-2144>
>>> |451146.231629289|288
>>> 1608624000|2020-12-22 00:00:00|12361.5448934334 <(544)%20893-4334>
>>> |195530.536831909|288
>>> 1608710400|2020-12-23 00:00:00|308287.862067983|318022.906362218|288
>>> 1608796800|2020-12-24 00:00:00|38007.7631483106|282472.618348279|288
>>> 1608883200|2020-12-25 00:00:00|-17230.6374395907|-595796.408608539|288
>>> 1608969600|2020-12-26 00:00:00|-415239.498049725|-162860.386849611|288
>>> 1609056000|2020-12-27 00:00:00|171270.10413|240892.576970562|288
>>> 1609142400|2020-12-28 00:00:00|151298.874931467|336150.260498979|288
>>> 1609228800|2020-12-29 00:00:00|-44868.0593009285|72292.1745354697|288
>>> 1609315200|2020-12-30 00:00:00|-61615.9919150173|-370520.144783963|288
>>> 1609401600|2020-12-31 00:00:00|-124311.997370602|240223.949666045|288
>>> 1609488000|2021-01-01 00:00:00|-122534.326989786|-205708.575737604|288
>>> 1609574400|2021-01-02 00:00:00|21010.6867484957|-24099.0447729012|35271
>>> 1609660800|2021-01-03 00:00:00|-2516.97333745751|-176446.187437961|86400
>>> 1609747200|2021-01-04 00:00:00|-294785.350809428|-581263.937648814|86400
>>> 1609833600|2021-01-05 00:00:00|7324.35652411998|286084.756333686|86400
>>> 160992|2021-01-06 00:00:00|23910.1472753193|114969.099078222|86400
>>> 1610006400|2021-01-07 00:00:00|50945.657891678|228090.123829009|86400
>>> 1610092800|2021-01-08 00:00:00|-27376.7331763921|86157.7738906022 
>>> <(773)%20890-6022>|86400
>>> 1610179200|2021-01-09 00:00:00|-85804.0547954349|85044.0362438775|86400
>>> 1610265600|2021-01-10 00:00:00|154585.773517962|153764.917574933|86400
>>> 1610352000|2021-01-11 00:00:00|-74745.9956412178|396962.09383053|86400
>>> 1610438400|2021-01-12 00:00:00|-1989.71958901631|9871.02575870456|86400
>>> 1610524800|2021-01-13 00:00:00|22038.68095019|57482.6778240007|86400
>>> 1610611200|2021-01-14 00:00:00|-37247.3304058338 <(330)%20405-8338>
>>> |286868.83455787|86400
>>> 1610697600|2021-01-15 00:00:00|-76218.5400205464|308094.466824569|86400
>>> 1610784000|2021-01-16 00:00:00|-83608.8628539001 <(862)%20853-9001>
>>> |-22767.825453113|86400
>>> 1610870400|2021-01-17 00:00:00|-143674.811557712|92316.4065950163 
>>> <(406)%20595-0163>|86400
>>> 1610956800|2021-01-18 00:00:00|-44308.7846046671|662547.272893248|86400
>>> 

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread Tom Keffer
Jerry, two other questions:

1. What version of WeeWX did you use before moving to V4.3?
2. When did you do the upgrade?

On Fri, Jan 22, 2021 at 3:24 PM Tom Keffer  wrote:

> I see the problem, but I'm not quite sure what caused it. I'll have to do
> some experimentation.
>
> In the meantime, you can fix things by rebuilding the daily summaries.
>
> *sudo wee_database --drop-daily*
> *sudo wee_database --rebuild-daily*
>
>
>
> On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com 
> wrote:
>
>> python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's sql dump
>> └─[$] <> sqlite3 weewx.sdb
>> SQLite version 3.32.3 2020-06-18 14:16:19
>> Enter ".help" for usage hints.
>> sqlite> select dateTime, datetime(dateTime,'unixepoch','localtime'),
>> xsum, ysum, dirsumtime from archive_day_wind where dateTime>1606780800;
>> 1606809600|2020-12-01 00:00:00|-130203.553519314|151249.611011778|288
>> 1606896000|2020-12-02 00:00:00|-52187.9947583369|334558.809337536|288
>> 1606982400|2020-12-03 00:00:00|-153080.843814849|234123.104596637|288
>> 1607068800|2020-12-04 00:00:00|-99420.8960079433|191113.904386128|288
>> 1607155200|2020-12-05 00:00:00|-190256.166535543|-63997.1159412606|288
>> 1607241600|2020-12-06 00:00:00|-34666.8634217707|-2021.71578460231|288
>> 1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
>> 1607414400|2020-12-08 00:00:00|-190910.758642127|109709.290467476|288
>> 1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
>> 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933|288
>> 1607673600|2020-12-11 00:00:00|-43729.9472371972|-309888.485094482|288
>> 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916|288
>> 1607846400|2020-12-13 00:00:00|-244171.679762325|-169645.365425769|288
>> 1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
>> 1608019200|2020-12-15 00:00:00|-22417.9273202652|19293.1247338471|288
>> 1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719|288
>> 1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
>> 1608278400|2020-12-18 00:00:00|-27478.8703463201|104361.205410177|288
>> 1608364800|2020-12-19 00:00:00|36037.438769948|378529.578694131|288
>> 1608451200|2020-12-20 00:00:00|60841.5285463173|560381.729354686|288
>> 1608537600|2020-12-21 00:00:00|-69829.7825072144|451146.231629289|288
>> 1608624000|2020-12-22 00:00:00|12361.5448934334|195530.536831909|288
>> 1608710400|2020-12-23 00:00:00|308287.862067983|318022.906362218|288
>> 1608796800|2020-12-24 00:00:00|38007.7631483106|282472.618348279|288
>> 1608883200|2020-12-25 00:00:00|-17230.6374395907|-595796.408608539|288
>> 1608969600|2020-12-26 00:00:00|-415239.498049725|-162860.386849611|288
>> 1609056000|2020-12-27 00:00:00|171270.10413|240892.576970562|288
>> 1609142400|2020-12-28 00:00:00|151298.874931467|336150.260498979|288
>> 1609228800|2020-12-29 00:00:00|-44868.0593009285|72292.1745354697|288
>> 1609315200|2020-12-30 00:00:00|-61615.9919150173|-370520.144783963|288
>> 1609401600|2020-12-31 00:00:00|-124311.997370602|240223.949666045|288
>> 1609488000|2021-01-01 00:00:00|-122534.326989786|-205708.575737604|288
>> 1609574400|2021-01-02 00:00:00|21010.6867484957|-24099.0447729012|35271
>> 1609660800|2021-01-03 00:00:00|-2516.97333745751|-176446.187437961|86400
>> 1609747200|2021-01-04 00:00:00|-294785.350809428|-581263.937648814|86400
>> 1609833600|2021-01-05 00:00:00|7324.35652411998|286084.756333686|86400
>> 160992|2021-01-06 00:00:00|23910.1472753193|114969.099078222|86400
>> 1610006400|2021-01-07 00:00:00|50945.657891678|228090.123829009|86400
>> 1610092800|2021-01-08 00:00:00|-27376.7331763921|86157.7738906022|86400
>> 1610179200|2021-01-09 00:00:00|-85804.0547954349|85044.0362438775|86400
>> 1610265600|2021-01-10 00:00:00|154585.773517962|153764.917574933|86400
>> 1610352000|2021-01-11 00:00:00|-74745.9956412178|396962.09383053|86400
>> 1610438400|2021-01-12 00:00:00|-1989.71958901631|9871.02575870456|86400
>> 1610524800|2021-01-13 00:00:00|22038.68095019|57482.6778240007|86400
>> 1610611200|2021-01-14 00:00:00|-37247.3304058338|286868.83455787|86400
>> 1610697600|2021-01-15 00:00:00|-76218.5400205464|308094.466824569|86400
>> 1610784000|2021-01-16 00:00:00|-83608.8628539001|-22767.825453113|86400
>> 1610870400|2021-01-17 00:00:00|-143674.811557712|92316.4065950163|86400
>> 1610956800|2021-01-18 00:00:00|-44308.7846046671|662547.272893248|86400
>> 1611043200|2021-01-19 00:00:00|133987.682574905|850156.22335851|86400
>> 1611129600|2021-01-20 00:00:00|-74251.0826590378|135628.796484244|86400
>> 1611216000|2021-01-21 00:00:00|-280128.622855439|-265275.783959067|86400
>> 1611302400|2021-01-22 00:00:00|-307496.368251027|-229512.538746149|53700
>> sqlite>
>> from Seasons skin.conf
>> [ImageGenerator]
>>
>> # This section lists all the images to be generated, what SQL types
>> are to
>> # be included in them, along with many plotting options. There is a
>> default
>> # for almost everything. 

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread Tom Keffer
I see the problem, but I'm not quite sure what caused it. I'll have to do
some experimentation.

In the meantime, you can fix things by rebuilding the daily summaries.

*sudo wee_database --drop-daily*
*sudo wee_database --rebuild-daily*



On Fri, Jan 22, 2021 at 3:13 PM jerry...@gmail.com 
wrote:

> python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's sql dump
> └─[$] <> sqlite3 weewx.sdb
> SQLite version 3.32.3 2020-06-18 14:16:19
> Enter ".help" for usage hints.
> sqlite> select dateTime, datetime(dateTime,'unixepoch','localtime'), xsum,
> ysum, dirsumtime from archive_day_wind where dateTime>1606780800;
> 1606809600|2020-12-01 00:00:00|-130203.553519314|151249.611011778|288
> 1606896000|2020-12-02 00:00:00|-52187.9947583369|334558.809337536|288
> 1606982400|2020-12-03 00:00:00|-153080.843814849|234123.104596637|288
> 1607068800|2020-12-04 00:00:00|-99420.8960079433|191113.904386128|288
> 1607155200|2020-12-05 00:00:00|-190256.166535543|-63997.1159412606|288
> 1607241600|2020-12-06 00:00:00|-34666.8634217707|-2021.71578460231|288
> 1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
> 1607414400|2020-12-08 00:00:00|-190910.758642127|109709.290467476|288
> 1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
> 1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933|288
> 1607673600|2020-12-11 00:00:00|-43729.9472371972|-309888.485094482|288
> 160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916|288
> 1607846400|2020-12-13 00:00:00|-244171.679762325|-169645.365425769|288
> 1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
> 1608019200|2020-12-15 00:00:00|-22417.9273202652|19293.1247338471|288
> 1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719|288
> 1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
> 1608278400|2020-12-18 00:00:00|-27478.8703463201|104361.205410177|288
> 1608364800|2020-12-19 00:00:00|36037.438769948|378529.578694131|288
> 1608451200|2020-12-20 00:00:00|60841.5285463173|560381.729354686|288
> 1608537600|2020-12-21 00:00:00|-69829.7825072144|451146.231629289|288
> 1608624000|2020-12-22 00:00:00|12361.5448934334|195530.536831909|288
> 1608710400|2020-12-23 00:00:00|308287.862067983|318022.906362218|288
> 1608796800|2020-12-24 00:00:00|38007.7631483106|282472.618348279|288
> 1608883200|2020-12-25 00:00:00|-17230.6374395907|-595796.408608539|288
> 1608969600|2020-12-26 00:00:00|-415239.498049725|-162860.386849611|288
> 1609056000|2020-12-27 00:00:00|171270.10413|240892.576970562|288
> 1609142400|2020-12-28 00:00:00|151298.874931467|336150.260498979|288
> 1609228800|2020-12-29 00:00:00|-44868.0593009285|72292.1745354697|288
> 1609315200|2020-12-30 00:00:00|-61615.9919150173|-370520.144783963|288
> 1609401600|2020-12-31 00:00:00|-124311.997370602|240223.949666045|288
> 1609488000|2021-01-01 00:00:00|-122534.326989786|-205708.575737604|288
> 1609574400|2021-01-02 00:00:00|21010.6867484957|-24099.0447729012|35271
> 1609660800|2021-01-03 00:00:00|-2516.97333745751|-176446.187437961|86400
> 1609747200|2021-01-04 00:00:00|-294785.350809428|-581263.937648814|86400
> 1609833600|2021-01-05 00:00:00|7324.35652411998|286084.756333686|86400
> 160992|2021-01-06 00:00:00|23910.1472753193|114969.099078222|86400
> 1610006400|2021-01-07 00:00:00|50945.657891678|228090.123829009|86400
> 1610092800|2021-01-08 00:00:00|-27376.7331763921|86157.7738906022|86400
> 1610179200|2021-01-09 00:00:00|-85804.0547954349|85044.0362438775|86400
> 1610265600|2021-01-10 00:00:00|154585.773517962|153764.917574933|86400
> 1610352000|2021-01-11 00:00:00|-74745.9956412178|396962.09383053|86400
> 1610438400|2021-01-12 00:00:00|-1989.71958901631|9871.02575870456|86400
> 1610524800|2021-01-13 00:00:00|22038.68095019|57482.6778240007|86400
> 1610611200|2021-01-14 00:00:00|-37247.3304058338|286868.83455787|86400
> 1610697600|2021-01-15 00:00:00|-76218.5400205464|308094.466824569|86400
> 1610784000|2021-01-16 00:00:00|-83608.8628539001|-22767.825453113|86400
> 1610870400|2021-01-17 00:00:00|-143674.811557712|92316.4065950163|86400
> 1610956800|2021-01-18 00:00:00|-44308.7846046671|662547.272893248|86400
> 1611043200|2021-01-19 00:00:00|133987.682574905|850156.22335851|86400
> 1611129600|2021-01-20 00:00:00|-74251.0826590378|135628.796484244|86400
> 1611216000|2021-01-21 00:00:00|-280128.622855439|-265275.783959067|86400
> 1611302400|2021-01-22 00:00:00|-307496.368251027|-229512.538746149|53700
> sqlite>
> from Seasons skin.conf
> [ImageGenerator]
>
> # This section lists all the images to be generated, what SQL types
> are to
> # be included in them, along with many plotting options. There is a
> default
> # for almost everything. Nevertheless, values for most options are
> included
> # to make it easy to see and understand the options.
> #
> # Fonts can be anything accepted by the Python Imaging Library (PIL),
> which
> # includes truetype (.ttf), or PIL's own font format 

Re: [weewx-user] yearwindvec calculation problem

2021-01-22 Thread jerry...@gmail.com
python 3.9.1 issues corrected.  No effect on yearwindvec.  Here's sql dump
└─[$] <> sqlite3 weewx.sdb
SQLite version 3.32.3 2020-06-18 14:16:19
Enter ".help" for usage hints.
sqlite> select dateTime, datetime(dateTime,'unixepoch','localtime'), xsum, 
ysum, dirsumtime from archive_day_wind where dateTime>1606780800;
1606809600|2020-12-01 00:00:00|-130203.553519314|151249.611011778|288
1606896000|2020-12-02 00:00:00|-52187.9947583369|334558.809337536|288
1606982400|2020-12-03 00:00:00|-153080.843814849|234123.104596637|288
1607068800|2020-12-04 00:00:00|-99420.8960079433|191113.904386128|288
1607155200|2020-12-05 00:00:00|-190256.166535543|-63997.1159412606|288
1607241600|2020-12-06 00:00:00|-34666.8634217707|-2021.71578460231|288
1607328000|2020-12-07 00:00:00|30124.3625862335|579428.027105184|288
1607414400|2020-12-08 00:00:00|-190910.758642127|109709.290467476|288
1607500800|2020-12-09 00:00:00|117876.621596901|360564.616051966|288
1607587200|2020-12-10 00:00:00|-110801.296843873|-95429.4246456933|288
1607673600|2020-12-11 00:00:00|-43729.9472371972|-309888.485094482|288
160776|2020-12-12 00:00:00|220205.009420536|41034.5716043916|288
1607846400|2020-12-13 00:00:00|-244171.679762325|-169645.365425769|288
1607932800|2020-12-14 00:00:00|-102395.07323691|169918.397158235|288
1608019200|2020-12-15 00:00:00|-22417.9273202652|19293.1247338471|288
1608105600|2020-12-16 00:00:00|-139024.644156649|78612.9897242719|288
1608192000|2020-12-17 00:00:00|-568165.92865951|130159.284577316|288
1608278400|2020-12-18 00:00:00|-27478.8703463201|104361.205410177|288
1608364800|2020-12-19 00:00:00|36037.438769948|378529.578694131|288
1608451200|2020-12-20 00:00:00|60841.5285463173|560381.729354686|288
1608537600|2020-12-21 00:00:00|-69829.7825072144|451146.231629289|288
1608624000|2020-12-22 00:00:00|12361.5448934334|195530.536831909|288
1608710400|2020-12-23 00:00:00|308287.862067983|318022.906362218|288
1608796800|2020-12-24 00:00:00|38007.7631483106|282472.618348279|288
1608883200|2020-12-25 00:00:00|-17230.6374395907|-595796.408608539|288
1608969600|2020-12-26 00:00:00|-415239.498049725|-162860.386849611|288
1609056000|2020-12-27 00:00:00|171270.10413|240892.576970562|288
1609142400|2020-12-28 00:00:00|151298.874931467|336150.260498979|288
1609228800|2020-12-29 00:00:00|-44868.0593009285|72292.1745354697|288
1609315200|2020-12-30 00:00:00|-61615.9919150173|-370520.144783963|288
1609401600|2020-12-31 00:00:00|-124311.997370602|240223.949666045|288
1609488000|2021-01-01 00:00:00|-122534.326989786|-205708.575737604|288
1609574400|2021-01-02 00:00:00|21010.6867484957|-24099.0447729012|35271
1609660800|2021-01-03 00:00:00|-2516.97333745751|-176446.187437961|86400
1609747200|2021-01-04 00:00:00|-294785.350809428|-581263.937648814|86400
1609833600|2021-01-05 00:00:00|7324.35652411998|286084.756333686|86400
160992|2021-01-06 00:00:00|23910.1472753193|114969.099078222|86400
1610006400|2021-01-07 00:00:00|50945.657891678|228090.123829009|86400
1610092800|2021-01-08 00:00:00|-27376.7331763921|86157.7738906022|86400
1610179200|2021-01-09 00:00:00|-85804.0547954349|85044.0362438775|86400
1610265600|2021-01-10 00:00:00|154585.773517962|153764.917574933|86400
1610352000|2021-01-11 00:00:00|-74745.9956412178|396962.09383053|86400
1610438400|2021-01-12 00:00:00|-1989.71958901631|9871.02575870456|86400
1610524800|2021-01-13 00:00:00|22038.68095019|57482.6778240007|86400
1610611200|2021-01-14 00:00:00|-37247.3304058338|286868.83455787|86400
1610697600|2021-01-15 00:00:00|-76218.5400205464|308094.466824569|86400
1610784000|2021-01-16 00:00:00|-83608.8628539001|-22767.825453113|86400
1610870400|2021-01-17 00:00:00|-143674.811557712|92316.4065950163|86400
1610956800|2021-01-18 00:00:00|-44308.7846046671|662547.272893248|86400
1611043200|2021-01-19 00:00:00|133987.682574905|850156.22335851|86400
1611129600|2021-01-20 00:00:00|-74251.0826590378|135628.796484244|86400
1611216000|2021-01-21 00:00:00|-280128.622855439|-265275.783959067|86400
1611302400|2021-01-22 00:00:00|-307496.368251027|-229512.538746149|53700
sqlite> 
from Seasons skin.conf
[ImageGenerator]

# This section lists all the images to be generated, what SQL types are 
to
# be included in them, along with many plotting options. There is a 
default
# for almost everything. Nevertheless, values for most options are 
included
# to make it easy to see and understand the options.
#
# Fonts can be anything accepted by the Python Imaging Library (PIL), 
which
# includes truetype (.ttf), or PIL's own font format (.pil). See
# http://www.pythonware.com/library/pil/handbook/imagefont.htm for more
# details.  Note that "font size" is only used with truetype (.ttf)
# fonts. For others, font size is determined by the bit-mapped size,
# usually encoded in the file name (e.g., courB010.pil). A relative path
# for a font is relative to the SKIN_ROOT.  If a font cannot be found,
# then a default font will be used.
#
# Colors can 

Re: [weewx-user] yearwindvec calculation problem

2021-01-21 Thread jerry...@gmail.com
I just realized the python 3.9.1 path was wrong for pip and configobj 
leading to mismatched versions.  I corrected and will let it run overnight 
and check the yearwindvec tomorrow.  

On Thursday, January 21, 2021 at 4:48:05 AM UTC-8 tke...@gmail.com wrote:

> Hello, Jerry
>
> Two questions:
>
> 1. Can we see skin.conf for the plots? In particular, the section 
> [ImageGenerator] in skins/Seasons/skin.conf.
> 2. Let's check the database. Assuming you are using sqlite, use the tool 
> sqlite3 to take a look. You may have to install first. I don't know how to 
> do that on macOS, but I presume homebrew can do it. Then
>
> cd /Users/Shared/weewx/archive
> sqlite3 weewx.sdb
> select dateTime, datetime(dateTime,'unixepoch','localtime'), xsum, ysum, 
> dirsumtime from archive_day_wind where dateTime>1606780800;
>
> This will give us the ingredients to the plot for dates after 1-Dec-2020
>
>
>
>
>
> On Wed, Jan 20, 2021 at 5:14 PM jerry...@gmail.com  
> wrote:
>
>> I noticed that something recently has gone wrong with my year wind vector 
>> graphic.  The y axis is broken.  This seems to have happened around the 
>> transition to 4.3
>> The monthwindvec graphic is ok
>>
>> [image: monthwindvec.png]
>> but the yearwindvec y axis is scaled about 100 times too large
>> [image: yearwindvec.png]
>> Going back to V 4.2 on Dec 31, everything was normal
>> [image: dec31yearwindvec.png]
>> This is running on macOS 10.15.7 (Catalina) with Python 3.9.1
>> Any ideas where to look for fixes?
>>
>> -- 
>> 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 weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/9aa6d4a4-8d32-4709-b1e5-b11e24a9048fn%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7296d4ef-6664-4ec6-a883-8c34746b6be6n%40googlegroups.com.


Re: [weewx-user] yearwindvec calculation problem

2021-01-21 Thread Tom Keffer
Hello, Jerry

Two questions:

1. Can we see skin.conf for the plots? In particular, the section
[ImageGenerator] in skins/Seasons/skin.conf.
2. Let's check the database. Assuming you are using sqlite, use the tool
sqlite3 to take a look. You may have to install first. I don't know how to
do that on macOS, but I presume homebrew can do it. Then

cd /Users/Shared/weewx/archive
sqlite3 weewx.sdb
select dateTime, datetime(dateTime,'unixepoch','localtime'), xsum, ysum,
dirsumtime from archive_day_wind where dateTime>1606780800;

This will give us the ingredients to the plot for dates after 1-Dec-2020





On Wed, Jan 20, 2021 at 5:14 PM jerry...@gmail.com 
wrote:

> I noticed that something recently has gone wrong with my year wind vector
> graphic.  The y axis is broken.  This seems to have happened around the
> transition to 4.3
> The monthwindvec graphic is ok
>
> [image: monthwindvec.png]
> but the yearwindvec y axis is scaled about 100 times too large
> [image: yearwindvec.png]
> Going back to V 4.2 on Dec 31, everything was normal
> [image: dec31yearwindvec.png]
> This is running on macOS 10.15.7 (Catalina) with Python 3.9.1
> Any ideas where to look for fixes?
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/9aa6d4a4-8d32-4709-b1e5-b11e24a9048fn%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDpk%3DQz-RBEMkXnahf1Q%2BCHSyi_SQxw%3DOp0efLQ1iXr6g%40mail.gmail.com.


[weewx-user] yearwindvec calculation problem

2021-01-20 Thread jerry...@gmail.com
I noticed that something recently has gone wrong with my year wind vector 
graphic.  The y axis is broken.  This seems to have happened around the 
transition to 4.3
The monthwindvec graphic is ok

[image: monthwindvec.png]
but the yearwindvec y axis is scaled about 100 times too large
[image: yearwindvec.png]
Going back to V 4.2 on Dec 31, everything was normal
[image: dec31yearwindvec.png]
This is running on macOS 10.15.7 (Catalina) with Python 3.9.1
Any ideas where to look for fixes?

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9aa6d4a4-8d32-4709-b1e5-b11e24a9048fn%40googlegroups.com.