Re: [weewx-user] Re: Problem with wee_import utility (rain field)

2023-09-03 Thread Remy Lavabre
Thanks Gary, My fields, including for rain, incremented automatically yesterday for the first time! Your solution was the right one and I still don't understand why the previous time the rain was not taken into account in my weewx database However, thank you for your explanations which

Re: [weewx-user] Re: Problem with wee_import utility (rain field)

2023-08-30 Thread gjr80
Some comments below. Gary On Wednesday, 30 August 2023 at 20:02:01 UTC+10 remy.l...@gmail.com wrote: Actually, to make it simple for you, I have a weather station that doesn't have a USB output. The data is sent to AWEKAS. So in python, for 5 minutes I retrieve this data regularly, make an

Re: [weewx-user] Re: Problem with wee_import utility (rain field)

2023-08-30 Thread Remy LAVABRE
Thank you very much for your patience Gary, Indeed I did not provide you with all the data from the CSV file in order to simplify. However, the fields were in the correct order with the correct wording. Regarding the --dry-run command, I actually remove it for integration. This is why all my

Re: [weewx-user] Re: Problem with wee_import utility (rain field)

2023-08-29 Thread gjr80
I just setup a WeeWX instance with your import config file in your first post but using rain = discrete and a csv data file using the two records in your last post. I ran wee_import using these files and --dry-run and --verbose and received somewhat different output to what you posted, in my

Re: [weewx-user] Re: Problem with wee_import utility (rain field)

2023-08-29 Thread Remy LAVABRE
Hi Gary, I followed your advice: 1/ I now have in the rain field of my csv file the amount of rain that fell over the previous 5 minutes. 2/ I changed the config file so that rain=discrete is now the config value Unfortunately, the integration of the csv file in the weewx database with this new

[weewx-user] Re: Problem with wee_import utility (rain field)

2023-08-27 Thread Remy Lavabre
Thank you Gary for your very quick and detailed response. Nice of you! I had read the documentation on the Weewx utilities guide but had not understood it in the sense you indicate... So I modified my Python program to calculate in the csv file the amount of water that fell over the 5 minute

[weewx-user] Re: Problem with wee_import utility (rain field)

2023-08-26 Thread gjr80
If you are importing a single record and using rain = cumulative the imported rain and rainRate values will always be zero, this is expected behaviour. The reason being that WeeWX records rainfall data on a per archive interval basis; in other words each archive record contains the rainfall