From 59489c611fe2b914b3ea84777147c773330f60c8 Mon Sep 17 00:00:00 2001 From: Florez Ospina Juan Felipe Date: Mon, 26 May 2025 13:33:50 +0200 Subject: [PATCH] Add cell and comment to manually choose data dirs to analize --- notebooks/demo_acsm_pipeline.ipynb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/notebooks/demo_acsm_pipeline.ipynb b/notebooks/demo_acsm_pipeline.ipynb index 6c6c996..d9c2c05 100644 --- a/notebooks/demo_acsm_pipeline.ipynb +++ b/notebooks/demo_acsm_pipeline.ipynb @@ -71,7 +71,7 @@ "\n", "* Create a configuration file (i.e., a `.yaml` file) following the example provided in the input folder.\n", "* Set up the input and output directory paths.\n", - "* Execute the cell." + "* Execute the cell (or Skip it and Execute next cell with manually defined **CAMPAIGN_DATA_FILE** and **APPEND_DATA_DIR**)." ] }, { @@ -87,6 +87,17 @@ "APPEND_DATA_DIR = os.path.splitext(CAMPAIGN_DATA_FILE)[0]\n" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Uncomment and define the following variables manually to reanalize previous data collections\n", + "#CAMPAIGN_DATA_FILE = '../data/collection_PAY_2024_2025-05-21_2025-05-21.h5'\n", + "#APPEND_DATA_DIR = '../data/collection_PAY_2024_2025-05-21_2025-05-21'" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -247,7 +258,7 @@ "outputs": [], "source": [ "#path_to_data_file = '../data/CH0001G.20240201010000.20250519140310.aerosol_mass_spectrometer.chemistry_ACSM.pm1_non_refractory.2mo.1h.CH02L_Aerodyne_ToF-ACSM_017.CH02L_Aerodyne_ToF-ACSM_JFJ.lev2.nas'\n", - "path_to_data_file = '../data/CH0002G.20240201010000.20250521074436.aerosol_mass_spectrometer.chemistry_ACSM.pm1_non_refractory.7w.1h.CH02L_Aerodyne_ToF-ACSM_092.CH02L_Aerodyne_ToF-ACSM_PAY.lev2.nas'\n", + "path_to_data_file = '../data/CH0002G.20240201010000.20250526113003.aerosol_mass_spectrometer.chemistry_ACSM.pm1_non_refractory.7w.1h.CH02L_Aerodyne_ToF-ACSM_092.CH02L_Aerodyne_ToF-ACSM_PAY.lev2.nas'\n", "drop_column_from_nas_file(path_to_data_file, column_to_remove='inletP')" ] },