Transform experiment data files in different ways. For example, this tool can transform: units, format, and sampling rate.
The domain model for this tool is shown in the diagram below. The software is a graph-based data processing system. The data signals have already been recorded in files (e.g. CSV, or XML). These files have instances of samples. These samples are snapshots in time for a given signal's value. This software allows an engineer or researcher to construct a graph of "SampleNode" instances that read data, transform it, and write it back out to a file.
This software takes a graph of processing rules as a launch parameter.
Here is an example XML file of rules:
- Apache Ant (1.8.3 was tested)
- Java Development Kit 1.7+
These are the instructions for building the software on Linux:
- Check out the code from NEEShub using Subversion.
- Navigate to the directory where the code is checked out at the command line.
Build the code using Ant as follows:
$ ant dist
- A ZIP file will be created in the "target/zip" directory that contains everything you need to run the program.
Copy that ZIP file to a location where you want to extract it. For example:
$ cp target/zip/data-transformer.zip /tmp/
Unzip the ZIP file. For example:
$ unzip data-transformer.zip
Navigate to the new directory containing the JAR file. For example:
$ cd data-transformer
Now you are ready to run the program.
Command Line Usage
To run this program, you need to specify an XML file containing the transformation rules. For example:
$ java -jar data-transformer.jar -g example-transform-graph.xml
NEES and the University of Minnesota
Researchers should cite this work as follows: