Author Topic: Temperature averaging  (Read 3466 times)

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Temperature averaging
« 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 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!
Davis Vantage Pro2 with FARS | https://marquetteweather.com

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #1 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.
Davis Vantage Pro2 with FARS | https://marquetteweather.com

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: Temperature averaging
« Reply #2 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.

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #3 on: June 24, 2017, 05:22:42 PM »
That appears to be what I need. Thanks!!
Davis Vantage Pro2 with FARS | https://marquetteweather.com

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #4 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.
Davis Vantage Pro2 with FARS | https://marquetteweather.com

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: Temperature averaging
« Reply #5 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.

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #6 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.
Davis Vantage Pro2 with FARS | https://marquetteweather.com

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #7 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.
Davis Vantage Pro2 with FARS | https://marquetteweather.com

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #8 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.
Davis Vantage Pro2 with FARS | https://marquetteweather.com

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #9 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.
Davis Vantage Pro2 with FARS | https://marquetteweather.com

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: Temperature averaging
« Reply #10 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.

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #11 on: June 26, 2017, 09:55:03 PM »
Many thanks!
Davis Vantage Pro2 with FARS | https://marquetteweather.com

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: Temperature averaging
« Reply #12 on: July 01, 2017, 01:24:35 PM »
I have a build up that you can try:
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.

openvista

  • Gentle Breeze
  • **
  • Posts: 39
    • EW7933
    • KMIMARQU13
    • marquetteweather.com
  • Station Details: Davis Vantage Pro2 with FARS on a Hackintosh
Re: Temperature averaging
« Reply #13 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!
Davis Vantage Pro2 with FARS | https://marquetteweather.com