Updating 4.5.1 output form to 4.9.1

39 views
Skip to first unread message

DR

unread,
Apr 1, 2023, 9:18:04 AM4/1/23
to weewx...@googlegroups.com

You pointed me to the way of making non-wanted observations to not
appear in the new scheme by editing the list of observations in the new
scheme of organization.


My stable system running is 4.5.1 until I learn and get comfortable with
configuring a new Rasp 400 install of 4.9.1


You helped me with a couple of modifications and two additions to the
usual display in the Current Condtions portion of 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 formating 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 calulated 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


Reply all
Reply to author
Forward
0 new messages