Class TimeseriesFileWriter

  • All Implemented Interfaces:
    AdditionalInformationHandler, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<Actor>, SizeOfHandler, Stoppable, StoppableWithFeedback, VariablesInspectionHandler, VariableChangeListener, Actor, ErrorHandler, InputConsumer, OutputProducer, Serializable, Comparable

    public class TimeseriesFileWriter
    extends AbstractDataContainerFileWriter<Timeseries>
    Saves a spectrum to disk with the specified writer and passes the absolute filename on.
    As filename/directory name (depending on the writer) the database ID of the spectrum is used (below the specified output directory).

    Input/output:
    - accepts:
       knir.data.spectrum.Timeseries
    - generates:
       java.lang.String


    Valid options are:

    -D (property: debug)
             If set to true, scheme may output additional info to the console.
     
    -name <java.lang.String> (property: name)
             The name of the actor.
             default: TimeseriesFileWriter
     
    -annotation <knir.core.base.BaseString> [-annotation ...] (property: annotations)
             The annotations to attach to this actor.
     
    -skip (property: skip)
             If set to true, transformation is skipped and the input token is just forwarded
              as it is.
     
    -writer <knir.data.output.AbstractTimeseriesWriter [options]> (property: writer)
             The writer to use for saving the timeseries containers.
             default: knir.data.output.SimpleTimeseriesWriter -output /tmp/out.spec
     
    -dir <java.io.File> (property: outputDir)
             The output directory for the timeseries containers.
             default: .
     
    Default options for knir.data.output.SimpleTimeseriesWriter (-writer/writer):
    -D (property: debug)
             If set to true, scheme may output additional info to the console.
     
    -output <java.io.File> (property: output)
             The file to write the spectrum to.
             default: /tmp/out.spec
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form