Trixology

WeatherCat => WeatherCat Feature Requests => Topic started by: openvista on June 23, 2017, 06:27:37 PM

Title: Temperature averaging
Post by: openvista on June 23, 2017, 06:27:37 PM
The National Weather Service ASOS stations report daily highs and lows using an array of 5 minute averages. See pg 681 of http://journals.ametsoc.org/doi/pdf/10.1175/JTECH1752.1 (http://journals.ametsoc.org/doi/pdf/10.1175/JTECH1752.1) for specifics.

It is these smoothed numbers that are referred to when judging forecast and record accuracy, not the transient values our weather stations report.

I'd like the ability to compare my highs/lows to theirs using their methodology. Particularly, I'd like to be able to output the averaged min and max temperature onto my website via tags.

Thank you!
Title: Re: Temperature averaging
Post by: openvista on June 23, 2017, 07:15:56 PM
I should add that I have my sampling rate set to 1 minute and adaptive option is checked. I would think the 1 min sampling rate would be a prerequisite for this feature.
Title: Re: Temperature averaging
Post by: WCDev on June 24, 2017, 01:51:52 PM
Hi there,
You can do this with a synthetic channel - set one up as per the attached screen-shot, you'll then be able to use it as you would any other channel - graphs, gauges, tags etc.

Cheers.
Title: Re: Temperature averaging
Post by: openvista on June 24, 2017, 05:22:42 PM
That appears to be what I need. Thanks!!
Title: Re: Temperature averaging
Post by: openvista on June 25, 2017, 04:18:30 AM
I implemented the above solution. Highs work great!

The lows, however, sometimes have "dropouts" where the value will drop to 32 for a moment and then recover to the correct value. See attached image.
Title: Re: Temperature averaging
Post by: WCDev on June 25, 2017, 09:40:09 AM
Are you getting any sensor errors around the time it drops to 0? If not, I'll raise a bug report for it.

Cheers.
Title: Re: Temperature averaging
Post by: openvista on June 25, 2017, 02:44:49 PM
Are you getting any sensor errors around the time it drops to 0? If not, I'll raise a bug report for it.

Cheers.

Nope, no sensor errors.
Title: Re: Temperature averaging
Post by: openvista on June 26, 2017, 05:04:11 PM
OK, I happened to be looking at WeatherCat during one of these dropouts. I saw all the gauges go to zero for a brief moment and then come back. After that I saw the dip in the graph to 32. Not sure what causes that. Perhaps a momentary network issue? I connect to the Davis VP2 via WeatherLink IP over LAN.

No sensor errors were reported.
Title: Re: Temperature averaging
Post by: openvista on June 26, 2017, 05:25:39 PM
Looking at the graph, I notice all the dropouts happen at the top of the hour. Doesn't happen every hour, but when it does, seems to be at the top.
Title: Re: Temperature averaging
Post by: openvista on June 26, 2017, 07:01:42 PM
Sure enough, here's a photo taken at the top of the hour. Notice where the dropouts happen.
Title: Re: Temperature averaging
Post by: WCDev on June 26, 2017, 09:35:04 PM
Nice report thanks. I've raised it as a bug - hopefully should have a build for you to test by the weekend.

Cheers.
Title: Re: Temperature averaging
Post by: openvista on June 26, 2017, 09:55:03 PM
Many thanks!
Title: Re: Temperature averaging
Post by: WCDev on July 01, 2017, 01:24:35 PM
I have a build up that you can try:
http://data.trixology.com/downloads/WeatherCat243B2.zip (http://data.trixology.com/downloads/WeatherCat243B2.zip)

I'd suggest clearing the previous data in your synthetic channel to remove the drops then give this one a run - hopefully it should cure the drops you've been seeing.

Cheers.
Title: Re: Temperature averaging
Post by: openvista on September 24, 2017, 05:04:53 PM
This issue appears to be resolved in the latest build (Version 2.43  Build 3). Many thanks!