I have run 4.5.1 for some time, and had gotten suggestions on how to modify the formating of one of the Current area statements, along with adding two pieces of information which are generating from the data base, but have no formal definition or schema name, to wit:

4.5.1, which shows:


Outside Temperature     35.0°F (∆ +1.2°F)
Heat Index     35.0°F
Wind Chill     35.0°F
Dew Point     32.6°F
Humidity     91%
Barometer     29.481 inHg (-0.060 in)
Wind     0 mph N/A ( N/A)
Rain Rate     0.00 in/h
Rain Today     0.00 in
Rainfall Yesterday     0.00 in
Last Rain     06/18/2022 05:00:00 PM
286 days, 4 hours, 25 minutes ago
Inside Temperature     67.0°F


which shows the out temp as compared to yesterday at this time and the
formatted delta sign, along with the Rainfall yesterday and last rain
line along with another line saying how long ago that was.

These are the html  generating statements to get that display

      <tr>
         <td class="label">$obs.label.outTemp</td>
         <td class="data">$current.outTemp (∆
$trend(time_delta=86400).outTemp.format("%+.1f"))</td>
       </tr>
       <tr>
         <td class="label">$obs.label.heatindex</td>
         <td class="data">$current.heatindex</td>
       </tr>
       <tr>
         <td class="label">$obs.label.windchill</td>
         <td class="data">$current.windchill</td>
       </tr>
       <tr>
         <td class="label">$obs.label.dewpoint</td>
         <td class="data">$current.dewpoint</td>
       </tr>
       <tr>
         <td class="label">$obs.label.outHumidity</td>
         <td class="data">$current.outHumidity</td>
       </tr>
       <tr>
         <td class="label">$obs.label.barometer</td>
         <td class="data">$current.barometer ($trend.barometer.formatted
in)</td>
       </tr>
       <tr>
         <td class="label">$obs.label.wind</td>
         <td class="data">$current.windSpeed
$current.windDir.ordinal_compass ($current.windDir)</td>
       </tr>
       <tr>
         <td class="label">$obs.label.rainRate</td>
         <td class="data">$current.rainRate</td>
       </tr>
       <tr>
         <td class="label">$obs.label.rain_today</td>
         <td class="data">$day.rain.sum</td>
       </tr>
       <tr>
        <td class="label">$obs.label.Rainfall Yesterday</td>
         <td class="data">$day($days_ago=1).rain.sum</td>
       </tr>
       <tr>
        <td class="label">$obs.label.Last Rain</td>
        <td class="data">$time_at('rain>0')<br/>$time_since('rain>0')
ago</td>
       </tr>


Question:

Is it possible to have 4.9.1 generate the similar current conditions as
I was in 4.5.1?

I have looked at the current.inc and there are no obvious places to
insert that code, to my eye.   The list of observations is cycled
through, but I cannot see where to insert the formatting for the delta
character, nor since the values for yesterday's rain do not actually
exist as a value in the data base (it is calculated with a sum function,
nor extracting the date of last rain, or the calculated time since last
rain also are not hard values in the data base, I'm confused as to how
to control the generation of those values, and to exercise control of
where in the list of current conditions those can be placed.

I have looked in the Seasons directory, at the current.inc and also the
skins.conf for that directory and find a lot of formatting for the
PLOTS, I don't find any areas that look like it should control the
textual information along the left side.


If I've not confused you, can you provide some guidance as to where I
need to look to control the formatting, where to add the statements and
choose order of appearance ?

I think I have read the customization and user guide a couple times
looking for information there and learn something new each time, but
haven't found this particular guidance.

Thank you.  Dale

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0a06df03-9a3d-0cf2-c21c-154800d2d385%40gmail.com.

Reply via email to