From 167f1fc154ce4537045215d32ac17517f7996dbb Mon Sep 17 00:00:00 2001 From: Geet George Date: Wed, 13 Dec 2023 12:27:25 +0100 Subject: [PATCH] add L2 functions to pipeline and close #27 --- src/halodrops/pipeline.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/halodrops/pipeline.py b/src/halodrops/pipeline.py index 0c815b2..5800ec4 100644 --- a/src/halodrops/pipeline.py +++ b/src/halodrops/pipeline.py @@ -384,7 +384,17 @@ def run_pipeline(pipeline: dict, config: configparser.ConfigParser): "create_L2": { "intake": "sondes", "apply": iterate_Sonde_method_over_dict_of_Sondes_objects, - "functions": [], + "functions": [ + "convert_to_si", + "get_l2_variables", + "add_compression_and_encoding_properties", + "get_flight_attributes", + "get_other_global_attributes", + "add_global_attributes_to_interim_l2_ds", + "add_sonde_id_variable", + "get_l2_filename", + "write_l2", + ], "output": "sondes", "comment": "This steps creates the L2 files after the QC (user says how QC flags are used to go from L1 to L2) and then saves these as L2 NC datasets.", },