Hello everyone, hope you’re all staying healthy. It’s been a while since we updated you on our live Raspberry Shake data software project
rsudp
, and we have added a lot of great features since its initial release this past fall. rsudp
is much more than the live visualization script it started out as; I can proudly say that it is now a fairly diverse and extensible suite of educational and scientific tools for live seismic data visualization, event detection, notification, and learning, which are capable of running harmoniously and continuously together.
Here are some of the major changes since the initial release post:
Functional additions
- full and independent documentation
-
Windows bash scripts
(Yes, Windows users can now double click to install and start rsudp!) -
rsudp testing/demonstration mode —
rs-test
— a simple yet incredibly powerful tool, which emulates the standard live client mode but uses data recorded in the past.rs-test
runs a number of internal tests but can also be used to demonstrate what an earthquake looks like as it is recorded and detected in real time (i.e. in a classroom, or to test detection settings with your own miniseed data)
Science additions
- a RSAM calculator (Real-time Seismic Amplitude Measurement) written by @crockpotveggies, which forwards RSAM values to a local or remote IP/port combination
- a new deconvolution setting (
"GRAV"
), which takes calculates the fraction of acceleration due to gravity recorded by your Shake (fraction of lowercaseg
to physics nerds) - alarm times in debug messages, saved plots, telegrams, and tweets are now reported with 0.01 second precision (previously they were reported with 1 second precision)
Social media additions
- a Twitter posting module that can automatically send tweets immediately when an event is detected and when images of the event are saved
(examples here: https://twitter.com/paleosurface_eq) - a Telegram module that can do the same
(examples here: Telegram: Contact @shakealerts) -
YouTube and Twitch streams live from our office, see below
(making your own rsudp stream is easy with OBS software)
Developer additions
- a developer’s guide, complete with diagrams and examples
- a standardized module template to quickly get started with rsudp development ideas without the need to write new modules from scratch
- a custom thread class (
rsudp.raspberryshake.ConsumerThread
) for consumers to inherit which contains all internal flags that the Producer needs to function - updates can come directly from the Python Package Index, PyPI, by executing the following command in your rsudp conda environment:
pip install -U rsudp
Final notes
It hit me how unique of a tool rsudp was a few months ago when developers from both obspy and matplotlib mentioned offhand what an interesting project they thought this was. rsudp stands on the shoulders of both of those incredible pieces of software and pushes their boundaries to create something we can be pretty proud of — thanks to Raspberry Shake’s data casting, perhaps the most up-to-the-second event detection and visualization software currently available in the passive seismic community. All free and open source. Cheers!