|
Post by davidparaglider on Jun 27, 2018 12:42:53 GMT -8
Hi there,
How often is the wind data reset? for example max wind, and max gust?
For example, i see that weather underground updates about every 5 min. Is the wind data inclusive of the previous 5 min?
Is it possible easily calibrate the sampling range?
As an aside, I'd like to gather through api, enough wind information to be able to read thermic cycles in a location. Meaning, there is the ambiant wind, but every few min (varies), a thermal cycle will begin where the wind direction and strength often will change (and temperature often increases a few degrees) until the thermal is complete, then the ambiant wind takes over again. Of course this is a very simplistic example and those characteristics vary greatly, but that is the gist of what I'm trying to capture.
Thanks,
|
|
|
Post by SDL on Jun 28, 2018 7:03:20 GMT -8
David, The wind data is sampled on an ongoing basis (averaged per interrupt basically), gusts are updated on the same basis. This could be improved. Mix Max etc. are over a 10 sample running data string. You can see the whole software here: github.com/switchdoclabs/OurWeatherWeatherPlusespecially look at the: OurWeatherWeatherPlus/SDL_Weather_80422.cpp BP BP
|
|
|
Post by davidparaglider on Jul 2, 2018 7:08:28 GMT -8
Thank you,
My C++ code reading skills are pretty limited sorry. When you say interrupt, what does that mean? I see it mentioned a fair bit.
For the data which is reported to Wunderground, is that a continuous datastream so that they can do their own gust analysis?
Or is the data reported to WU the same as I'd be getting from the REST api? Is it possible to get a continuous datastream or is hammering the api the only way to get the raw data in near realtime?
On that note, is there an optimal frequency to sample data from the REST api? The more raw it is the better, I can run my own analysis on my ground station.
thanks
|
|
|
Post by SDL on Jul 2, 2018 16:14:13 GMT -8
David,
Every time the anemometer turns around, it "interrupts" the processor and the computer counts it. We use an interrupt interface to do that.
Data to WeatherUnderground is a snapshot every five minutes.
REST data is the same. The REST data is only updated every 5 seconds.
BP
|
|