SIDpy Run

The run module contains functions wrapping the contents of the vlfclient.

sidpy.run Module

Process all csv data found within the data path specified in config.cfg, verifies and creates archive structure before saving the corresponding files to their specified locations.

@author:

Oscar Sage David O’Hara

@email:

oharao@tcd.ie

Functions

init_logger()

Once called this initialises logging config.

process_directory(data_path, archive_path)

Function to be run hourly in order to process and archive all files listed within the data_path specified within config.cfg.

process_file(file_path, archive_path[, gl, gs])

Process single given csv file meeting the appropriate criteria, before saving the corresponding png and input csv to the appropriate archive location.