A (web-based) visualization for fixed sensor (radiation) data
A (web-based) visualization for fixed sensor (radiation) data.
See full example at http://gamma.tar.bz/nGeigies/
A slightly modified version of this code is making the graphs on http://realtime.safecast.org/
A collection of scripts and settings to visualize data from fixed sensors. Initial scope is limited to Safecast nGegie sensors - fixed radiation sensors.
The following is my development environment, so it is (kind of) guaranteed to work in it.
I don’t plan to release an ebuild (package) anytime soon, so to get all the deps on Gentoo, try
sudo emerge -avtuq sys-devel/make sci-visualization/gnuplot dev-lang/perl dev-perl/DateTime-Format-ISO8601 media-gfx/pngcrush media-gfx/imagemagick
Make sure you have EDITOR envvar defined (or simply edit Makefile.config with your favorite text editor)
cp -a Makefile.config{.EXAMPLE,} && ${EDITOR} Makefile.config
make view
make publish
Local configuration (API endpoint, sensor IDs to plot, graphs color&size, etc.) is stored in Makefile.config, edit to suit your needs.
Four sub-directories are used/created:
The usual make publish workflow is as follows (see inside Makefile for other targets/details):