1. Stop weewx.
2. Install the tool sqlite3, if it has not been installed already:
sudo apt install sqlite3
3. Calculate the starting and ending dates in unix epoch time. These are the dates that you want to zero out. The tool
https://www.epochconverter.com/ is useful for this.
14 June 2021 0000 = 1623654000
1 August 2021 0000 = 1627801200
4. Find your sqlite database file. If you did a package install, it will be in /var/lib/weewx/weewx.sdb. If you did a setup.py install, it will be in /home/weewx/archive/weewx.sdb. I'm assuming the former.
5. Make a backup of the database file:
sudo cp /var/lib/weewx/weewx.sdb /var/lib/weewx/weewx.sdb.backup
6. Use the tool sqlite3 to see what's in the database. This select statement will show the epoch time, date, and rain for the period 14 June until 1 August. Make sure you include the semicolon at the end. It will print out a lot of rows. Look them over.
sudo sqlite3 /var/lib/weewx/weewx.sdb
sqlite> select datetime, datetime(dateTime, 'unixepoch','localtime'), rain from archive where dateTime > 1623654000 and dateTime <= 1627801200;
7. If it meets your expectations, zero out the rain fields for that period:
sqlite> update archive set rain=0.0 where dateTime > 1623654000 and dateTime <= 1627801200;
sqlite> .quit
8. Rebuild the daily summaries for the affected period.
sudo wee_database --rebuild-daily --from=2021-06-14 --to=2021-08-01
9. Restart weewx.