Re: [weewx-user] Issue with a report last values are Zero

2020-05-10 Thread Hyrules
ok I understand now how this works thanks. -- 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

Re: [weewx-user] Issue with a report last values are Zero

2020-05-10 Thread Tom Keffer
You just didn't read the right section! Options in weewx.conf override options in skin.conf. See the section *How options work * in the Customizing Guide. On Sun, May 10, 2020 at 9:34 AM Hyrules wrote: > Thanks. > > More on the skin

Re: [weewx-user] Issue with a report last values are Zero

2020-05-10 Thread Hyrules
Thanks. More on the skin i'm working on : I was reading the weewx customization guide and found I can specify the StringFormats of my units in my skin.conf. So technically when I generate a report with the cheetah engine in my skin the string should format itself to the format I have

Re: [weewx-user] Issue with a report last values are Zero

2020-05-08 Thread mwall
On Friday, May 8, 2020 at 2:33:17 PM UTC-4, Hyrules wrote: > > Oh an by the way : On the latest release page on the latest release itself > on github instructions are pointing to the github page with the code and > not the page itself. > i just fixed the release page on github.com. links to

Re: [weewx-user] Issue with a report last values are Zero

2020-05-08 Thread Hyrules
Oh an by the way : On the latest release page on the latest release itself on github instructions are pointing to the github page with the code and not the page itself. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this

Re: [weewx-user] Issue with a report last values are Zero

2020-05-08 Thread Hyrules
Actually your input was just what I needed to figure it out Gary. Like you said I was using the start time when I wanted the end time. Thus instead of forcing things to start at 12:15 all I needed was to use the end time of the span instead. With a span of 15 minutes, the end time of the span

Re: [weewx-user] Issue with a report last values are Zero

2020-05-07 Thread gjr80
I have taken you skin/code and run under WeeWX v4/python2/simulator. I am not seeing anything unusual but then again I am not 100% certain on what it is that you are believe is not working. Perhaps you could illustrate with some (abbreviated) actual output captures? Assuming the issue is the

Re: [weewx-user] Issue with a report last values are Zero

2020-05-07 Thread Hyrules
There is definitely something I don't understand here. Run the report every 15 minutes with archive interval of 5 minutes the latest 15th minute value is not there when Weewx generates the report automatically. Check the database... archive value of the lastest 15 is there. If I run wee_report

Re: [weewx-user] Issue with a report last values are Zero

2020-05-07 Thread Hyrules
;> Behalf Of gjr80 >> Sent: May 6, 2020 14:48 >> To: weewx-user >> Subject: Re: [weewx-user] Issue with a report last values are Zero >> >> Hi, >> >> I would hazard a guess and say your issue is using >> datetime.datetime.now() in your se

Re: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread Hyrules
: > > Interesting Gary. Makes a lot of sense. I will try that and let you know > what happens. Thanks for your input > > -Original Message- > From: weewx-user@googlegroups.com On Behalf > Of gjr80 > Sent: May 6, 2020 14:48 > To: weewx-user > Subject: Re: [weewx-

RE: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread hyrules
Interesting Gary. Makes a lot of sense. I will try that and let you know what happens. Thanks for your input -Original Message- From: weewx-user@googlegroups.com On Behalf Of gjr80 Sent: May 6, 2020 14:48 To: weewx-user Subject: Re: [weewx-user] Issue with a report last values

Re: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread gjr80
Hi, I would hazard a guess and say your issue is using datetime.datetime.now() in your search list extension. That time is being used as your stop/end time for the report and is (roughly) the time the report is run. This will be after the current (and last) record in the archive. So when the

Re: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread Tom Keffer
oups.com *On > Behalf Of *Tom Keffer > *Sent:* May 6, 2020 12:34 > *To:* weewx-user > *Subject:* Re: [weewx-user] Issue with a report last values are Zero > > > > Personally, I use PyCharm <https://www.jetbrains.com/pycharm/>, but it's > probably overkill for what you

RE: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread hyrules
PyCharm why didn’t think of that IDE. I know jetbrains I`ve used their tools like Resharper for C#. Thanks. From: weewx-user@googlegroups.com On Behalf Of Tom Keffer Sent: May 6, 2020 12:34 To: weewx-user Subject: Re: [weewx-user] Issue with a report last values are Zero Personally

Re: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread Tom Keffer
bugger you can attach to the process and see variables and do a > step by step ? > > > > Thank. > > > > > > *From:* weewx-user@googlegroups.com *On > Behalf Of *Tom Keffer > *Sent:* May 6, 2020 12:27 > *To:* weewx-user > *Subject:* Re: [weewx-user] Iss

RE: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread hyrules
of setup or debugger you can attach to the process and see variables and do a step by step ? Thank. From: weewx-user@googlegroups.com On Behalf Of Tom Keffer Sent: May 6, 2020 12:27 To: weewx-user Subject: Re: [weewx-user] Issue with a report last values are Zero At first glance, I'd

Re: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread Tom Keffer
At first glance, I'd say this is an "off-by-one " problem, but there's way too much for me to debug. It's also as a screenshot, so I can't even look at it in an editor. Sorry. I would suggest running it with a good debugger, or using lots of print()

Re: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread Hyrules
from __future__ import with_statement from importlib import reload import datetime import time import calendar import json import os import os.path import syslog import sys import locale import weewx import weecfg import configobj import weedb import weeutil.weeutil import weewx.reportengine

Re: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread Hyrules
You are right can read my mind : Here is the report : #errorCatcher Echo #import weewx.uwxutils as utils #import user.weathercalc as wc #set $D="%d/%m/%y" #set $Time="%I:%M%p" #set $N50f="%5.0f" #set $N51f="%5.1f" #set $N52f="%5.2f" #set $NONE0F="0" #set $NONE1F="0.0" #set $NA="N/A" #set

Re: [weewx-user] Issue with a report last values are Zero

2020-05-06 Thread Tom Keffer
I have no idea what I'm looking at, what time this report was run, what the report is, nor how to reproduce it. On Wed, May 6, 2020 at 8:17 AM Hyrules wrote: > I have a report that generates results for the last 2 days in data. The > report is scheduled to run every 15 minutes with a custom