WeeWX stores its data in the archive table in your weewx database, one archive record per row. A summary table is created for each observation field that records daily highs/lows/sums, counts and times etc. These summary tables are used as an optimization strategy when aggregates are sought from the historical data. There are a couple of ways to import data. the first is the use of the weeWX utility wee_import <http://weewx.com/docs/utilities.htm#wee_import_utility>, this is the preferred way to import data but it only supports importing data from a CSV format file, Cumulus monthly log files and Weatherunderground. The other approach is to manually add rows to the archive table and then rebuild the daily summaries. Rebuilding the daily summaries is easy using wee_database <http://weewx.com/docs/utilities.htm#wee_database_utility>, adding rows to the archive will be a slow manual process. You may think that adding highs/lows to the daily summaries is a solution, it is not.
In terms of importing your WD data I guess the options are limited, I have little WD knowledge but if you can get the data into one of the formats supported by wee_import that would work (if you google the weewx forums this has come up once or twice before, not sure if there was a third party utility that converted WD data into a format that wee_import supports). Manually adding data is going to take a long time considering you have 5 years of data. I have had a task to add WD support to wee_import for some time now, there has been little call for it so it has taken a back seat. I am happy to look into this again, it won't happen today or tomorrow but then again that is the beauty of importing historical data, the data is not going anywhere so the time imperative is not there. If I have some details about the data structure and format I can look at what be done with wee_import. A word of warning, manipulating the weeWX database manually can be hazardous to the continued good and proper operation of weeWX, do so at your own risk and always make sure you have a backup of your database. Gary On Monday, 7 January 2019 06:40:23 UTC+10, monmul wrote: > > Next issue for me is to import historic information (about 5 years > worth...or just the highs and lows during that period of each measured > item) into weewx? Where is the historic information stored and is there an > easy way of importing the data from WeatherDisplay? > > On Mon, Jan 7, 2019 at 9:35 AM dunbrokin <[email protected] <javascript:>> > wrote: > >> Right I have 10.1.1.1 and 8.8.4.4 as "nameserver" (while shown as >> "name_servers" in the resolvconf.conf file) in the resolv.conf file....I >> presume that will do the job? >> >> >> On Mon, Jan 7, 2019 at 9:32 AM Scott Grayban <[email protected] >> <javascript:>> wrote: >> >>> Ahh I didn't know that. I don't install resolvconfd. >>> On Jan 6, 2019, at 12:30 PM, dunbrokin <[email protected] <javascript:>> >>> wrote: >>>> >>>> Using nameserver instead of name_server means that none of them appear >>>> in the resolv.conf file! >>>> >>>> On Mon, Jan 7, 2019 at 9:27 AM dunbrokin < [email protected] >>>> <javascript:>> wrote: >>>> >>>>> OK will do again. Just looked in the resolv.,conf file.....I get >>>>> nameserver 8.8.4.4 but not the 8.8.8.8! >>>>> >>>>> On Mon, Jan 7, 2019 at 9:23 AM Scott Grayban < [email protected] >>>>> <javascript:>> wrote: >>>>> >>>>>> Use >>>>>> >>>>>> nameserver not name_server >>>>>> On Jan 6, 2019, at 12:20 PM, dunbrokin < [email protected] >>>>>> <javascript:>> wrote: >>>>>>> >>>>>>> Thank you so much for your help Scott! >>>>>>> >>>>>>> On Mon, Jan 7, 2019 at 9:14 AM Scott Grayban < [email protected] >>>>>>> <javascript:>> wrote: >>>>>>> >>>>>>>> If it works yes. >>>>>>>> On Jan 6, 2019, at 12:11 PM, dunbrokin < [email protected] >>>>>>>> <javascript:>> wrote: >>>>>>>>> >>>>>>>>> Great, thanks, will do.....does this now get around the >>>>>>>>> installation of NTP daemon as recommended in the set up instructions? >>>>>>>>> >>>>>>>>> On Sun, Jan 6, 2019 at 9:54 PM Scott Grayban < [email protected] >>>>>>>>> <javascript:>> wrote: >>>>>>>>> >>>>>>>>>> Ok replace that with this then reboot the PI and look at your >>>>>>>>>> weewx log again for the ntp sync. >>>>>>>>>> >>>>>>>>>> After reboot your */etc/resolv.conf* should have those name >>>>>>>>>> servers listed >>>>>>>>>> >>>>>>>>>> # Configuration for resolvconf(8) >>>>>>>>>> # See resolvconf.conf(5) for details >>>>>>>>>> >>>>>>>>>> resolv_conf=/etc/resolv.conf >>>>>>>>>> # If you run a local name server, you should uncomment the below >>>>>>>>>> line and >>>>>>>>>> # configure your subscribers configuration files below. >>>>>>>>>> #nameserver 127.0.0.1 >>>>>>>>>> nameserver 8.8.8.8 >>>>>>>>>> nameserver 8.8.4.4 >>>>>>>>>> >>>>>>>>>> # Mirror the Debian package defaults for the below resolvers >>>>>>>>>> # so that resolvconf integrates seemlessly. >>>>>>>>>> dnsmasq_resolv=/var/run/dnsmasq/resolv.conf >>>>>>>>>> pdnsd_conf=/etc/pdnsd.conf >>>>>>>>>> unbound_conf=/var/cache/unbound/resolvconf_resolvers.conf >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> 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] <javascript:>. >>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>> >>>>>>>>> -- >>>>>>>> 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] <javascript:>. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> -- >>>>>> 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] <javascript:>. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "weewx-user" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/weewx-user/LGS3xtzmot0/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected] <javascript:>. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> 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] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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]. For more options, visit https://groups.google.com/d/optout.
