Hi,

If by missing data points you mean missing records then yes your 
understanding of interval = derive appears correct. If your data includes a 
column named interval and it contains valid data (ie can be converted to an 
integer) then yes it will be used for the interval field for each imported 
record in preference to whatever interval = setting you have, in effect in 
such cases the interval setting in the import config file is ignored.

I will make a note to add some clarifying words to the Utilities Guide.

Gary

On Friday, 29 October 2021 at 05:34:52 UTC+10 Konrad Skeri Ekblad wrote:

> Just finished my pywws2weewx converter (available at 
> https://github.com/LapplandsCohan/pywws2weewx) which takes pywws raw 
> files and creates a csv and a config file for wee_import. It would probably 
> not be too much work to make that into a proper wee_import module if one 
> would like.
>
> Anyway. According to the wee_import guide the interval setting has to be 
> one of derive, conf or an integer. For derive there muse be no missing 
> datapoints as I understand the documentation, while the other options uses 
> a fixed interval and is ok with missing datapoints, but on the other hand 
> requires that all datapoints have the same time interval.
> However, according from how I interpret how wee_import actually handles 
> things you can use derive and have missing datapoints if you in the 
> datafile also include a column for interval (which conveniently happens to 
> be available in the pywws data) as wee_import in this case actually does 
> not derive but uses the csv data instead.
> From my tests this works fine on a pywws dataset with missing points and 
> varying datapoint intervals, but can someone confirm that this is a working 
> but undocumented usage of the wee_import?
>
> regards
> Konrad Skeri Ekblad
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/881f7ab1-d80e-4bff-8ba2-8e3bd4cf1089n%40googlegroups.com.

Reply via email to