Other piece I have is ephem installed.
Diffin’g the current Seasons vs the version I have, the biggest difference
seems to be in the Celestial.inc… Not sure if any of these would be causing
massive slowdowns though (output below). Also seeing a lot of unit differences
in skin.conf (things changing from “hour” to “1h” and “day” to “1d”, etc.
But the output in the logs seems to indicate the slowness is generating the
images, not generating the html.
Thanks!
-Ryan Stasel
diff -r ./celestial.inc /etc/weewx/skins/Seasons/celestial.inc
10,11c10,11
< #set $sun_altitude = $almanac.sun.alt
< #if $sun_altitude < 0
---
> #set $sun_altitude = $almanac.sun.altitude
> #if $sun_altitude.raw < 0
59c59
< <td class="data">$("%.1f°" % $almanac.sun.az)</td>
---
> <td class="data">$almanac.sun.azimuth.format("%03.1f")</td>
63c63
< <td class="data">$("%.1f°" % $sun_altitude)</td>
---
> <td class="data">$sun_altitude.format("%.1f")</td>
67c67
< <td class="data">$("%.1f°" % $almanac.sun.ra)</td>
---
> <td class="data">$almanac.sun.topo_ra.format("%03.1f")</td>
71c71
< <td class="data">$("%.1f°" % $almanac.sun.dec)</td>
---
> <td class="data">$almanac.sun.topo_dec.format("%.1f")</td>
119c119
< <td class="data">$("%.1f°" % $almanac.moon.az)</td>
---
> <td class="data">$almanac.moon.azimuth.format("%.1f")</td>
123c123
< <td class="data">$("%.1f°" % $almanac.moon.alt)</td>
---
> <td class="data">$almanac.moon.altitude.format("%.1f")</td>
127c127
< <td class="data">$("%.1f°" % $almanac.moon.ra)</td>
---
> <td class="data">$almanac.moon.topo_ra.format("%.1f")</td>
131c131
< <td class="data">$("%.1f°" % $almanac.moon.dec)</td>
---
> <td class="data">$almanac.moon.topo_dec.format("%.1f")</td>
161c161
< <p>Install <em>pyephem</em> for detailed celestial timings.</p>
---
> <p>Install <a href=https://pypi.org/project/ephem/><em>ephem</em></a> for
> detailed celestial timings.</p>
diff -r ./skin.conf /etc/weewx/skins/Seasons/skin.conf
8c8
< SKIN_VERSION = 4.10.2
---
> SKIN_VERSION = 5.0.0rc1
29c29
< # If you have a Google Analytics ID, uncomment and edit the next line, and
---
> # If you have a Google Analytics GA4 tag, uncomment and edit the next
> line, and
31c31
< #googleAnalyticsId = UA-12345678-1
---
> #googleAnalyticsId = G-ABCDEFGHI
269c269
< time_length = 97200 # 27 hours
---
> time_length = 27h
350c350
< aggregate_interval = hour
---
> aggregate_interval = 1h
359c359
< aggregate_interval = hour
---
> aggregate_interval = 1h
384c384
< aggregate_interval = hour
---
> aggregate_interval = 1h
410c410
< aggregate_interval = hour
---
> aggregate_interval = 1h
488c488
< aggregate_interval = day
---
> aggregate_interval = 1d
496c496
< aggregate_interval = day
---
> aggregate_interval = 1d
521c521
< aggregate_interval = day
---
> aggregate_interval = 1d
546c546
< aggregate_interval = 10800 # 3 hours
---
> aggregate_interval = 3h
625c625
< aggregate_interval = day
---
> aggregate_interval = 1d
633c633
< aggregate_interval = day
---
> aggregate_interval = 1d
658c658
< aggregate_interval = day
---
> aggregate_interval = 1d
683c683
< aggregate_interval = day
---
> aggregate_interval = 1d
762c762
< aggregate_interval = week
---
> aggregate_interval = 1w
770c770
< aggregate_interval = week
---
> aggregate_interval = 1w
795c795
< aggregate_interval = week
---
> aggregate_interval = 1w
From: [email protected] <[email protected]>
On Behalf Of Tom Keffer
Sent: Wednesday, December 27, 2023 4:52 PM
To: Cameron D <[email protected]>
Cc: weewx-development <[email protected]>
Subject: Re: [weewx-development] Re: V5.0 release candidate available
On Wed, Dec 27, 2023 at 4:18 PM 'Cameron D' via weewx-development
<[email protected] <mailto:[email protected]>
> wrote:
Tom,
is there any chance that it is confused by me using mysql storage type of
float rather than real?
I'm not a MySQL expert, but I doubt it.
WeeWX does lots of little queries, which MySQL doesn't do as well as SQLite.
It's possible that V5 is doing something that aggravates that.
--
You received this message because you are subscribed to the Google Groups
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected]
<mailto:[email protected]> .
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDdK_EBZQ4Qx-kx5--PJUy0N-9ame3Yur-KQcWSCBOcvg%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-development/CAPq0zEDdK_EBZQ4Qx-kx5--PJUy0N-9ame3Yur-KQcWSCBOcvg%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
You received this message because you are subscribed to the Google Groups
"weewx-development" 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-development/069001da3929%24f763dbd0%24e62b9370%24%40gmail.com.