Hello, Tom!

No less than or equal to zero values at min_interval.

pi@pi3:/home/weewx/skins/Seasons $ grep yscale skin.conf 
    # plotting can be controlled using option 'yscale'. It is a 3-way tuple,
    yscale = None, None, None
            yscale = None, None, 0.5
            yscale = None, None, 0.02
            yscale = 0.0, 360.0, 45.0
#            yscale = 0, 16, 1
            yscale = 0.0, 100.0, 25.0
            yscale = 0, None, 0.01
            yscale = None, None, 0.5
            yscale = None, None, 0.02
            yscale = 0.0, 360.0, 45.0
#            yscale = 0, 16, 1
            yscale = 0.0, 100.0, 25.0
            yscale = 0, None, 0.01
            yscale = None, None, 0.5
            yscale = None, None, 0.02
            yscale = 0.0, 360.0, 45.0
#            yscale = 0, 16, 1
            yscale = 0.0, 100.0, 25.0
            yscale = 0, None, 0.01
            yscale = None, None, 0.5
            yscale = None, None, 0.02
            yscale = 0.0, 360.0, 45.0
#            yscale = 0, 16, 1
            yscale = 0.0, 100.0, 25.0
            yscale = 0, None, 0.01



On Thursday, January 14, 2021 at 5:11:12 PM UTC+2 [email protected] wrote:

> Hello, Tarmo
>
> One of the images that you are trying to generate has an option y_scale 
> <http://www.weewx.com/docs/customizing.htm#Plot_scaling_options> with a 
> min_interval of zero, or less than zero.
>
> Look in the file /home/weewx/skins/Seasons/skin.conf for images that use 
> y_scale. They will look something like this:
>
>     yscale = 10, 20, -1
>
> or like this
>
>     yscale = 10, 20, 0
>
> The "10" and the "20" do not matter. It's the last number that we care 
> about. It cannot be less than or equal to zero. 
>
> If you're having trouble, post the file skin.conf.
>
> -tk
>
> On Thu, Jan 14, 2021 at 3:37 AM Tarmo <[email protected]> wrote:
>
>> Hi,
>>
>> Please help with this:
>>
>> Jan 14 13:21:58 pi3 systemd[1]: Starting LSB: weewx weather system...
>> Jan 14 13:21:59 pi3 weewx[1306] INFO __main__: Initializing weewx version 
>> 4.3.0b2
>> Jan 14 13:21:59 pi3 weewx[1306] INFO __main__: Using Python 3.5.3 
>> (default, Nov 18 2020, 21:09:16) #012[GCC 6.3.0 20170516]
>> Jan 14 13:21:59 pi3 weewx[1306] INFO __main__: Platform 
>> Linux-4.19.66-v7+-armv7l-with-debian-9.13
>> Jan 14 13:21:59 pi3 weewx[1306] INFO __main__: Locale is 'en_GB.UTF-8'
>> Jan 14 13:21:59 pi3 weewx[1306] INFO __main__: PID file is 
>> /var/run/weewx.pid
>> Jan 14 13:21:59 pi3 weewx[1310] INFO __main__: Using configuration file 
>> /home/weewx/weewx.conf
>> Jan 14 13:21:59 pi3 weewx[1310] INFO __main__: Debug is 0
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.engine: Loading station type 
>> Vantage (weewx.drivers.vantage)
>> Jan 14 13:21:59 pi3 weewx[1295]: Starting weewx weather system: weewx.
>> Jan 14 13:21:59 pi3 systemd[1]: Started LSB: weewx weather system.
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.engine: StdConvert target unit 
>> is 0x1
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.engine: Archive will use data 
>> binding wx_binding
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.engine: Record generation will 
>> be attempted in 'hardware'
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.engine: Using archive interval 
>> of 300 seconds (specified by hardware)
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.restx: StationRegistry: 
>> Station will be registered.
>> Jan 14 13:21:59 pi3 weewx[1310] INFO user.mqtt: service version is 0.22
>> Jan 14 13:21:59 pi3 weewx[1310] INFO user.mqtt: binding to loop
>> Jan 14 13:21:59 pi3 weewx[1310] INFO user.mqtt: topic is weather
>> Jan 14 13:21:59 pi3 weewx[1310] INFO user.mqtt: desired unit system is 
>> METRIC
>> Jan 14 13:21:59 pi3 weewx[1310] INFO user.mqtt: data will be uploaded to 
>> mqtt://ilm:xxx@localhost:1883/
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.restx: Wunderground-PWS: Data 
>> for station IHARJUMA19 will be posted
>> Jan 14 13:21:59 pi3 weewx[1310] INFO user.windy: version is 0.7
>> Jan 14 13:21:59 pi3 weewx[1310] INFO user.windy: Data will be uploaded to 
>> https://stations.windy.com/pws/update
>> Jan 14 13:21:59 pi3 weewx[1310] INFO __main__: Starting up weewx version 
>> 4.3.0b2
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.engine: Clock error is 0.06 
>> seconds (positive is fast)
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.engine: Using binding 
>> 'wx_binding' to database 'weewx.sdb'
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.manager: Starting backfill of 
>> daily summaries
>> Jan 14 13:21:59 pi3 weewx[1310] INFO weewx.engine: Starting main packet 
>> loop.
>> Jan 14 13:25:20 pi3 weewx[1310] INFO weewx.manager: Added record 
>> 2021-01-14 13:25:00 EET (1610623500) to database 'weewx.sdb'
>> Jan 14 13:25:20 pi3 weewx[1310] INFO weewx.manager: Added record 
>> 2021-01-14 13:25:00 EET (1610623500) to daily summary in 'weewx.sdb'
>> Jan 14 13:25:22 pi3 weewx[1310] INFO weewx.restx: Windy: Published record 
>> 2021-01-14 13:25:00 EET (1610623500)
>> Jan 14 13:25:22 pi3 weewx[1310] INFO weewx.restx: StationRegistry: 
>> Published record 2021-01-14 13:25:00 EET (1610623500)
>> Jan 14 13:25:22 pi3 weewx[1310] INFO weewx.restx: Wunderground-PWS: 
>> Published record 2021-01-14 13:25:00 EET (1610623500)
>> Jan 14 13:27:00 pi3 weewx[1310] INFO weewx.cheetahgenerator: Generated 
>> 158 files for report SeasonsReport in 98.47 seconds
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: Caught 
>> unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** math 
>> domain error
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** Traceback 
>> (most recent call last):
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** File 
>> "/home/weewx/bin/weewx/reportengine.py", line 196, in run
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** obj.start()
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** File 
>> "/home/weewx/bin/weewx/reportengine.py", line 281, in start
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** self.run()
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** File 
>> "/home/weewx/bin/weewx/imagegenerator.py", line 41, in run
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** 
>> self.genImages(self.gen_ts)
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** File 
>> "/home/weewx/bin/weewx/imagegenerator.py", line 263, in genImages
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** image = 
>> plot.render()
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** File 
>> "/home/weewx/bin/weeplot/genplot.py", line 210, in render
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** 
>> self._calcYScaling()
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** File 
>> "/home/weewx/bin/weeplot/genplot.py", line 517, in _calcYScaling
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** 
>> self.yscale = weeplot.utilities.scale(ymin, ymax, self.yscale, 
>> nsteps=self.y_nticks)
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** File 
>> "/home/weewx/bin/weeplot/utilities.py", line 132, in scale
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** mag = 
>> math.floor(math.log10(steps))
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** 
>> ValueError: math domain error
>> Jan 14 13:27:06 pi3 weewx[1310] ERROR weewx.reportengine: **** Generator 
>> terminated
>> Jan 14 13:27:06 pi3 weewx[1310] INFO weewx.reportengine: Copied 15 files 
>> to /var/ramdisk/ilmajaam
>> Jan 14 13:27:07 pi3 weewx[1310] INFO weeutil.rsyncupload: rsync'd 206 
>> files (865,386 bytes) in 0.95 seconds
>>
>> -- 
>> 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].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/4a9fa165-a2d6-42ee-bd21-b592e83bac22n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/4a9fa165-a2d6-42ee-bd21-b592e83bac22n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6749bd2f-e190-4aab-ac7f-b0e77131ea86n%40googlegroups.com.
###############################################################################
# SEASONS SKIN CONFIGURATION FILE                                             #
# Copyright (c) 2018 Tom Keffer <[email protected]> and Matthew Wall          #
# See the file LICENSE.txt for your rights.                                   #
###############################################################################

skin_semantics = 2

###############################################################################

# The following section is for any extra tags that you want to be available in 
the templates
[Extras]

    # This radar image would be available as $Extras.radar_img
    #radar_img = http://radar.weather.gov/ridge/lite/N0R/RTX_loop.gif
    # This URL will be used as the image hyperlink:
    #radar_url = 
http://radar.weather.gov/ridge/radar.php?product=NCR&rid=RTX&loop=yes

    # Similar to radar, but for satellite image.
    #satellite_img = 
http://images.intellicast.com/WxImages/SatelliteLoop/hipacsat_None_anim.gif
    #satellite_url = 
http://images.intellicast.com/WxImages/SatelliteLoop/hipacsat_None_anim.gif

    # To display a map, enter an API key for google maps
    #google_maps_apikey = xxx

    # If you have a Google Analytics ID, uncomment and edit the next line, and
    # the analytics code will be included in your generated HTML files:
    #googleAnalyticsId = UA-12345678-1

###############################################################################

[Labels]

    # Override some labels. No need to identify these as a "Battery"
    # or "Voltage", because that is included in the template.
    [[Generic]]
        txBatteryStatus      = Transmitter
        windBatteryStatus    = Wind
        rainBatteryStatus    = Rain
        outTempBatteryStatus = Outside Temperature
        inTempBatteryStatus  = Inside Temperature
        consBatteryVoltage   = Console
        heatingVoltage       = Heating
        supplyVoltage        = Supply
        referenceVoltage     = Reference

        # Some specialized labels
        rain_today           = Rain Today
        wind                 = Wind


###############################################################################

# The CheetahGenerator creates files from templates.  This section
# specifies which files will be generated from which template.

[CheetahGenerator]

    search_list_extensions = user.stats.MyStats

    # Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
    encoding = html_entities

    [[SummaryByMonth]]
        # Reports that summarize "by month"
        [[[NOAA_month]]]
            encoding = strict_ascii
            template = NOAA/NOAA-YYYY-MM.txt.tmpl

    [[SummaryByYear]]
        # Reports that summarize "by year"
        [[[NOAA_year]]]
            encoding = strict_ascii
            template = NOAA/NOAA-YYYY.txt.tmpl
        
    [[ToDate]]
        # Reports that show statistics "to date", such as day-to-date,
        # week-to-date, month-to-date, etc.
        [[[index]]]
            template = index.html.tmpl
        [[[statistics]]]
            template = statistics.html.tmpl
        [[[telemetry]]]
            template = telemetry.html.tmpl
        [[[tabular]]]
            template = tabular.html.tmpl
        [[[celestial]]]
            template = celestial.html.tmpl
            # Uncomment the following to have WeeWX generate a celestial page 
only once an hour:
            # stale_age = 3600
        [[[RSS]]]
            template = rss.xml.tmpl
            
###############################################################################

# The CopyGenerator copies files from one location to another.

[CopyGenerator]

    # List of files to be copied only the first time the generator runs
    copy_once = seasons.css, seasons.js, favicon.ico, font/*.woff, 
font/*.woff2, *.png, *.svg, *.xml, *.json

    # List of files to be copied each time the generator runs
    # copy_always = 
        

###############################################################################

# The ImageGenerator creates image plots of data.

[ImageGenerator]

    # This section lists all the images to be generated, what SQL types are to
    # be included in them, along with many plotting options. There is a default
    # for almost everything. Nevertheless, values for most options are included
    # to make it easy to see and understand the options.
    #
    # Fonts can be anything accepted by the Python Imaging Library (PIL), which
    # includes truetype (.ttf), or PIL's own font format (.pil). See
    # http://www.pythonware.com/library/pil/handbook/imagefont.htm for more
    # details.  Note that "font size" is only used with truetype (.ttf)
    # fonts. For others, font size is determined by the bit-mapped size,
    # usually encoded in the file name (e.g., courB010.pil). A relative path
    # for a font is relative to the SKIN_ROOT.  If a font cannot be found,
    # then a default font will be used.
    #
    # Colors can be specified any of three ways:
    #   1. Notation 0xBBGGRR;
    #   2. Notation #RRGGBB; or
    #   3. Using an English name, such as 'yellow', or 'blue'.
    # So, 0xff0000, #0000ff, or 'blue' would all specify a pure blue color.
    
    image_width = 500
    image_height = 180
    image_background_color = 0xffffff
    
    chart_background_color = 0xffffff
    chart_gridline_color = 0xd0d0d0

    # Setting to 2 or more might give a sharper image with fewer jagged edges
    anti_alias = 1

    top_label_font_path = font/OpenSans-Bold.ttf
    top_label_font_size = 14

    unit_label_font_path = font/OpenSans-Bold.ttf
    unit_label_font_size = 12
    unit_label_font_color = 0x787878

    bottom_label_font_path = font/OpenSans-Regular.ttf
    bottom_label_font_size = 12
    bottom_label_font_color = 0x787878
    bottom_label_offset = 3

    axis_label_font_path = font/OpenSans-Regular.ttf
    axis_label_font_size = 10
    axis_label_font_color = 0x787878
    
    # Options for the compass rose, used for progressive vector plots
    rose_label = N
    rose_label_font_path = font/OpenSans-Regular.ttf
    rose_label_font_size  = 9
    rose_label_font_color = 0x222222

    # Default colors for the plot lines. These can be overridden for
    # individual lines using option 'color'.
    chart_line_colors = 0xb48242, 0x4242b4, 0x42b442, 0xb4b442, 0xb442b4
    
    # Default fill colors for bar charts. These can be overridden for
    # individual bar plots using option 'fill_color'.
    chart_fill_colors = 0xc4b272, 0x7272c4, 0x72c472, 0xc4c472, 0xc472c4
    
    # Type of line. Options are 'solid' or 'none'.
    line_type = 'solid'

    # Size of marker in pixels
    marker_size = 8

    # Type of marker. Options are 'cross', 'x', 'circle', 'box', or 'none'.
    marker_type ='none'
        
    # The following option merits an explanation. The y-axis scale used for
    # plotting can be controlled using option 'yscale'. It is a 3-way tuple,
    # with values (ylow, yhigh, min_interval). If set to "None", a parameter is
    # set automatically, otherwise the value is used. However, in the case of
    # min_interval, what is set is the *minimum* y-axis tick interval. 
    yscale = None, None, None

    # For progressive vector plots, you can choose to rotate the vectors.
    # Positive is clockwise.
    # For my area, westerlies overwhelmingly predominate, so by rotating
    # positive 90 degrees, the average vector will point straight up.
    vector_rotate = 90

    # This defines what fraction of the difference between maximum and minimum
    # horizontal chart bounds is considered a gap in the samples and should not
    # be plotted.
    line_gap_fraction = 0.01

    # This controls whether day/night bands will be shown. They only look good
    # on plots wide enough to show individual days such as day and week plots.
    show_daynight = true
    # These control the appearance of the bands if they are shown.
    # Here's a monochrome scheme:
    daynight_day_color   = 0xfffafd
    daynight_night_color = 0xe2dfdf
    daynight_edge_color  = 0xd8d8e0
    # Here's an alternative, using a blue/yellow tint:
    #daynight_day_color   = 0xf8ffff
    #daynight_night_color = 0xfff8f8
    #daynight_edge_color  = 0xf8f8ff

    # What follows is a list of subsections, each specifying a time span, such
    # as a day, week, month, or year. There's nothing special about them or
    # their names: it's just a convenient way to group plots with a time span
    # in common. You could add a time span [[biweek_images]] and add the
    # appropriate time length, aggregation strategy, etc., without changing
    # any code.
    #
    # Within each time span, each sub-subsection is the name of a plot to be
    # generated for that time span. The generated plot will be stored using
    # that name, in whatever directory was specified by option 'HTML_ROOT'
    # in weewx.conf.
    #
    # With one final nesting (four brackets!) is the sql type of each line to
    # be included within that plot.
    #
    # Unless overridden, leaf nodes inherit options from their parent
    
    # Default plot parameters
    plot_type = line
    aggregate_type = none
    width = 1
    time_length = 86400 # 24 hours
#    y_label_side = both

    [[day_images]]
        x_label_format = %H:%M
        bottom_label_format = %x %X
        time_length = 97200 # 27 hours
        
        [[[daybarometer]]]
            [[[[barometer]]]]
        
        [[[daytempdew]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
        
        [[[daytempfeel]]]
            [[[[windchill]]]]
            [[[[heatindex]]]]

        [[[daytempin]]]
            [[[[inTemp]]]]

        [[[daytemp]]]
            yscale = None, None, 0.5
            [[[[extraTemp1]]]]
            [[[[extraTemp2]]]]
            [[[[extraTemp3]]]]

        [[[dayhum]]]
            [[[[outHumidity]]]]

        [[[dayhumin]]]
            [[[[inHumidity]]]]
        
        [[[dayrain]]]
            # Make sure the y-axis increment is at least 0.02 for the rain plot
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                aggregate_interval = 3600
                label = Rain (hourly total)
        
        [[[daywind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
        
        [[[daywinddir]]]
            # Hardwire in the y-axis scale for wind direction
            yscale = 0.0, 360.0, 45.0
            line_type = None
            marker_type = box
            marker_size = 2
            [[[[windDir]]]]
    
        [[[daywindvec]]]
            [[[[windvec]]]]
                plot_type = vector

        [[[dayradiation]]]
            [[[[radiation]]]]

        [[[dayuv]]]
#            yscale = 0, 16, 1
            [[[[UV]]]]

        [[[dayrx]]]
            yscale = 0.0, 100.0, 25.0
            [[[[rxCheckPercent]]]]

        [[[dayvolt]]]
            [[[[consBatteryVoltage]]]]
            [[[[heatingVoltage]]]]
            [[[[supplyVoltage]]]]
            [[[[referenceVoltage]]]]

         [[[dayMem]]]
           y_label = "Mb"
           [[[[soilMoist1]]]]
             label = VmSize
           [[[[soilMoist2]]]]
             label = VmRSS

        [[[dayenergy]]]
            y_label = "kWh"
            yscale = 0, None, 0.01
            plot_type = bar
            [[[[soilTemp3]]]]
                aggregate_type = sum
                aggregate_interval = 3600
                label = Energy (hourly total)
 

    [[week_images]]
        x_label_format = %d
        bottom_label_format = %x %X
        time_length = 604800 # 7 days
        aggregate_type = avg
        aggregate_interval = 3600
        
        [[[weekbarometer]]]
            [[[[barometer]]]]
        
        [[[weektempdew]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
        
        [[[weektempfeel]]]
            [[[[windchill]]]]
            [[[[heatindex]]]]
        
        [[[weektempin]]]
            [[[[inTemp]]]]

        [[[weektemp]]]
            yscale = None, None, 0.5
            [[[[extraTemp1]]]]
            [[[[extraTemp2]]]]
            [[[[extraTemp3]]]]

        [[[weekhum]]]
            [[[[outHumidity]]]]

        [[[weekhumin]]]
            [[[[inHumidity]]]]

        [[[weekrain]]]
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                aggregate_interval = 86400
                label = Rain (daily total)
        
        [[[weekwind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
                aggregate_type = max
        
        [[[weekwinddir]]]
            yscale = 0.0, 360.0, 45.0
            line_type = None
            marker_type = box
            marker_size = 2
            [[[[windDir]]]]
    
        [[[weekwindvec]]]
            [[[[windvec]]]]
                plot_type = vector

        [[[weekradiation]]]
            [[[[radiation]]]]

        [[[weekuv]]]
#            yscale = 0, 16, 1
            [[[[UV]]]]

        [[[weekrx]]]
            yscale = 0.0, 100.0, 25.0
            [[[[rxCheckPercent]]]]

        [[[weekvolt]]]
            [[[[consBatteryVoltage]]]]
            [[[[heatingVoltage]]]]
            [[[[supplyVoltage]]]]
            [[[[referenceVoltage]]]]

         [[[weekMem]]]
           y_label = "Mb"
           [[[[soilMoist1]]]]
             label = VmSize
           [[[[soilMoist2]]]]
             label = VmRSS

        [[[weekenergy]]]
            y_label = "kWh"
            yscale = 0, None, 0.01
            plot_type = bar
            [[[[soilTemp3]]]]
                aggregate_type = sum
                aggregate_interval = 86400
                label = Energy (daily total)


    [[month_images]]
        x_label_format = %d
        bottom_label_format = %x %X
        time_length = 2592000 # 30 days
        aggregate_type = avg
        aggregate_interval = 10800 # 3 hours
        show_daynight = false
        
        [[[monthbarometer]]]
            [[[[barometer]]]]
        
        [[[monthtempdew]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
        
        [[[monthtempfeel]]]
            [[[[windchill]]]]
            [[[[heatindex]]]]
        
        [[[monthtempin]]]
            [[[[inTemp]]]]

        [[[monthtemp]]]
            yscale = None, None, 0.5
            [[[[extraTemp1]]]]
            [[[[extraTemp2]]]]
            [[[[extraTemp3]]]]

        [[[monthhum]]]
            [[[[outHumidity]]]]

        [[[monthhumin]]]
            [[[[inHumidity]]]]

        [[[monthrain]]]
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                aggregate_interval = 86400
                label = Rain (daily total)
        
        [[[monthwind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
                aggregate_type = max
        
        [[[monthwinddir]]]
            yscale = 0.0, 360.0, 45.0
            line_type = None
            marker_type = box
            marker_size = 2
            [[[[windDir]]]]
    
        [[[monthwindvec]]]
            [[[[windvec]]]]
                plot_type = vector

        [[[monthradiation]]]
            [[[[radiation]]]]

        [[[monthuv]]]
#            yscale = 0, 16, 1
            [[[[UV]]]]

        [[[monthrx]]]
            yscale = 0.0, 100.0, 25.0
            [[[[rxCheckPercent]]]]

        [[[monthvolt]]]
            [[[[consBatteryVoltage]]]]
            [[[[heatingVoltage]]]]
            [[[[supplyVoltage]]]]
            [[[[referenceVoltage]]]]

         [[[monthMem]]]
           y_label = "Mb"
           [[[[soilMoist1]]]]
             label = VmSize
           [[[[soilMoist2]]]]
             label = VmRSS

        [[[monthenergy]]]
            y_label = "kWh"
            yscale = 0, None, 0.01
            plot_type = bar
            [[[[soilTemp3]]]]
                aggregate_type = sum
                aggregate_interval = 86400
                label = Energy (daily total)

    [[year_images]]
        x_label_format = %m/%d
        bottom_label_format = %x %X
        time_length = 31536000 # 365 days
        aggregate_type = avg
        aggregate_interval = 86400
        show_daynight = false
        
        [[[yearbarometer]]]
            [[[[barometer]]]]

        [[[yeartempdew]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
        
        [[[yeartempfeel]]]
            [[[[windchill]]]]
            [[[[heatindex]]]]
        
        [[[yeartempin]]]
            [[[[inTemp]]]]

        [[[yeartemp]]]
            yscale = None, None, 0.5
            [[[[extraTemp1]]]]
            [[[[extraTemp2]]]]
            [[[[extraTemp3]]]]

        [[[yearhum]]]
            [[[[outHumidity]]]]

        [[[yearhumin]]]
            [[[[inHumidity]]]]
        
        [[[yearrain]]]
            yscale = None, None, 0.02
            plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                # aggregate_interval = 2629800 # the length of a nominal month
                aggregate_interval = 604800    # one week
                label = Rain (weekly total)
                
        [[[yearwind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
                aggregate_type = max
        
        [[[yearwinddir]]]
            yscale = 0.0, 360.0, 45.0
            line_type = None
            marker_type = box
            marker_size = 2
            [[[[windDir]]]]

        [[[yearwindvec]]]
            [[[[windvec]]]]
                plot_type = vector

        [[[yearradiation]]]
            [[[[radiation]]]]

        [[[yearuv]]]
#            yscale = 0, 16, 1
            [[[[UV]]]]

        [[[yearrx]]]
            yscale = 0.0, 100.0, 25.0
            [[[[rxCheckPercent]]]]

        [[[yearvolt]]]
            [[[[consBatteryVoltage]]]]
            [[[[heatingVoltage]]]]
            [[[[supplyVoltage]]]]
            [[[[referenceVoltage]]]]

        [[[yearenergy]]]
            y_label = "kWh"
            yscale = 0, None, 0.01
            plot_type = bar
            [[[[soilTemp3]]]]
                aggregate_type = sum
                # aggregate_interval = 2629800 # the length of a nominal month
                aggregate_interval = 604800    # one week
                label = Energy (weekly total)



        # A progressive vector plot of daily gust vectors overlayed
        # with the daily wind average would look something like this:
#        [[[yeargustvec]]]
#            [[[[windvec]]]]
#                plot_type = vector
#                aggregate_type = avg
#            [[[[windgustvec]]]]
#                plot_type = vector
#                aggregate_type = max


###############################################################################

[Generators]
        # The list of generators that are to be run:
        generator_list = weewx.cheetahgenerator.CheetahGenerator, 
weewx.imagegenerator.ImageGenerator, weewx.reportengine.CopyGenerator

Reply via email to