I have solved the plot-problem by hand with phpmyadmin and sql query.

the 1. script ( named raindel.sh) run :
./raindel.sh: Zeile 74: bc: Kommando nicht gefunden.

I installed bc , then insert in the DB two values for rain and rainRate in 
table of weewx ( for rain simulation )
I started the script again :

Now : after each row there is an "-e"
This fixes the database if there are any wrong entries
*-e*
If you just press enter for the next two prompts you will get all the 
rainfall for the day


*-e*After *ENTER  *input for day, time and rain quantity there are errors :

./raindel.sh: 44: ./raindel.sh: [[: not found
-e The date selected is  

./raindel.sh: 55: ./raindel.sh: [[: not found
-e The time selected is  

./raindel.sh: 65: ./raindel.sh: [[: not found
-e

-e The rain amount is   and the reporting interval is  5  minutes.
-e
(standard_in) 2: syntax error
./raindel.sh: 78: ./raindel.sh: [[: not found
-e
----------------------------------------

Then I guess some issues aren't displayed:

-e Rain value is   and rain rate value is  
-e If there are no records above then that means there are no rain rates 
for  

Select the FIRST dateTime you want to update
after update, there is nothing and therefore I tried the unix-date 

-----------------------------------------
as an attachment the rain-script.txt for better understanding

I insert the ---   if the script expected an input


best regards
Joachim

-- 
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/b35f6b99-faf2-4747-87bd-c6e9362e71b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to