>From my weewx.conf
[[Defaults]]
[[[Units]]]
# The following section sets what unit to use for each unit group.
# NB: The unit is always in the singular. I.e., 'mile_per_hour',
# NOT 'miles_per_hour'
[[[[Groups]]]]
group_altitude = meter # Options are 'foot' or 'meter'
group_degree_day = degree_C_day # Options are 'degree_F_day'
or 'degree_C_day'
group_pressure = hPa # Options are 'inHg', 'mmHg', 'mbar',
or 'hPa'
group_rain = mm # Options are 'inch', 'cm', or 'mm'
group_rainrate = mm_per_hour # Options are 'inch_per_hour',
'cm_per_hour', or 'mm_per_hour'
group_speed = km_per_hour # Options are 'mile_per_hour',
'km_per_hour', 'knot', or 'meter_per_second'
group_speed2 = km_per_hour2 # Options are 'mile_per_hour2',
'km_per_hour2', 'knot2', or 'meter_per_second2'
group_temperature = degree_C # Options are 'degree_F' or
'degree_C'
> On 20 Jun 2019, at 23:44, J D <[email protected]> wrote:
>
> Hi,
> In you weewx conf file you you have your reports set up for metric or us.
> They need to be metric.
> Can you post your weewx.conf file. Hide any info you do not want to seen by
> everyone.
> Thanks Jerry
>
> On Thursday, June 20, 2019 at 1:31:23 AM UTC-7, Radoslav Drdla wrote:
> "No, it does it for all units that are in the "English" database, eg
> temperature ° C and ° F, speed km / h and mph, air pressure hPa and inHg."
> I explained it wrongly, thinking that the values DISPLAYED in metric units
> actually correspond to the values that are stored in the database (that is,
> US), and it applies to everyone that is different from each other, not both.
> For example, the time is the same in the US and SI, but the speed is in US in
> mph, in SI in km / h and therefore it is wise to convert, which is not
> happening here and the value from the database (mph) is not converted to km /
> h. Ex. the database is 10 mph and displayed as 10 km / h. (instead of the
> correct 16 km / h).
>
> Dne čtvrtek 20. června 2019 10:19:27 UTC+2 Radoslav Drdla napsal(a):
> Sorry. I don't know much English and I translate everything using google.
> This probably caused a translation error.
> My database is US (default)
>
>
> Dne čtvrtek 20. června 2019 10:11:35 UTC+2 Andrew Milner napsal(a):
> weewx databases do not use 'english'
>
> weewx database units are metric or us (which is what you call english) or
> metricwx (a variation of metric)
>
> so in the weewx database your temperatures will be EITHER Celsius OR
> Farenheit but not both
>
> Is your database US (the default) or metric?
>
> the skin should convert from database values to display values as required.
>
>
>
> On Thursday, 20 June 2019 10:11:43 UTC+3, Radoslav Drdla wrote:
> Hi
> No, it does it for all units that are in the "English" database, eg
> temperature ° C and ° F, speed km / h and mph, air pressure hPa and inHg. It
> is well visible on the charts. And when I switch units (with the button at
> the top right), the page recalculates it, but because the values under which
> it is based are bad, the result is even worse, such as 170 ° F and so on.
> Simply: in the weewx database, the values are in English units (eg, rainfall
> is in ing) and weewx converts it to mm before displaying it, but w34 displays
> it as it is in the database, just changing the label. As a result, only 2.44
> mm is displayed in the graph instead of 62 mm, etc. And by changing the units
> directly on the page, the values are recalculated and the situation gets
> worse - this time this results in 0.096 inch.
> I set something wrong, but I can't figure out what.
> I attach settings.php files (I didn't edit them), settings1.php, and two
> screenshots with graphs.
>
> Dne úterý 18. června 2019 19:27:25 UTC+2 Radoslav Drdla napsal(a):
> Hi, I have weewx 3.9.1 installed and I added W34 skin. I had a few problems I
> solved, but with one I don't know how to go on. The thing is that the data
> from weewx database is in Imperial units (recommended) and templates are
> converted to metric. But the W34skin data from "realtime.txt" is displayed
> correctly, but leaves the data it receives directly from the database in its
> original units and then the skin displays nonsense. E.g. the current
> temperature is 25.1 ° C, but the Max / min temperatures are 81.7 ° C / 59.9 °
> C (which are actually temperatures in ° F), similarly the wind speed is in km
> / h, but the values correspond to mph etc.
> My database has data since 2013 and I don't want to lose data or convert it
> to a metric system. Is it possible to solve it or is W34 skin unusable for me?
>
> You can see here: http://www.pocasi-kucerov.cz/w34/index.php
> <http://www.pocasi-kucerov.cz/w34/index.php>
>
>
> --
> 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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/709ff0da-5550-4c1e-9ee9-7ad38083696e%40googlegroups.com
>
> <https://groups.google.com/d/msgid/weewx-user/709ff0da-5550-4c1e-9ee9-7ad38083696e%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
--
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/F9F68A41-E1D6-4CE2-9C62-C782DA3C4708%40gmail.com.
For more options, visit https://groups.google.com/d/optout.