Quick fix to solve most data related problems.....
Posted: Mon 19 Oct 2009 10:47 pm
Hi Steve,
I wonder if I could offer some programming advice to solve a number of data related problems I have seen occuring with the software?
If you were to add a "quick-fix" solution, this might suit a lot of people.
I have been working on Scotweather site doing as much as I can with the cumuluswebtags.php and realtime.txt files...
Unfortunately the only problem I cannot programmatically solve is the issue with sudden errornous data?
So far I have seen the Scotweather site suddenly report many hundred mm of rain, 50'C temps and -17'C temps.
Could I impart a little advice, that some sort of user-configurable (or even hard coded in v1 and user configured in v2) code along this lines of:
if the temp has increased more than 5'C in 1 min ignore it,
if the temp has decreased more than 5'C in 1 min ignore it
if the rain has increased more than 10mm in 1 min ignore it.
this sort of quick fix should solve most problems??
Please let me know if I can be of any assistance... I am really looking forward to making the move to cumulus
Andy
I wonder if I could offer some programming advice to solve a number of data related problems I have seen occuring with the software?
If you were to add a "quick-fix" solution, this might suit a lot of people.
I have been working on Scotweather site doing as much as I can with the cumuluswebtags.php and realtime.txt files...
Unfortunately the only problem I cannot programmatically solve is the issue with sudden errornous data?
So far I have seen the Scotweather site suddenly report many hundred mm of rain, 50'C temps and -17'C temps.
Could I impart a little advice, that some sort of user-configurable (or even hard coded in v1 and user configured in v2) code along this lines of:
if the temp has increased more than 5'C in 1 min ignore it,
if the temp has decreased more than 5'C in 1 min ignore it
if the rain has increased more than 10mm in 1 min ignore it.
this sort of quick fix should solve most problems??
Please let me know if I can be of any assistance... I am really looking forward to making the move to cumulus
Andy