1) The VWS data does not have dewpoint, heatindex or windgust10 values. Do I need to add these values to the archive table as I'm inputting records?
2) I have tested my installation using the simulator, then switched over to test the davis driver. All seems to be working. After a few minutes, I switched the VWS data logger back to VWS so that I wouldn't miss any records. If I start with a new archive table (using sql to delete current test records) will there be any issues after I update the table with all of my VWS archived records?
3) The VWS had an archive rate of 15 minutes. Can I switch to 5 minutes once I switch over to weewx, or will this cause problems with historical averages?
4) is storing this many records in an sqlite table okay?
5) any other gotchas in doing a conversion to weewx?
1) The VWS data does not have dewpoint, heatindex or windgust10 values. Do I need to add these values to the archive table as I'm inputting records?
3) The VWS had an archive rate of 15 minutes. Can I switch to 5 minutes once I switch over to weewx, or will this cause problems with historical averages?
5) any other gotchas in doing a conversion to weewx?
Looking at the files both should be able to work with wee_import, I just need to put together the code that reads the file. What you have is very similar to the Cumulus monthly log files so rather then re-inventing the wheel it is just a case of a slightly different sized wheel. Will have a look later today.
Gary
Thanks for taking a look. I started looking at your import program. I'm a very amateur programmer, but i was able to follow it (mostly).
I was going to write all the records to a csv file so that your inport program can then read, add the calculated columns, then write the archive record. My quick program would just be a "prep" step before i run your import.
I started looking at your import program. I'm a very amateur programmer, but i was able to follow it (mostly).
wee_import --helpwee_import --vws --source=/path/to/daily/files --calc-missing --dry-runwee_import --vws --source=/path/to/daily/files --calc-missingI 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:
Wish I had your skills in python. My programming is usually pieces I find along the way, and lots of trial and error. I did do some programming back in the dBase days. But that was a 25+ years ago (maybe more)
Tot Rain is a running total. It resets to 0.0 on the first archive record recorded on January 1st unless it was raining during this period. If it was raining, the first achive record on January 1st is the difference between the previous archive and new archive that is being written for the 1st of the year.
DailyRain is a running total. It resets to 0.0 on the first archive record recorded on the new day (whatever the first archive record after midnight) unless it was raining during this period. If it was raining, the value recorded is the difference between the last archive record of the previous day and the new archive record for the new day.
Hope this makes sense. I saw a comment in your code and so I looked at the records from last day of the year, and the start of the new year (same with the daily files)
I didn't see anywhere in VWS where you could designate what day to start the "rain year".
Thanks
Joe,
You need to get the latest wxservices.py from the weewx repo on github, it was updated since the last weewx release so has not been included in a release version yet. Just move your existing wxservices.py aside and slot in the updated version. There is a link in the readme on wee_import page if you can't find it. Unfortunately am away from PC at the moment.
Gary
--
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/gc_F0w_rtQw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The reason there is no map is that we know what each field is in the daily text file and we know the units of each field, so in theory we should be able to get everything we need from the daily text files without the user specifying anything. On the other hand, for a plain old CSV file we don't necessarily know what fields will be where and what their names will be nor do we necessarily know the units. Hence the map for CSV.
Gary
Time Vapor Press Wind Dir A Wind Spd A WindGust A Hum In A Humidity A Temp In A Temp Out A Barom A Tot Rain A UV Avg Solar Avg WindCh AHeatIx In A HeatIx A Dew Pt A SL Barom A Wind Dir H Wind Spd H WindGust H Hum In H Humidity H Temp In H Temp Out H Barom H Tot Rain H UV Hi Solar Hi WindCh HHeatIx In H HeatIx H Dew Pt H SL Barom H Wind Dir L Wind Spd L WindGust L Hum In L Humidity L Temp In L Temp Out L Barom L Tot Rain L UV Lo Solar Lo WindCh LoHeatIx In L HeatIx L Dew Pt L SL Barom L RainRate
in ° mph mph % % °F °F in in W/sqm °F °F °F °F in ° mph mph % % °F °F in in W/sqm °F °F °F °F in ° mph mph % % °F °F in in W/sqm °F °F °F °F in in/hr
Column Parameter
Number
9 Barometric Pressure
24 Sea-level Barometric Pressure
25 Pressure Altitude