Hello

First, excuse my bad English. I hope you understand what I mean.

Working with weewx 3.9.1. Driver is the te923.py. My archive-database is 
sqlite.

I started with recording data a few days ago and I have a big file with 
csv-data, exported over many weeks with the original 
windows-stationsoftware.

The csv.conf-file I created form the csv-example.conf.

Now I will bring in this data to my archive-database with this command:

*sudo /home/weewx/bin/wee_import --config=/home/weewx/weewx.conf 
--import-config=/home/weewx/csv.conf*

and get this error:

***********************************************************
  File "/home/weewx/bin/wee_import", line 76
    file = /var/tmp/data.csv
    ^
IndentationError: unexpected indent
***********************************************************

I think, I know what "IndentationError" means, but I cannot see what is 
wrong in the csv.conf 

***** this is the part in my csv.conf, where I assume the error ******

# Specify the source. Available options are:
#   CSV - import obs from a single CSV format file
#   WU - import obs from a Weather Underground PWS history
#   Cumulus - import obs from a one or more Cumulus monthly log files
# Format is:
#   source = (CSV | WU | Cumulus)
source = CSV

##############################################################################

[CSV]
    # Parameters used when importing from a CSV file

    # Path and name of our CSV source file. Format is:
    #   file = full path and filename
    file = /var/tmp/data.csv

    # If there is no mapped interval field how will the interval field be
    # determined for the imported records. Available options are:

****** End part ************************

I'm a absolte beginner in Python ;(

regards, 
Hans

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to