The documentation for wee_import says that the --from and --to date/times are inclusive and exclusive, respectively. But what is reported when an import is run, and what the code actually implements, is the other way around: the --from is exclusive and the --to is inclusive. (To further the confusion, the comment at line 187 in weeimport.py implies that both are inclusive.) The way it is implemented makes sense given that the timestamp points to the end of the archive interval, but the disparity is confusing. Assuming I’m understanding this correctly, I’d suggest the utilities guide be corrected, perhaps including a brief explanation of why exclusive/inclusive is the appropriate choice.
That said, I’m very happy to find that wee_import does exactly what I need to recover a bunch of data. Saved me several hours of work! -Les -- 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/547B8209-FDD1-45C6-B636-4960DBEE4833%402pi.org.
