Re: [weewx-user] [[Calculations]] on archive record not loop packet?

2020-12-26 Thread Graham Eddy
‘push request’ created (i think… github said something about deprecated) for 
‘loop’ and/or ‘archive’
i.e. aqi=software (defaults to both bindings) or aqi=software,loop or 
aqi=software,archive or aqi=software,loop,archive

> On 22 Dec 2020, at 11:47 am, Graham Eddy  wrote:
> 
> good idea. i'll code & submit that
> 
> On Tue, 22 Dec 2020, 11:06 am Tom Keffer,  > wrote:
> Hi, Graham
> 
> Seems like a reasonable thing to do but, no, there is no way at this point. 
> Perhaps the [[Calculations]] section should be expanded to:
> 
> [StdWXCalculate]
>   [[Calculations]]
> aqi = software, record
> 
> That is, it takes an optional second positional parameter that can be one of 
> 'loop', 'record', or 'both'. The default would be 'both'.
> 

-- 
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/8DA0EB9C-18B0-4F15-9384-6F3E0BA5C595%40gmail.com.


Re: [weewx-user] [[Calculations]] on archive record not loop packet?

2020-12-21 Thread Graham Eddy
good idea. i'll code & submit that

On Tue, 22 Dec 2020, 11:06 am Tom Keffer,  wrote:

> Hi, Graham
>
> Seems like a reasonable thing to do but, no, there is no way at this
> point. Perhaps the [[Calculations]] section should be expanded to:
>
> [StdWXCalculate]
>   [[Calculations]]
> aqi = software, record
>
> That is, it takes an optional second positional parameter that can be one
> of 'loop', 'record', or 'both'. The default would be 'both'.
>
>
>
> On Fri, Dec 18, 2020 at 7:10 AM Graham Eddy  wrote:
>
>> my reading of the 4.3.0 source is that [[Calculations]] calculates the
>> specified xtypes on each loop packet. is there a simple way now, or is it
>> in plan, to be able to have them calculated for archive records only?
>>
>> i do not want to calculate AQI from averaged pollutant values except when
>> the averages are updated, which for me is at the end of each archive
>> interval. i have written a data service to call the xtypes each archive
>> record, but i would prefer StdWXCalculate handled it for me with ‘=
>> software’ declarations
>>
>> --
>> 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/D43D0E70-13A6-4B6B-905C-F7597C97DE0A%40gmail.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/CAPq0zEARNBu0cB18MDYiVc0101vw4W9PEcutpJ3ZFvGmYvt8GQ%40mail.gmail.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/CAKwQt_ptTtJBJdHAdSZpL6ayy9OF23mcrORcS%3DdO965nq5NE%2Bg%40mail.gmail.com.


Re: [weewx-user] [[Calculations]] on archive record not loop packet?

2020-12-21 Thread Tom Keffer
Hi, Graham

Seems like a reasonable thing to do but, no, there is no way at this point.
Perhaps the [[Calculations]] section should be expanded to:

[StdWXCalculate]
  [[Calculations]]
aqi = software, record

That is, it takes an optional second positional parameter that can be one
of 'loop', 'record', or 'both'. The default would be 'both'.



On Fri, Dec 18, 2020 at 7:10 AM Graham Eddy  wrote:

> my reading of the 4.3.0 source is that [[Calculations]] calculates the
> specified xtypes on each loop packet. is there a simple way now, or is it
> in plan, to be able to have them calculated for archive records only?
>
> i do not want to calculate AQI from averaged pollutant values except when
> the averages are updated, which for me is at the end of each archive
> interval. i have written a data service to call the xtypes each archive
> record, but i would prefer StdWXCalculate handled it for me with ‘=
> software’ declarations
>
> --
> 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/D43D0E70-13A6-4B6B-905C-F7597C97DE0A%40gmail.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/CAPq0zEARNBu0cB18MDYiVc0101vw4W9PEcutpJ3ZFvGmYvt8GQ%40mail.gmail.com.


[weewx-user] [[Calculations]] on archive record not loop packet?

2020-12-18 Thread Graham Eddy
my reading of the 4.3.0 source is that [[Calculations]] calculates the 
specified xtypes on each loop packet. is there a simple way now, or is it in 
plan, to be able to have them calculated for archive records only?

i do not want to calculate AQI from averaged pollutant values except when the 
averages are updated, which for me is at the end of each archive interval. i 
have written a data service to call the xtypes each archive record, but i would 
prefer StdWXCalculate handled it for me with ‘= software’ declarations

-- 
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/D43D0E70-13A6-4B6B-905C-F7597C97DE0A%40gmail.com.