See bin/weewx/engine.py:
class StdConvert(StdService):
"""Service for performing unit conversions.
This service acts as a filter. Whatever packets and records come in are
converted to a target unit system.
This service should be run before most of the others, so observations appear
in the correct unit."""
Also, see docs/devnotes.htm:
The general strategy is that measurements are converted by service StdConvert
as they come off the weather station into a target unit system, then stored
internally in the database in that unit system. Then, as they come off the
database to be used for a report, they are converted into a target unit,
specified by the skin.
> On Aug 5, 2020, at 11:20 AM, Randy <[email protected]> wrote:
>
>
> If the DB settings are set to us and the data from the HW is coming in as
> metric, where is the conversion supposed to occur?
>
>> On Wednesday, August 5, 2020 at 12:21:43 PM UTC-4, Randy wrote:
>> I am new to weewx. I have data coming in from my device is coming in as
>> metric (specifically, temp is C). I want to display that data as US, F.
>> The default weewx skin is showing the data as metric values like 20F which
>> is actually 20C whereas it should be 68F. Where does this conversion happen
>> or where do I chance the configuration?
>>
>> Thank you
>> Randy
>
> --
> 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/66a2cfc1-98c2-44ea-b9e2-4ecf8543752bo%40googlegroups.com.
--
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/A8888ECC-3618-4268-BA06-B677C7D89FC9%40johnkline.com.