Nice work (Morrowwn  thanks!).  If you have any nulls in the data during 
the selected timeframe, change the query to read:  (Cameron D thanks!)

*query = "select datetime, barometer from archive where datetime > %.0f and 
datetime < %.0f and barometer is not null order by dateTime;" % 
(start_time, stop_time)*




[image: hunga_tonga.png]

If you want the bars closer to the rise and falls of the events, need to 
adjust the speed of sound slightly.
On Saturday, January 22, 2022 at 2:37:09 PM UTC-5 [email protected] wrote:

> WOW!  This is some interesting data, here is my location in Northern 
> Utah.  Looks like the reverse may be a little off in calculation but this 
> made it easy to find instead of hunting through the data.
>
> Great Work!
> [image: hunga_tonga.png]
> On Saturday, January 22, 2022 at 12:16:45 PM UTC-7 [email protected] 
> wrote:
>
>> Did an update to my script at: 
>> https://github.com/morrowwm/weewx_tonga_browse
>>
>> Mostly incorporating additions from Cameron (thanks!)
>>
>> All parameters you likely want to set are near the top of the script.
>>
>>    1. support for mysql (untested, I don't have a mysql based weewx 
>>    installation)
>>    2. calculation and display of all three initial arrival, arrival from 
>>    opposite direction, and second arrival after one trip around the globe
>>    3. highlighting of the three events with grey bars
>>    4. cubic spline curve fit of raw data and use of that fit to remove 
>>    the base pressure variations. The new smoothing_hours parameter can be 
>> used 
>>    to control how close the fit is. 
>>    5. changed the display of data to highlight the extracted events and 
>>    subdue the original data, other cosmetic changes
>>
>> I had a data outage about 26 hours after the event, we're quite a 
>> distance from Tonga, plus a major storm was clearing out in our area. So 
>> not obviously anything unusual happened.
>>
>> Some scientist might be interested in the arrival times of all this data, 
>> though.
>> [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/80a10960-7af0-44ec-9fd8-bb0a9cf74e55n%40googlegroups.com.

Reply via email to