William--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sounds like a PYTHONPATH issue. I had a quick look at the repo and did not see any guidance on what should be included on the command line. Exactly what command are you using to run the script? Try running it again but this time capture the command you used and all the output. Post this capture. Also, what type of install? setup.py, deb ?
As for your first question, does this script still work, bear in mind this script is from circa May 2013 when weewx v2.4.0 was the current version. There has been a lot of water under the bridge since then (lots of significant changes introduced in weewx v3.0.0) but since this script only produces a csv file for later import you might be lucky - the amount of interaction with weewx in the script appears minimal.
Gary
sudo cp ./wdConvert.py /usr/share/weewx
cd /usr/share/weewx
sudo python ./wdConvert.py
Option 2, try the following command:
sudo PYTHONPATH=/usr/share/weewx python ./wdConvert.py
assuming you are still in the same directory as where wdConvert.py is located.
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/RLjyUnn9ZI4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
So what is the format of the resulting csv? If it's one record per line then a bit of manipulation should see it be able to be imported with wee_import.
As for the scvConvert.py file, since it was written for weewx 2.x I suspect it will need a bit of work to get it to work with weewx 3.x. The weewx database structure changed significantly from weewx v2 to weewx v3.
Gary
You are game importing from WU, stick with the weather display data, it is your best source.
Gary
                   MONTHLY CLIMATOLOGICAL SUMMARY for Oct 2010
NAME: Lanna, Narke, Sweden                  
ELEV: 101 meter    LAT: 59-14.76 N    LONG: 014-54.96 E
                   TEMPERATURE (°C), RAIN (mm), WIND SPEED (m/s)
                                         HEAT   COOL         AVG
      MEAN                               DEG    DEG          WIND                   DOM
DAY   TEMP   HIGH   TIME    LOW   TIME   DAYS   DAYS   RAIN  SPEED   HIGH   TIME    DIR
---------------------------------------------------------------------------------------
 01
 02
 03
 04
 05
 06
 07
 08
 09
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
---------------------------------------------------------------------------------------
     -14.7   -9.4     04  -20.4     21 1024.9    0.0 1193.8    1.1   10.3     14    251Niklas