What I realized: The arrival time is not quite accurate in my case. The 
script says 19:35, but the records show the peak at 20:25. 

[email protected] schrieb am Dienstag, 18. Januar 2022 um 20:39:22 UTC+1:

> An improvement could be to also extract data for the 2nd wave from the 
> other direction.
>
> [email protected] schrieb am Dienstag, 18. Januar 2022 um 20:35:59 
> UTC+1:
>
>> 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/0b623a6f-4b4b-4016-a861-860c4e0bbc5cn%40googlegroups.com.

Reply via email to