You didn't say what kind of database, but assuming it's sqlite... You also didn't say what installation method you used, but assuming it's setup.py...
Make a backup of your sqlite database *cd /home/weewx* *cp archive/weewx.sdb archive/weewx.sdb.backup* Install the utility sqlite3 if it hasn't already been installed: *sudo apt-get install sqlite3* Use it to patch your database: *sqlite3 archive/weewx.sdb* sqlite> *UPDATE archive SET barometer=barometer+xxx;* sqlite> *.quit* where xxx is the correction you wish to apply. Rebuild the daily summaries: *./bin/wee_database weewx.conf --drop-daily* *./bin/wee_database weewx.conf --backfill-daily* -tk On Tue, Jan 10, 2017 at 10:59 PM, Gone Bush <gonebush...@gmail.com> wrote: > The problem: I've had my Vantage Pro2 for a couple of months and finally > got round to configuring the altitude in the console. > > (The Setup function doesn't step through that option.) > > Now what I want to do is correct the historical barometric data. > > So, to my question: What is the formula that will do that? (Google has > failed me.) > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.