Patrick,

Some comments below.

Gary

On Thursday, 10 January 2019 03:48:16 UTC+10, Patrick Tranchant wrote:
>
> hello
>
> new file is installed : OK, I transfered the database for METRIC
>
> watch modifications in weewx.conf:
>
> [StdConvert]
>
>         # DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
>     target_unit = METRIC    # Options are 'US', 'METRICWX', or 'METRIC'
>

I am not sure why you changed your database to use METRIC units, I never 
suggested this to you, my only suggested change to weewx.conf was to set 
record_generation 
= software. A default setup stores data in the database in US customary 
units (F, mph, inHg and inch) whereas a METRIC database stores data using 
Metric units (C, kph, hPa and cm). Some folks prefer a Metric database but 
for it really does not matter as weeWX automatically converts units. Making 
this change would have had not effect on the issues you had previously, the 
problem was with the data being provided by the byows driver, using a 
METRIC database would still have seen the same errors, but the numbers 
would have been different.

Your install will work fine with METRIC so you can leave it as is, but you 
need to understand that any corrections you apply via 
[StdCalibrate][[Corrections]] will need to be in the units used by your 
database (ie C, kph, hPa and cm as applicable). You may also find that 
depending on how you do your upgrades you could (you should not but you 
could) end up with mismatched units settings in weewx.conf. THis shoudl not 
happen and if it does weeWX will complain and not operate until it is fixed.

 The normal advice given to new and inexperienced users is to leave 
target_unit = US. That is why the # DO NOT MODIFY THIS VALUE UNLESS YOU 
KNOW WHAT YOU ARE DOING! warning is there.

--------------------------------------------------------------------------------------------------------
> [[StandardReport]]
>        
>         # The StandardReport uses the 'Standard' skin, which contains the
>         # images, templates and plots for the report.
>         skin = Standard
>         [[[Units]]]
>             [[[[Groups]]]]
>                 group_altitude = meter
>                 group_speed2 = km_per_second2
>                 group_pressure = mbar
>                 group_rain = cm
>                 group_rainrate = cm_per_hour
>                 group_temperature = degree_C
>                 group_degree_day = degree_C_day
>                 group_speed = km_per_second
>
> I modified also "skin.conf " with the same values; I had to do it, right
>

As with the target_unit setting above the skin.conf settings will have had 
no effect on the errors you were having. The above skin.conf settings 
merely changed the units used in reports etc, your issue was you driver was 
providing incorrect data and this will have flowed throughout weeWX (a 
value of 1019inHg converted to hPa is still going to be wrong).

Again these settings whilst not fixing your problem will have no negative 
effect so can be left.
  

>
>
> watch the result: it is best.
>
> LOOP:   2019-01-09 18:46:14 CET (1547055974) altimeter: 1025.37628385, 
> appTemp: 18.9732960806, barometer: 1025.39785882, cloudbase: 1655.1766733, 
> dateTime: 1547055974, dewpoint: 7.51405904066, heatindex: 19.5532719665, 
> humidex: 19.7662857159, maxSolarRad: None, outHumidity: 45.682554086, 
> outTemp: 19.5532719665, pressure: 1007.12660364, rain: 0.0, rainRate: 
> 0.11176, soilTemp1: 19.062, usUnits: 16, windchill: 19.5532719665, windDir: 
> None, windGust: 0.0, windGustDir: None, windSpeed: 0.0
> REC:    2019-01-09 18:45:00 CET (1547055900) altimeter: 1025.44019215, 
> appTemp: 18.9899493403, barometer: 1025.46009346, cloudbase: 1665.98861419, 
> dateTime: 1547055900.0, dewpoint: 7.45721230845, ET: None, heatindex: 
> 19.583135387, humidex: 19.7737068336, interval: 5, maxSolarRad: None, 
> outHumidity: 45.4223133255, outTemp: 19.583135387, pressure: 1007.18957419, 
> rain: 0.0, rainRate: 0.111759999886, soilTemp1: 19.0622, usUnits: 16, 
> windchill: 19.583135387, windDir: None, windGust: 0.0, windGustDir: None, 
> windrun: 0.0, windSpeed: 0.0
>

Ok, these values look sensible. It certainly appears the pressure issue is 
resolved. My only comment is rainRate, it is non-zero but rain is 0.0. The 
manner in which rainRate is calculated means that is slowly decays to 0 
once it has stopped raining. You might want to keep an eye on this (observe 
rainRate and rain) and confirm that once it has stopped raining rainRate 
does decay to 0 over a matter of minutes. Also make sure that rainRate is 0 
during a long period of no rain (say over a day where there is no rain).
  

>
> I had an error in syslog, but I am an idiot, I wrote km_per_second instead 
> of km_per_hour in weewx.conf; ppppppffffffffff
>
>
yes, these sorts of typos happen to us all.
 

-- 
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.

Reply via email to