Display both °C and °F

105 views
Skip to first unread message

weather list

unread,
Dec 30, 2020, 1:10:02 PM12/30/20
to weewx...@googlegroups.com
My system uses US units but I’ve been looking to see if I can somehow display the temp in both systems:

e.g.: 74 °F / 23 °C

Perhaps this is in the docs but I have missed it?

storm...@gmail.com

unread,
Dec 30, 2020, 1:26:39 PM12/30/20
to weewx-user
Give this a try:  $current.outTemp ($current.outTemp.degree_C) 

Dave Webb KB1PVH

unread,
Dec 30, 2020, 1:30:17 PM12/30/20
to weewx...@googlegroups.com
Here's what I did.

 Current Conditions
          </div>
          <table>
            <tbody>
              <tr>
                <td class="stats_label"><b><font size="4">OUTSIDE TEMP</font></b></td>
                <td class="stats_data"><b><font size="4">$current.outTemp / $current.outTemp.degree_C</font></b></td>
              </tr>
              <tr>
                <td class="stats_label">Temperature Trend ($trend.time_delta.hour.format("%.0f"))</td>
                <td class="stats_data">$trend.outTemp</td>
              </tr>
              <tr>
                <td class="stats_label">Wind Chill</td>
                <td class="stats_data">$current.windchill / $current.windchill.degree_C</td>
              </tr>
              <tr>
                <td class="stats_label">Feels Like</td>
                <td class="stats_data">$current.heatindex / $current.heatindex.degree_C</td>
              </tr>
              <tr>




Dave - KB1PVH

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/01F1463B-990C-4F91-B6DF-1C1CD45D146E%40gmail.com.
weewx.JPG

storm...@gmail.com

unread,
Dec 30, 2020, 1:59:33 PM12/30/20
to weewx-user
I made a little summary paragraph.  I still need to work on it, since I get "N/A" if something is missing.

Current Weather for $station.location as of $current.dateTime: $current_obs_summary with a temperature of $current.outTemp ($current.outTemp.degree_C) and a Feel Like Temperature of $current.appTemp ($current.appTemp.degree_C). The current wet bulb temperature is $current.wet_bulb ($current.wet_bulb.degree_C). The wind is blowing from the $current.windDir.ordinal_compass ($current.windDir) at $current.windSpeed ($current.windSpeed.knot); Gusting to $current.windGust ($current.windGust.knot) and an average windspeed of $hour($hours_ago=1).windSpeed.avg ($hour($hours_ago=1).windSpeed.avg.knot) with a max windgust of $hour($hours_ago=1).windGust.max ($hour($hours_ago=1).windGust.max.knot). The current humidity is $current.outHumidity.
            

Current Weather for XXXXX, XXXXX as of 12/30/2020 01:45:00 PM: Mostly Cloudy with a temperature of 32.3 °F (0.2 °C) and a Feel Like Temperature of 25.7 °F (-3.5 °C). The current wet bulb temperature is 26.4 °F (-3.1 °C). The wind is blowing from the SSE (158°) at 3 mph (3 knots); Gusting to 7 mph (6 knots) and an average windspeed of 5 mph (5 knots) with a max windgust of 17 mph (15 knots). The current humidity is 63%.
            
Storm

weather list

unread,
Dec 30, 2020, 4:38:16 PM12/30/20
to weewx...@googlegroups.com
Storm, Dave, many thanks all exactly what I needed.

Reply all
Reply to author
Forward
0 new messages