WXforum.net
May 18, 2013, 08:07:30 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6609  •  Posts: 178180  •  Topics: 18099
Please welcome TargY, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Ajax 2nd basic question...  (Read 1420 times)
0 Members and 1 Guest are viewing this topic.
ncpilot
Forecaster
*****
Offline Offline

Posts: 920


WWW
« on: September 11, 2007, 01:52:00 PM »

Help me clear something up...

Not sure for other weather stations, but on the Vantage, although it receives a packet of info every 2.5 seconds I believe, isn't it true that the only sensors that update that frequently are wind speed and direction? All the other sensors have intervals more towards a minute or more?

If so, then Ajax updates at 2-3 second intervals at most will only show wind changes? Same for real time Flash displays?
Logged

Marc
Wilmington, NC
"Monkey Junction Weather"
Davis VP2 wireless, WeatherLink
saratogaWX
Administrator
Forecaster
*****
Offline Offline

Posts: 3729


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #1 on: September 11, 2007, 03:46:36 PM »

I think you're correct  that the wind direction/speed update the most often on most stations.

I notice that with WD clientraw.txt updates, the temperature (humidity, dewpoint) also update more than once a minute with my Vantage Pro.

With the VWS AJAX/Weather Flash, the current data fields update pretty much like the WD clientraw.txt fields update .. the running average fields (and sometimes the hi/low/rate/rate-min/rate-max values) change with almost every update as they are recalculated.

With a non-VP station, the data values may be much slower in change, depending (as you say) on the update interval of the weather station itself.

Best regards,
Ken
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
carterlake
Senior Contributor
****
Offline Offline

Posts: 243



WWW
« Reply #2 on: September 11, 2007, 07:58:03 PM »

I don't think you want the Ajax updating every 2 to 3 seconds... not sure the browser could keep up with it.... 6 seconds seems pretty good for the Davis.

But you're right though... only wind is what really gets updated that frequently.

Temperature and rainfall are updated every 10 to 12 seconds; wind speed and direction are updated every 2.5 to 3 seconds; humidity and barometric pressure are updated every minute.

The issue is one of where the data comes from... you can't update just part of the data every 2 seconds and the rest every 12 seconds... since it's all in the same data file.

Now, obviously if you have a wireless LaCrosse, you might want to change the update to every 20 seconds as stuff just doesn't update that often.

However, in the end, the data is very very small and really only makes  a little difference in bandwidth usage between 6 and 20 seconds.
Logged


Davis VP2 6153; Weather Display (LIVE w/ Ajax); Quickcam for Notebooks Pro; Boltek w/ Nexstorm; GRLevel3; live NOAA Radio
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.099 seconds with 18 queries.
anything