Skip to main content

Tools for receiving and interacting with Raspberry Shake UDP data

Project description

Raspberry Shake event logo

rsudp

Continuous sudden motion and visual monitoring of Raspberry Shake data

Written by Ian Nesbitt (@iannesbitt), Richard Boaz, and Justin Long (@crockpotveggies)

PyPI PyPI - Downloads GitHub Documentation Build Status Code Coverage Scrutinizer Code Quality DOI

rsudp is a tool for receiving and interacting with data casts from Raspberry Shake personal seismographs and Raspberry Boom pressure transducer instruments.

rsudp has full documentation here. We also have tutorial instructions to install, set up, and run rsudp there. Additionally, our documentation features YouTube walkthroughs, notes for contributors, a brief Developer's guide, and module documentation.

We now have a paper published in The Journal of Open Source Software! You can reference rsudp using the following citation:

Nesbitt et al., (2021). rsudp: A Python package for real-time seismic monitoring with Raspberry Shake instruments. Journal of Open Source Software, 6(68), 2565, https://doi.org/10.21105/joss.02565

rsudp contains ten main features:

  1. Alert - an earthquake/sudden motion alert trigger, complete with a bandpass filter and stream deconvolution capabilities
  2. AlertSound - a thread that plays a MP3 audio file in the event of the alert module signalling an alarm state
  3. Plot - a live-plotting routine to display data as it arrives on the port, with an option to save plots some time after an alarm
  4. Tweeter - a thread that broadcasts a Twitter message when the alert module is triggered, and optionally can tweet saved plots from the plot module
  5. Telegrammer - a thread similar to the Tweeter module that sends a Telegram message when an alarm is triggered, which can also broadcast saved images
  6. Writer - a simple miniSEED writer
  7. Forward - forward a data cast to one or several IP/port destinations
  8. RSAM - computes RSAM (Real-time Seismic AMplitude) and either prints or forwards it to an IP/port destination
  9. Custom - run custom code when an ALARM message is received
  10. Print - a debugging tool to output raw data to the command line

rsudp is written in Python but requires no coding knowledge to run. Simply follow the instructions to install the software, go to your Shake's web front end, configure a UDP datacast to your computer's local IP address, start the software from the command line, and watch the data roll in.

Earthquake plot recorded on a Raspberry Shake 4D

(Above) a plot of an earthquake on the four channels of a Raspberry Shake 4D (EHZ---the geophone channel, and EHE, EHN, and ENZ---the accelerometer east, north, and vertical channels).

DISCLAIMER

RSUDP source code and software is provided "as is". No guarantee of functionality, performance, or advertised intent is implicitly or explicitly provided.

This project is free-to-use and free-to-copy, located in the public domain, and is provided in the hope that it may be useful.

Raspberry Shake, S.A., may, from time to time, make updates to the code base, be these bug fixes or new features. However, the company does not formally support this software / program, nor does it place itself under any obligation to respond to bug reports or new feature requests in any prescribed time frame.

Like all public projects, end-users are encouraged to provide their own bug fixes and new features as they desire: create a new branch, followed by a merge request, to have the code reviewed and folded into the main branch.

We hope you enjoy RSUDP, playing with it, and perhaps even diving into the code to see how it can be made better!

TEAM RS

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kazquakersudp-1.1.3.tar.gz (68.3 kB view details)

Uploaded Source

Built Distribution

kazquakersudp-1.1.3-py3-none-any.whl (873.3 kB view details)

Uploaded Python 3

File details

Details for the file kazquakersudp-1.1.3.tar.gz.

File metadata

  • Download URL: kazquakersudp-1.1.3.tar.gz
  • Upload date:
  • Size: 68.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.4

File hashes

Hashes for kazquakersudp-1.1.3.tar.gz
Algorithm Hash digest
SHA256 c2751e7b23561ad5c5cf7dfbbe93080123fd0db62b4b3a6733b572d8fc78403d
MD5 459f980020e226f41285189fc02ee63f
BLAKE2b-256 4499c2869e9b214e5fae67b3170aacbcf5210ef387af378408f6095b5804722a

See more details on using hashes here.

File details

Details for the file kazquakersudp-1.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for kazquakersudp-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f616d0e710007ef3208b7d34a92240bfde56ca8c3ee6df3cfe0aad07b8c3c766
MD5 8cdc8af1f95f0c7a8738b46c554b1256
BLAKE2b-256 0cdb350c8d51336a19e97de5e7d713476d0bdf299f9eb2ecf312514335c48255

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page