Thank you for the answer.
I'm not good enough at php to do a command line that would do this subtraction operation.
Where in HP1000.py it is.
It would not be better to just tell it to stop adding the daily precipitation value. The weather station knows the value of the daily precipitation, it performs the calculation itself.
If anyone knows where in weewx, "rain" is added (I use fileparse) ??????