3 feature requests; xscale and select plots and reorder plots

74 views
Skip to first unread message

William Garber

unread,
Feb 11, 2022, 6:10:58 PM2/11/22
to weewx-user
please kind requests
xscale; could you add an option for xscale very similar to yscale.
I figure it would go in weewx/imagegenerator.py on line 169.
the only issue would be making sure it had sensible limits or warning.

select plots and reorder plots.
If there is already some way to do this, how?
Previously I reordered the #includes in /etc/weewx/skins/Seasons/index.html.templ
and commented some of them out.  This has changed in the latest version.


matthew wall

unread,
Feb 11, 2022, 6:34:52 PM2/11/22
to weewx-user
On Friday, February 11, 2022 at 6:10:58 PM UTC-5 william...@att.net wrote:
select plots and reorder plots.
If there is already some way to do this, how?

this is one of the new capabilities of the Seasons skin in weewx 4.6 

if you look in the skin.conf for Seasons, you will find a section called 'DisplayOptions'.  use the 'plot_groups' variable to indicate which plots should be show, and the order in which they should be shown.

note that you can do this directly in the skin.conf, and changes there do not require restart of weewx.  however, if you do it in weewx.conf (which does require restart of weewx) then you can take updates to the Seasons skin without having to re-apply your changes.

in the weewx.conf it would look like this:

[StdReport]
    [[SeasonsReport]]
        skin = Seasons
        enable = true
        [[[DisplayOptions]]]
            plot_groups = barometer, tempdew, wind

the names that you use in plot_groups must correspond with the plot names that are defined in the ImageGenerator section of the skin.conf.  for example, 'tempdew' corresponds to the 'daytempdew', 'weektempdew', 'monthtempdew', and 'yeartempdew' plots.

m



William Garber

unread,
Feb 11, 2022, 7:02:21 PM2/11/22
to weewx-user
awesome
Reply all
Reply to author
Forward
0 new messages