I am trying to import data from my previous FineOffset 3081
How do I have to map the time field?
#No,Time,Interval(mi),Indoor Humidity(%),Indoor Temperature(°C),Outdoor
Humidity(%),Outdoor Temperature(°C),Absolute
Pressure(hPa),Wind(km/h),Gust(km/h),Direction,Relative
Pressure(hPa),Dewpoint(°C),Windchill(°C),Hour Rainfall(mm),24 hour
Rainfall(mm),Week Rainfall(mm),Month Rainfall(mm),Total Rainfall(mm),Wind
Level(bft),Gust Level(bft),lightmeter(lux),UV
#1,16-02-2017
09:00,10,57,28.8,64,26.2,993.1,2.5,5.0,NW,1012.0,18.9,26.2,0.0,0.0,0.0,0.9,654.0,1,1,86352.0,0
#2,16-02-2017
13:46,10,57,28.4,64,26.5,993.0,5.0,8.6,N,1010.6,19.2,26.5,0.0,0.0,0.0,0.9,654.0,1,2,148704.0,0
#3,16-02-2017
13:56,10,57,28.4,57,28.7,992.9,1.1,3.6,N,1010.5,19.4,28.7,0.0,0.0,0.0,0.9,654.0,1,1,96896.0,0
[[FieldMap]]
dateTime = Time
usUnits =
interval = 10
barometer = Relative Pressure(hPa), hPa
pressure = Absolute Pressure(hPa), hPa
altimeter =
inTemp = Indoor Temperature(°C), degree_C
outTemp = Outdoor Temperature(°C), degree_C
inHumidity = Indoor Humidity(%), percent
outHumidity = Outdoor Humidity(%), percent
windSpeed = Wind(km/h), km_per_hour
windDir = Direction, compass
windGust = Gust(km/h), km_per_hour
windGustDir = Direction, compass
rainRate =
rain = Rainfall(mm), mm
dewpoint =
windchill =
heatindex =
ET =
radiation = lightmeter(lux), lux
UV = UV
raw_datetime_format = %d-%m-%Y %H:%M
So, should dateTime = Time, raw_date_time_format?
Tried, does not work.
I get this outcome:
wee_import --import-config=/home/maxg/wwimport/csv.conf --dry-run
Starting wee_import...
A CSV import from source file '/home/maxg/wwimport/test4import.txt' has
been requested.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
This is a dry run, imported data will not be saved to archive.
**** Unable to map source data.
**** Field '1' not found in source data.
**** Nothing done, exiting.
Also, what is the unit for WindDir?
Any hints appreciated; thanks.
--
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.