Hi,

A couple of WeeWX basics might help. You may well find that different units 
are used by different parts of WeeWX depending on a number of things. The 
driver used to obtain data from your station may use metric or US customary 
units, this is dependent on your station and/or the driver. Once in WeeWX 
the data will be converted (if necessary) to the units used within your 
WeeWX database, this could be one of the Metric based unit systems 
supported by WeeWX or it could be US customary. The default is US customary 
and this is where the StdConvert service comes into play, StdConvert 
converts the data from the driver from whatever units the driver used to 
whatever units your database uses. Then you have the reporting system, the 
reporting system uses the Cheetah template engine and a system of tags that 
can be used to specify, among other things, the units for a given 
observation/metric you are displaying. Again there is a default and when 
you installed WeeWX you should have been asked what display units to use, 
eg:

Indicate the preferred units for display: ['us', 'metric']
units [metric]: 

Your answer here would have been used to set the defaults. So there are 
three broad areas where data exists within WeeWX and it is quite possible 
that each could be different, at the end of the day whether the data from 
station to WeeWX or within the WeeWX database is stored in US, metric or 
Martian units is mostly irrelevant, what most people are concerned with are 
what units are displayed on screen.

If you are using the skins packaged with WeeWX (Standard or Seasons) then 
you can alter the displayed units by changing config settings in weewx.conf, 
these settings will likely have been set at install but can easily be 
changed. You should find all you need in the How to change units section 
<http://weewx.com/docs/customizing.htm#how_to_change_units> in the 
Customization Guide. If you are using some other skin then it is possible 
they follow a similar system or they could do things in their manner. Best 
to seek guidance from the skin author/maintainer.

Gary

On Thursday, 6 August 2020 02:21:43 UTC+10, 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/b49e7003-6218-4ad5-8743-4d1c83f84ce6o%40googlegroups.com.

Reply via email to