Gary,

The calculated values were indeed calculated after the completed import. As 
I test I imported a period of 2 days.
So far so good!

In my case I want to import a year of data!

If during this import (which will take very long) something goes wrong, the 
program is aborted and no derived values will be calculated.
When I start the batch all over from the beginning, tjhe raw records which 
are already in the database will be skipped (and not overwritten).
The derived values also won't be calculated for those existing  records.

A beter approach would be to calculate the derived values per tranche 
(default: 250 records). 
Then when something goes wrong, we can start with the a new date (short 
after the latest catched record).

 Luc

On Sunday, 22 March 2020 10:30:44 UTC-3, gjr80 wrote:
>
> Luc,
>
> Did you let the wee_import session run until completion? There was a 
> change in the way missing derived obs are calculated by wee_import under 
> WeeWX 4.0. Previously missing derived records were calculated record by 
> record at time of record import, now under 4.0 missing derived obs are 
> calculated in a second pass of the imported data once the import is 
> complete. If you have let wee_import run to its conclusion and the missing 
> derived obs were not calculated can you post the log or console output for 
> the entire wee_import session.
>
> Gary
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/6aeb9dc1-1a22-4326-b9fe-5fccf8fd35cf%40googlegroups.com.

Reply via email to