On Tue, Aug 11, 2020 at 10:03 AM Graham Eddy <graham.e...@gmail.com> wrote:

> i forgot to ask: start_ts is outside my __init__’s scope, so should i use
> self.the_time? e.g.
> import weewx.drivers.simulator as simulator
> ...
> # VP2 optional observations
>         self.observations['extraTemp1'] = simulator.Observation(
>             magnitude=4.0, average=50.0, period=18.0, phase_lag=12.0,
>             start=self.the_time)
>

Hmmm, perhaps start_ts should be a property?

-tk

-- 
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/CAPq0zEDYoPPnrr6J2OP49DSnHgSxD6Us%2BMpn_JicpyiiPQOwKg%40mail.gmail.com.

Reply via email to