Commit Graph

78 Commits

Author SHA1 Message Date
bertoz_b 55efbc74a2 Cleanup: remove wreck code from scripts/sp2xr_apply_calibration.py 2025-08-22 16:43:58 +02:00
bertoz_b 3173a7c83b Cleanup: remove wreck code from src/sp2xr/resample_pbp_hk.py 2025-08-22 16:42:02 +02:00
bertoz_b 2da9eb6089 Cleanup: remove wreck code from src/sp2xr/helpers.py 2025-08-22 16:40:26 +02:00
bertoz_b d2a0533a12 Cleanup: remove wreck code from src/sp2xr/schema.py 2025-08-22 16:38:06 +02:00
bertoz_b 4696c2cbb9 Cleanup: Remove wreck code from sp2xr_pipeline 2025-08-22 16:36:08 +02:00
bertoz_b 681de6c203 Fix: add missing import of cast_and_arrow function to sp2xr_pipeline 2025-08-22 16:31:03 +02:00
bertoz_b 40bae0e5d2 Refactor: move function _cast_and_arrow to schema.py 2025-08-22 16:19:42 +02:00
bertoz_b 2704128e8d Test notebook moved out of project 2025-08-22 16:11:18 +02:00
bertoz_b 43c31728e0 Fix: add control to skip empty ddf when time chunk is empty 2025-08-22 16:06:05 +02:00
bertoz_b 8947046049 Feature: remove saving of ddf_pbp_hk_dt files 2025-08-22 16:03:43 +02:00
bertoz_b 547c7f3108 Fix: removed default values in parse_args to avoid unexpected behavior when passing run_config settings 2025-08-22 16:01:01 +02:00
bertoz_b 9c384f5245 Fix: Removed default values in the load_and_resolve_config function to avoid unexpected behavior when run_config doesn't provide settings 2025-08-22 15:59:48 +02:00
bertoz_b f42a308474 Feature: processing is now divided in time chunks to reduce size of dask graph 2025-08-22 11:37:58 +02:00
bertoz_b d6b3f2028f Fix: bug fixed in conversion from BC mass to diam due to density units mismatch in the config file and default values 2025-08-22 10:48:08 +02:00
bertoz_b bbd21ba7b9 Chore: add test data folder to gitignore 2025-08-21 11:58:39 +02:00
bertoz_b bf0e663449 Test: add temporary notebook for tests 2025-08-21 11:57:51 +02:00
bertoz_b ebd14bcbae Fix: typo in the config reading was blocking calibration 2025-08-21 11:39:11 +02:00
bertoz_b d7f778d531 Fix: the hisotgrams were adding lines with NaNs when the corresponding partition was completely empty. Now it is back to old behavior and no index is added for partitions completely empty. 2025-08-21 11:37:23 +02:00
bertoz_b 063b01e73f Test: PbP and HK parquet files added for testing 2025-08-20 19:08:28 +02:00
bertoz_b a2cc520ff2 feat: possibility to choose between running locally and via slurm cluster 2025-08-14 11:48:52 +02:00
bertoz_b 18b8635147 chore: moved config files part 2 2025-08-14 10:42:44 +02:00
bertoz_b d470f2e811 chore: moved config files 2025-08-14 10:41:44 +02:00
bertoz_b 176dde251f Refactor: remove name key from BC_hist_configs dictionary 2025-08-13 17:22:47 +02:00
bertoz_b 554ec26410 Refactor: moved parts of processing code to specific functions in separate modules (join_pbp_with_flow and aggregate_dt) 2025-08-13 17:02:47 +02:00
bertoz_b 053d0d5b75 Refactor: separte the workflow for the option to calculate distributions for BC (numb and amss), scattering and time delay 2025-08-13 16:26:39 +02:00
bertoz_b 1038b18187 Clean up old parts in the code and re-arranged processing order 2025-08-13 16:08:37 +02:00
bertoz_b 5f3d25817c Refactor: moved calibration of PbP data to new file and clear separation between run_config and instr_config 2025-08-13 15:28:57 +02:00
bertoz_b 6f87b4cc79 Refactor: implemented input run_config.yaml file 2025-08-13 14:09:58 +02:00
bertoz_b fa4cb9e7d4 Refactor: moved some functions to respective modules and implemented the timelag hists 2025-08-12 15:53:48 +02:00
bertoz_b b05853416b Refactor: functions moved from sp2xr_pipeline to corresponding script in the src directory 2025-08-08 16:53:29 +02:00
bertoz_b 7e736803c1 Refactor: working version of sp2xr_pipeline but not yet polished 2025-08-08 11:54:32 +02:00
bertoz_b 6fa6fabf03 refactor: moved some functions from toolkit_legacy 2025-08-06 09:00:16 +02:00
bertoz_b 3e620c80f0 refactor: first draft for the new sp2xr processing pipeline 2025-08-06 08:56:32 +02:00
bertoz_b 63359449d3 refactor: split out single-particle calibration into its own module 2025-08-04 18:43:25 +02:00
bertoz_b 74c5a77b48 test: manually added case-specific instrument_config parameters 2025-08-04 13:03:24 +02:00
bertoz_b ad897be5db feat: pre-populate YAML export with calibration and threshold placeholders 2025-08-04 12:58:17 +02:00
bertoz_b f5c5420209 feat: add CLI utility to convert SP2-XR .ini files to editable YAML configs 2025-08-04 12:33:09 +02:00
bertoz_b 1d8f12ee35 feat: add ini→yaml conversion and tests for SP2-XR instrument parameters 2025-08-04 12:26:03 +02:00
bertoz_b 83c95a9cdd feat: set default walltime dynamically based on SLURM partition 2025-08-04 11:42:13 +02:00
bertoz_b 2ca7704b7e chore: add bokeh for Dask dashboard support 2025-08-04 10:43:44 +02:00
bertoz_b 6c3bb8ba2f chore: add dask[distributed] and dask-jobqueue to project dependencies 2025-08-04 09:52:13 +02:00
bertoz_b a1595b1e86 feat: add CLI script to convert SP2XR zip/CSV files to parquet using Dask 2025-08-04 09:40:00 +02:00
bertoz_b 5705d88092 refactor: move file-finding and chunking utilities to helpers.py 2025-08-04 09:24:39 +02:00
bertoz_b 5690fcdcaf refactor: split read_csv_files_with_dask into modular load, enrich, and save functions 2025-07-25 20:28:24 +02:00
bertoz_b 399df18e81 test: add real-data tests for PbP and HK ZIP input files 2025-07-25 15:33:33 +02:00
bertoz_b 06dd589bc7 refactor: rename and update schema config generator to support YAML output 2025-07-25 15:27:01 +02:00
bertoz_b ecd08d4c02 chore(meta): update config.yaml with correct column types 2025-07-25 14:51:48 +02:00
bertoz_b d8c0a4f6c7 style: apply pre-commit fixes globally 2025-07-25 12:27:12 +02:00
bertoz_b b443aa5db8 style: Ruff auto‑fixes in SP2XR_toolkit 2025-07-25 12:12:38 +02:00
Bertozzi Barbara 51a005f2da style: apply Black auto‑formatting 2025-07-24 20:33:12 +02:00