Refactor step 1 in notebook to facilitate usage of campaign descriptors

This commit is contained in:
2025-06-20 10:37:01 +02:00
parent b610b4e337
commit 177bcee400

View File

@ -49,15 +49,14 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"#output_filename_path = 'output_files/unified_file_smog_chamber_2024-04-07_UTC-OFST_+0200_NG.h5'\n", "number, initials = 1, 'LI' # Set as either 2, 'TBR' or 3, 'NG'\n",
"yaml_config_file_path = '../input_files/data_integr_config_file_TBR.yaml'\n", "campaign_descriptor_path = f'../input_files/campaignDescriptor{number}_{initials}.yaml'\n",
"\n", "\n",
"#path_to_input_directory = 'output_files/kinetic_flowtube_study_2022-01-31_LuciaI'\n", "print(campaign_descriptor_path)\n"
"#path_to_hdf5_file = hdf5_lib.create_hdf5_file_from_filesystem_path(path_to_input_directory)\n"
] ]
}, },
{ {
@ -76,7 +75,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"\n", "\n",
"hdf5_file_path = data_integration.run_pipeline(yaml_config_file_path)" "hdf5_file_path = data_integration.run_pipeline(campaign_descriptor_path)"
] ]
}, },
{ {
@ -146,7 +145,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -160,7 +159,7 @@
], ],
"metadata": { "metadata": {
"kernelspec": { "kernelspec": {
"display_name": "multiphase_chemistry_env", "display_name": "Python 3",
"language": "python", "language": "python",
"name": "python3" "name": "python3"
}, },
@ -174,7 +173,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.11.9" "version": "3.11.10"
} }
}, },
"nbformat": 4, "nbformat": 4,