show old nooa data in pulldown

104 views
Skip to first unread message

simon

unread,
Mar 31, 2024, 7:12:45 AM3/31/24
to weewx-user
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 ?weewx nooa.png 

Tom Keffer

unread,
Mar 31, 2024, 9:23:45 AM3/31/24
to weewx...@googlegroups.com
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 ?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.
Message has been deleted
Message has been deleted

Tom Keffer

unread,
Apr 1, 2024, 12:38:14 PM4/1/24
to weewx...@googlegroups.com
Skins are updated only if you update them explicitly.

See the documentation for weectl station upgrade.

On Mon, Apr 1, 2024 at 9:35 AM WindnFog <foc...@gmail.com> wrote:
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?

simon

unread,
Apr 9, 2024, 12:47:27 PM4/9/24
to weewx-user
Hello Tom,

I have test it this weekend and it have work.
Thanks for your support 😀

Reply all
Reply to author
Forward
0 new messages