Obsessed? You're just wrong in the right way :D ;) I really like this thread, and your script. Here is my result:
distance to eruption 16894.9 km arrival at 1642272882 (2022-01-15 19:54:41) Google Earth Pro tells me, the distance is 16880.6km. [image: hunga_tonga.png] [email protected] schrieb am Dienstag, 18. Januar 2022 um 18:40:46 UTC+1: > I may be starting to obsess a bit, but give the attached python script a > try. You may have to install additional modules, e.g. geopy and sqlite3. > > 1. On line 9, specify your location > 2. On line 14, specify the range of hours you want to examine, around the > event. > 3. On line 25, you may need to adjust the query if your pressure data is > not in the barometer column of the archive table > 3. Move to the directory containing your weewx.sdb database, or on line > 22, specify its full path. > 4. Run the script > > The script calculates the distance from the eruption to your location, the > travel time to your location at the speed of sound, and then queries and > plots, and saves the barometer data for a time range around the estimated > arrival time. It also remove any linear trend and plots the difference from > that linear trend. > > Follow up with any improvements! > > Mine looks like this: > [image: hunga_tonga.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8af547b8-fa96-43d3-a0cd-84f123707862n%40googlegroups.com.
