Sorry.  I pasted the FiledMap twice.  Here is the Label_Map.

[[Label_Map]]
Time = dateTime
pressure = pressure
outTemp = outTemp
outHumidity = outHumidity
windSpeed = windSpeed
windDir = windDir
windGust = windGust
windGustDir = windGustDir
supplyVoltage = supplyVoltage
lightLevel = radiation
rain = rainRate
DailyRain = rain


On Thursday, June 20, 2019 at 10:58:41 AM UTC-4, Ron Walker wrote:
>
> Hi Gary,
>
> Thanks for your reply!  I have a filed map stanza in the csv.conf file as 
> below:
>
> [[FieldMap]]
>         dateTime    = Time, unix_epoch
> usUnits     = 
> interval    = 
>         pressure    = pressure, inHg
>         outTemp     = outTemp, degree_F
>         outHumidity = outHumidity, percent
>         windSpeed   = WindSpeed, mile_per_hour
>         windDir     = WindDir, degree_compass
>         windGust    = WindGust, mile_per_hour
>         windGustDir = WindGustDir, degree_compass
>         rainRate    = rain, inch_per_hour
>         rain        = DailyRain, inch
> supplyVoltage = supplyVoltage, volt
> radiation   = lightLevel, watt_per_meter_squared
>
> I did not previously have a Label_map section int he weewx.conf file, but 
> added it after your suggestion.  It is:
>
> [[FieldMap]]
>         dateTime    = Time, unix_epoch
> usUnits     = 
> interval    = 
>         pressure    = pressure, inHg
>         outTemp     = outTemp, degree_F
>         outHumidity = outHumidity, percent
>         windSpeed   = WindSpeed, mile_per_hour
>         windDir     = WindDir, degree_compass
>         windGust    = WindGust, mile_per_hour
>         windGustDir = WindGustDir, degree_compass
>         rainRate    = rain, inch_per_hour
>         rain        = DailyRain, inch
> supplyVoltage = supplyVoltage, volt
> radiation   = lightLevel, watt_per_meter_squared
>
> It just appears to me that the fileparse is getting out of synch in that 
> it confuses labels for values and vice versa as in the example above where 
> the value that is sees for 'wind' is actually the partial label for 
> windSpeed.  There are no blank values in the data file.
>
> Any other ideas?
>
> On Thursday, June 20, 2019 at 7:28:59 AM UTC-4, gjr80 wrote:
>>
>> Hi, 
>>
>> I would be looking very carefully at your data file, the first three 
>> errors you listed are a result of trying to convert an empty string to a 
>> float. The wind observation is a special vector type observation that WeeWX 
>> synthesises from a wind speed and wind direction. Given that ‘wind’ has 
>> also appeared in the errors I would be looking closely at your windSpeed 
>> and windDir values. Are they always numeric or can one or both at times be 
>> blank? 
>>
>> Also, have you defined a [[label_map]] under [FileParse] in weewx.conf? 
>> If so what does it contain? 
>>
>> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e6209b9d-fea9-4e44-a21e-3432cf5e6228%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to