Hi


If understand this correctly this snippet from my weex.conf


[[forecast]]

HTML_ROOT = public_html/forecast

skin = forecast


will create an index file in the folder public_html/forecast

and use the skn from the forecast directory


Uncomment here or override in weewx.conf to display other units

#[Units]

# [[Groups]]

group_altitude = meter

group_degree_day = degree_C_day

group_pressure = mbar

group_radiation = watt_per_meter_squared

group_rain = mm

group_rainrate = mm_per_hour

group_speed = meter_per_second

group_speed2 = meter_per_second2

group_temperature = degree_C



my standard skin also has the following

[Units]

# This section is for managing the selection and formatting of units.

[[Groups]]

# For each group of measurements, this section sets what units to

# use for it.

# NB: The unit is always in the singular. I.e., 'mile_per_hour',

# NOT 'miles_per_hour'


group_altitude = meter # Options are 'foot' or 'meter'

group_degree_day = degree_c_day # Options are 'degree_F_day' or 
'degree_C_day'

group_direction = degree_compass

group_moisture = centibar

group_percent = percent

group_pressure = mbar # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'

group_radiation = watt_per_meter_squared

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 = mile_per_hour # Options are 'mile_per_hour', 'km_per_hour', 
'knot', or 'meter_per_second'

group_speed2 = mile_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'

group_uv = uv_index

group_volt = volt


# The following are used internally and should not be changed:

group_count = count

group_interval = minute

group_time = unix_epoch

group_elapsed = second


[[StringFormats]]




and finally in my weewx.conf



[[StandardReport]]

# See the customizing guide to change the units, plot types and line

# colors, modify the fonts, display additional sensor data, and other

# customizations. Many of those changes can be made here by overriding

# parameters, or by modifying templates within the skin itself.

# 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 = meter_per_second2

group_pressure = mbar

group_rain = mm

group_rainrate = mm_per_hour

group_temperature = degree_C

group_degree_day = degree_C_day

group_speed = meter_per_second

[[cmon]]

HTML_ROOT = public_html/cmon

skin = cmon



so I believe I have it configure correctly to display metric units in my 
forecast html




so i am unsure why i get feet and deg F in my forecast index_html







On Monday, February 5, 2018 at 10:41:40 PM UTC, vigilancewx wrote:
>
> Hi
>
>
> I have install weewx 3.8
>
>
> I am running it in simulator mode while testing 
>
>
> The graphs and temps that are shown within the public_html directory are 
> in metric units as per weewx.conf
>
>
> I have instaled xtide and when testing it from the command line interface 
> the HI low tides are shown in meters
>
>
> I have installed the forecast module with an API from the UK metoffice and 
> WU
>
>
> the forecasts displayed (weather and tides ) in the index.html with the 
> public_html/forcecast/ directory are shown in US units
>
>
> do I need to configure the forecast.py or skin to enable the metric units
>
>
> weewx is showning the correct metric units
>
> the forcast extension is shown US units??
>
>
> thanks for any help
>

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