30 errors per day seems to be excessive.  Do you have something causing the 
errors?  What kind of errors are you correcting? Recalculating the daily 
data from the archive data is, I would have thought, likely to create more 
'errors', and possibly lose max gust data which may have been in a loop 
packet for example.  How do you know the recorded data is wrong, and how do 
you know what the correct value should be??  All seems to not make much 
sense on the face of it.  Maybe your best option is to create your own 
special version of wee_database which does not issue the prompt request so 
that you can run it via cron (although running wee_database via cron seems 
a wrong thing to have to do anyway!)  Surely though you only need to do the 
recalculation after editing the data - so why not just include the call to 
wee_database within the script you invoke when you decide to edit the 
data.  I assume the actual edit is a manual process.  Maybe understanding 
what your problem is caused by would shed some light on how to correct it - 
at the moment I feel somewhat lost.



On Wednesday, 8 May 2019 12:53:21 UTC+3, Christophe CAVALLIÉ wrote:
>
> I make the corrections myself via a mysql command executed by bash shell 
> script and I must therefore perform a frequent recalculation of the daily 
> data because I have up to 30 errors on the wind speed and wind gust data 
> per day.
>
> Le mercredi 8 mai 2019 11:43:48 UTC+2, Andrew Milner a écrit :
>>
>> what kind of errors are you correcting with the utility??  If you are 
>> using checkstrings/fixstrings this should not need to be run on a regular 
>> basis via cron since it is really finding and correcting errors introduced 
>> by a database editor.
>>
>> If you have a database editor that introduces null strings rather than 
>> null values when deleting values then I would suggest either changing the 
>> editor to solve the problem completely or just getting into the habit or 
>> running wee_database to check for null strings after running the editor.
>>
>>
>>
>>
>>
>> On Wednesday, 8 May 2019 12:10:22 UTC+3, Christophe CAVALLIÉ wrote:
>>>
>>> Hello,
>>> I use Weewx for my station WS2300 in France I have to correcting lot of 
>>> measure errors.
>>> I want to automatize this with crontab command but I can't with the 
>>> prompt "Proceed (y/n)".
>>> Have you a solution to bypass this prompt?
>>> Thanks for your response
>>> Christophe Cavallié
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6ffa7dd6-4ada-4b60-8692-10ac8ca807c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to