org.jgrasstools.gears.io.timeseries.OmsTimeSeriesWriter.html Maven / Gradle / Ivy
The newest version!
Utility class for writing a set of timestamps and an array of values to an OMS formatted csv file. This writer writes a time series data file all in one, so it is not time dependent, for this you should look into TimeSeriesIteratorWriter.
Parameters
- the csv file to write to
- the table name
- the hashmap of data to write
- a switch that defines whether to write the timestamps as dates or as intervals of seconds if a date doesn't make sense
- the comma separated list of column names
- a map of lists of metadata that can be attached to the column of the csv file
Notes
This model can be use for example to write output data from Peakflow.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy