Using R to detect the pressure wave from the 2022 Hunga Tonga eruption in personal weather station data

It seems like an age ago, but in fact it was only mid-January 2022 when this happened: The satellite imagery from the Hunga Tonga eruption is unreal. Direct your attention to the lower right. The eruption then shock wave is simply incredible. pic.twitter.com/OTLCgyEozQ— Taylor Trogdon (@TTrogdon) January 15, 2022 Wow. Now, pause for a moment and try to recall the last time you read any news about Tonga since the event.The eruption sent an atmospheric pressure wave, clearly visible in this imagery, around the world. Friends online reported that this was detected by their personal weather stations (PWS) which made me wonder: was the wave apparent in online weather station data and can it be visualized using R? The answers are yes and yes again. One excellent source of weather station data is the Weather Underground. They used to have an API which could be accessed through an R package, rwunderground. This API was retired several years ago and the package no longer works. This leaves us with two options. find a PWS via Wundermap, access its data page (for example ISYDNE1993) and either web-scrape or copy-paste data from tables, oruse the newer underlying API, provided via weather dot com, to access station data Documentation for this second API is not always easy to understand or access. However, if you can obtain an API key and figure out the required endpoint, it’s quite easy to get the data into R. Here’s a function to fetch JSON from ...
Source: What You're Doing Is Rather Desperate - Category: Bioinformatics Authors: Tags: australia environment statistics world news hunga tonga rstats weather wunderground Source Type: blogs