An Example Quality Control Application for Quack is available from here:
quack_example.tar.gz - 76KB
Quack Quality Control Application.
$Date: 2002/09/12 20:43:48 $
$Revision: 1.2 $
$Author: bruce $
This example Quality Control Application (QCA) contains one controlet.
Controlet Name: RMS
Controlet Class: edu.whatsamatau.geophys.RmsControlet
The RMS controlet calculates signal standard deviation and average for
the sample time interval.
To run the controlet you will need access to the Quack program.
This example is intended to show how simple it is to write a controlet.
With ant installed (see http://jakarta.apache.org/ant/index.html) simply
type "ant" to build the QCA - sample_qca.jar
Quack Controlet API documentation is available online at:
http://www.iris.washington.edu/QUACK/apidocs
-----------------------------------------------------------------------------------
build.xml: Ant build file. Ant is a Java based build tool. To get
ant please see http://jakarta.apache.org/ant/index.html
classes/: Directory where ant compiles java class file into
javadocs/: Directory where javadocs for the sample controlet have been placed.
qc_api.jar: Jar of the Quack controlet API. This jar is needed for compiling
the example controlet. Notice the file size - only 4569 bytes!
README.txt: This file.
src\: The source code for the controlet.
xml\: Directory containing qcapp.xml. Ant places the qcapp.xml
file into the sample_qca.jar file.
sample_qca.jar: The compiled and jarred QCA. This is what Quack will load and
execute.
jar -tvf sample_qca.jar
0 META-INF/
45 META-INF/MANIFEST.MF
0 edu/
0 edu/whatsamatau/
0 edu/whatsamatau/geophys/
0 edu/whatsamatau/geophys/util/
7096 edu/whatsamatau/geophys/RmsControlet.class <-- The Controlet!
1684 edu/whatsamatau/geophys/util/Blockette_1000.class <-- Support Class
2033 edu/whatsamatau/geophys/util/Converter.class <-- Support Class
8470 edu/whatsamatau/geophys/util/DataBuffer.class <-- Support Class
7887 edu/whatsamatau/geophys/util/Fsdh.class <-- Support Class
9669 edu/whatsamatau/geophys/util/Format.class <-- Support Class
4103 edu/whatsamatau/geophys/util/Steim.class <-- Support Class
888 edu/whatsamatau/geophys/util/Swapper.class <-- Support Class
3634 edu/whatsamatau/geophys/util/StringUtils.class <-- Support Class
2057 edu/whatsamatau/geophys/util/GMTDateFormater.class <-- Support Class
0 xml/
669 xml/qcapp.xml <--- Meta-Data file that exposes the controlet to QUACK