In forecast.py under def xtides there is a max_events = 45. Changing that to a higher number has sorted my problem, however you may well tell me that could upset something. Phil
On Thu, 4 Jun 2020, 16:10 Phil Owers, <philip.c.ow...@gmail.com> wrote: > Hi Mathew > Sorry I need your help again > Im trying to display at least 3 months of tide time data > > Jun 4 15:32:12 raspberrypi weewx[9290] INFO user.forecast: MainThread: > XTide: forecast version 3.4.0b1 > Jun 4 15:32:12 raspberrypi weewx[9290] INFO user.forecast: MainThread: > XTide: interval=86400 max_age=2419200 location='Cromer, England' > duration=8640000 > The above log has the data in the database and have confirmed by looking > at the XTide first and last entry. > By using > #set $tides = $forecast.xtides > #if len($tides) > 0 > #for $tide in $tides > $tide.event_ts $tide.hilo $tide.offset<br/> > #end for > I can only get 12 days displayed so I decided to see what this displayed > #set $periods = $forecast.weather_periods('XTide', max_events=100) > #for $period in $periods > $period.event_ts $period.hilo<br/> > #end for > It worked but only up to 54 events and refused to go any further > So what am I doing wrong. > Thanks in advance > Phil > > > On Tuesday, June 2, 2020 at 1:18:55 PM UTC+1, Phil Owers wrote: >> >> Hi >> Using the tide.html.tmpl that is associated with >> weewx-forecast-master.zip it displays 12 days ish of tide times >> Im trying to increase this to a month or even longer. The times in the >> forecast.sdb are for about a month >> Just wondered how I could display further than 12 days. >> Thanks for any help >> Phil >> > -- > 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/03a35cca-2c4d-4127-a1d1-5e4b78c0ad75%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/03a35cca-2c4d-4127-a1d1-5e4b78c0ad75%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CALTQ7pP_W5DYviLYOAKtaDAk88Nkk5Ek867B%2BYEm2BKKSNzsjA%40mail.gmail.com.