Technical documentation for the data coming from tests on the equipment Drying


Document Status

In Production

Summary

Sum-up

Equipment / ScaleTeslaGunsanColognes 2500L
Data SourcesELN, Raw Data on  Google driveELN, Raw Data on file shareELN, Raw Data on Google Drive
Raw Data File typeCSVxlsxxls
Scale Name on ELNFR-170L-TESLAKR-170LFR-2500L
Data CollectionTalend: R011_Download_Synthesis_gDrive_Drying

Talend: J010_Download_Synthesis_LabServers

Python : download_drying_gunsan.py (to be finished)

Talend: R011_Download_Synthesis_gDrive_Drying
ParsePython: parse_drying_tesla.pyPython: parse_drying_gunsan.pyPython: parse_drying_2500L.py
ComputePython: compute_drying_tesla.pyPython: compute_drying_gunsan.pyPython: compute_drying_2500L.py
BigQuery

Tables cibles :

  • raw_data_synthesis.DryingDetails
  • raw_data_synthesis.DryingSummary
Mapping spreadsheet

Data Sources

Data Collection

The talend jobs J010_Download_Synthesis_LabServers and J011_Download_Synthesis_gDrive_Drying extract the raw data files listed on the ELN table drying_raw_data_link for which the field “drying_equipment_name” is the scale name, i.e. “FR-170L-TESLA”. For information of how these job works, check the following page : 

Talend - Jobs - Synthesis - Download - Drying (needs to be created)

Schema using Google Drive

Schema with file share

Data Preparation

Parse

The parsing python scripts extracts from the raw data files the needed columns.

Columns List

For each sample, the script extracts the many fields from the raw data files and outputs a .csv file. For the mapping details, please refers to the sheet "Parse Mapping" on the Drying Mapping spreadsheet (link to the spreadsheet on the Sum-up section).

Compute

The compute python script uses as input the parsed .csv files previously created. It computes the new columns and values from raw data and regenerates new files. 

If the output files already exist the script will NOT replace them.

In the beginning of the script, it extracts many columns or values from the file drying_eln_data. Those values are used in later computations as constants. 

For each sample, it creates two different files that will be used to create new tables on BigQuery :

DryingDetails

The first table is composed of the columns previously extracted from the raw data files and the new columns calculated during the execution.

Dataset : raw_data_synthesis

For the columns details, please refers to the sheets "Details Mappings" on the DRYERS Mapping spreadsheet (link to the spreadsheet on the Sum-up section).


DryingSummary

The second table is composed of the new values computed from raw data. This is a atomic table and it aggregates the values by unique_id, study_id and sample_id which represents one line per data raw file.

Dataset : raw_data_synthesis

For the columns details, please refers to the sheets "Summary Mapping" on the DRYERS Mapping spreadsheet (link to the spreadsheet on the Sum-up section). 

Presentation

The details and summary files are created as tables on BigQuery unifying all scales in the same tables. A Talend job is responsable to push all this data to a dataset called raw_data_synthesis. 

Visualization

Refer to Tableau documentation