Joe, Have had a chance this afternoon to sit down and look a bit closer at things. In terms of what data is needed for import, it really is a fairly small list as a lot of obs can be derived (eg dew point, heat index, wind chill and any missing pressures (provided you have the other pressure)). So what is beyond BO is really not required. Importing from the csv file would be the neater way to go but given your large history of data is in the daily text files these are what I have coded.
I have made a few assumptions based on your files: 1. file name format is yymmdd.txt 2. date format inside the file is always m/d/y 3. 'Raw barom' is in fact what we know as barometer I have wee_import successfully importing from multiple VWS daily text files. You will find the files in the vws branch on the wee_import repo on GitHub (I am not going to link the repo here as should wee_import eventually be included in weewx I will be deleting the repo). The files can be downloaded in an archive under the 'Releases' tab. Instructions are in the readme. Other than what is in the readme you will need to copy all of your daily text files to a folder that is accessible from your weewx machine. I would suggest the following steps in sequence: 1. If you have any data in weewx you wish to retain then stop weewx (if running) and move your database (nominally weewx.sdb) aside. 2. Run wee_import with the help option: wee_import --help 3. Do a dry run import including any missing obs, this should give you a summary of what it found and what would be imported: wee_import --vws --source=/path/to/daily/files --calc-missing --dry-run 4. If that goes well (--dry-run does everything but actually save to archive) do a full import: 5. wee_import --vws --source=/path/to/daily/files --calc-missing 6. If it all goes well resume weewx 7. If it doesn't go well delete newly created weewx.sdb and replace it with the copy made at step 1, resume weewx I have only done limited testing with the vws code, I was only importing a couple of files rather than 3500 and only did some cursory checking that the right data is going to the right place in the archive. There are also a few limitations at the moment: 1. Only supports wind speeds in mph 2. Only supports rain in inches and mm 3. Only support pressures in inHg Any issues let us know. Gary -- 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.
