Wunderfixer will get things right provided that the offset on your computer
matches the offset that the WU expects. If those differ, then, yes, it
could publish the wrong records, but I don't think that's what's happening
here.

I think you're right that analyzing the last column of the downloaded
record is a better idea: it would be less sensitive to a mismatch in
offsets.

However, in this case, you would still get the same results: wunderfixer
does not recognize that there is a missing record because, in fact, the WU
is providing one.

I suppose one way you could work around this problem would be to set your
preference units to metric for whatever IP address your server uses. I'm
assuming that's how WU figures out what unit system to use. Wunderfixer
does not use cookies, so it must be.

-tk

On Mon, Nov 27, 2017 at 6:11 AM, <[email protected]> wrote:

> mm, sorry, now I see what you meant: the 07:13 record does show up when I
> select US metrics. But I think that my point is still valid: there is a
> discrepancy between the time shown by wunderfix for the missing record (CET
> time), and the time it uses to publish the record (UTC time).
>
>
> On Monday, 27 November 2017 13:03:39 UTC+1, [email protected] wrote:
>>
>> I am not sure to understand what you mean... and maybe my previous post
>> wasn't clear enough. I don't think that the problem is coming from the
>> units.
>>
>> Instead, it looks like wunderfix is using the first column of the data to
>> identify the time of the missing records (07:13). It then publishes the
>> missing records using this time as UTC time (in updateweatherstation.php,
>> the parameter is dateutc). This is wrong.
>> In the data sent by WU, the first column is the local time (CET in my
>> case). The UTC time is in the last column, and this is what wunderfix
>> should be using.
>>
>> Does this makes sense?
>>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to