Updated configuration file organization and workflow description.

This commit is contained in:
2024-05-24 11:15:05 +02:00
parent 784cb1eb62
commit 005e855e48
2 changed files with 17 additions and 12 deletions

View File

@ -1,13 +1,15 @@
project_name: 'scientific question' # beamtime, smog_chamber, lab_experiment input_file_directory: '//fs101/5505/Data'
experiment_name: 'kinetic_flowtube_study' # 'flowtube' beamtime, smog_chamber, lab_experiment output_file_directory: 'output_files/'
# Define
project_name: 'Photoenhanced uptake of NO2 driven by Fe(III)-carboxylate'
experiment_name: 'kinetic_flowtube_study' # 'beamtime', 'smog_chamber_study'
user_name: 'LuciaI' user_name: 'LuciaI'
group_id: '5505' group_id: '5505'
experiment_date: experiment_date:
data_level: 'level_0' data_level: 'level_0'
input_file_directory: '//fs101/5505/Data' #
output_file_directory: 'output_files/'
instrument_datafolder: # analytical_methods: instrument_datafolder: # analytical_methods:
- 'Lopap' - 'Lopap'
- 'Humidity_Sensors' - 'Humidity_Sensors'
@ -16,10 +18,12 @@ instrument_datafolder: # analytical_methods:
- 'T200_NOx' - 'T200_NOx'
- 'T360U_CO2' - 'T360U_CO2'
integration_mode: 'collection' #'experimental_step # 'collection' # or experimental_step # Define data_integration mode as either 'collection' or 'experimental_step'
integration_mode: 'collection'
# Specify datetimes (YYYY-MM-DD HH-MM-SS) at which experimental steps were created. # Specify datetimes (YYYY-MM-DD HH-MM-SS) at which experimental steps were created.
datetime_steps: datetime_steps:
- '2022-11-22 00-00-00' - '2022-11-22 00-00-00'
- '2022-01-31 00-00-00' - '2022-01-31 00-00-00'
- '2023-06-22 00-00-00'
- '2023-06-29 00-00-00' - '2023-06-29 00-00-00'
- '2023-06-22 00-00-00'

View File

@ -20,8 +20,7 @@
"sys.path.append(root_dir)\n", "sys.path.append(root_dir)\n",
"\n", "\n",
"import src.hdf5_vis as hdf5_vis\n", "import src.hdf5_vis as hdf5_vis\n",
"import src.data_integration_lib as dilib\n", "import src.data_integration_lib as dilib\n"
"import yaml\n"
] ]
}, },
{ {
@ -31,7 +30,7 @@
"# Specify data integration task through yaml configuration file\n", "# Specify data integration task through yaml configuration file\n",
"\n", "\n",
"* Create your configuration file (i.e., *.yaml file) adhering to the example yaml file in the input folder.\n", "* Create your configuration file (i.e., *.yaml file) adhering to the example yaml file in the input folder.\n",
"* Set up the path and Excecute Cell.\n", "* Set up input directory and output directory paths and Excecute Cell.\n",
"\n" "\n"
] ]
}, },
@ -43,14 +42,16 @@
"source": [ "source": [
"#output_filename_path = 'output_files/unified_file_smog_chamber_2024-04-07_UTC-OFST_+0200_NG.h5'\n", "#output_filename_path = 'output_files/unified_file_smog_chamber_2024-04-07_UTC-OFST_+0200_NG.h5'\n",
"yaml_config_file_path = 'input_files/data_integr_config_file_LI.yaml'\n", "yaml_config_file_path = 'input_files/data_integr_config_file_LI.yaml'\n",
"output_filename_path, output_yml_filename_path = dilib.integrate_data_sources(yaml_config_file_path)\n" "output_filename_path = dilib.integrate_data_sources(yaml_config_file_path)\n"
] ]
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Display integrated file using a treemap" "# Display integrated HDF5 file using a treemap\n",
"\n",
"* Excecute Cell. A visual representation in html format of the integrated file should be displayed and stored in the output directory folder"
] ]
}, },
{ {