sensortoolkit.ingest._standard_ingest.parse_setup
- parse_setup(setup_path, data_path)[source]
Construct file-specific setup file from the setup.json.
- Parameters
setup_path (str) – Path to the setup.json file for ingesting datasets into SDFS format.
data_path (str) –
Full path to the directory where recorded datasets are stored.
For sensor data, this path should look like:
[project_path]/data/sensor_data/[sensor_name]/raw_data
For reference data, this path should look like:
[project_path]/data/reference_data/[ref_source]/raw/[sitename_siteid]
- Returns
Data structure containing file-specific formatting configuration. Passed to
standard_ingest()
for ingestion of the dataset corresponding to the file into SDFS format.- Return type
file_setup (dict)