I'm modifying titlebar.inc for a different reason. I'm curious if it will be overwritten in subsequent pip weewx updates or treated like weewx.conf, etc. Does the user decide which version to keep if these .inc files are user modified?
On Sunday, March 31, 2024 at 10:23:45 AM UTC-3 Tom Keffer wrote: > Unfortunately, there is no easy way to do this. The list of months is > generated dynamically when the reports are run. > > If you are familiar with HTML, something you could do is modify the select > statement in the template titlebar.inc to include the extra dates. For > example, say you had extra months 2010-08 and 2010-09, contained in files > NOAA/NOAA-2010-08.txt and NOAA/NOAA-2010-09.txt, respectively. When done, > this would look like (NOT TESTED): > > <select name="reports" onchange="openTabularFile(value)"> > <option value="2010-08">2010-08</option> > <option value="2010-09">2010-09</option> > #for $monthYear in $SummaryByMonth > <option value="$monthYear">$monthYear</option> > #end for > <option selected>- $gettext("select month") -</option> > </select> > > This would make the extra dates available in the drop down list. > > On Sun, Mar 31, 2024 at 4:12 AM simon <sspa...@gmail.com> wrote: > >> hello all, i have old nooa txt files with datas which are not in the >> database. >> is it possible to bring the old files into the pulldown menu to select >> them ?[image: weewx nooa.png] >> >> -- >> 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+...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/4d41dea9-4785-43d9-b67e-2c7c34c659b8n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/4d41dea9-4785-43d9-b67e-2c7c34c659b8n%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/26bed7e3-3b1e-4887-804f-8731ff408eb3n%40googlegroups.com.