Commit graph

461 commits

Author SHA1 Message Date
Timon 4953f01c96 Add experiments_and_old_code_python_r/ to .gitignore 2026-02-19 13:37:12 +01:00
Timon 34659bf2d6 Remove experiments folder from tracking 2026-02-19 13:36:47 +01:00
Timon ddeab0e3bd moved files, added sys architecture to webapps 2026-02-19 12:42:54 +01:00
Timon f04f5d83b7 updated renv.lock 2026-02-19 10:51:38 +01:00
Timon 5bbdbda049 Refactor KPI calculation functions and enhance batch processing script for agronomic support 2026-02-19 10:38:27 +01:00
Timon Weitkamp 5d462dad63
Merge pull request #13 from TimonWeitkamp:operational_run
Enhance trend calculation with historical data and linear regression
2026-02-19 08:30:52 +01:00
Timon d4078fbffd Enhance trend calculation by loading historical data from RDS cache and using linear regression for slope determination 2026-02-18 17:04:05 +01:00
Timon aaea7f62c7 Remove unused KPI field analysis directory from project setup function 2026-02-18 15:26:27 +01:00
Timon 9a5c5f0441 Merge branch 'code-improvements' of https://github.com/TimonWeitkamp/smartcane_experimental_area into code-improvements 2026-02-18 15:22:49 +01:00
Timon a2d9f00ed1 Merge branch 'review_perField_code' into code-improvements 2026-02-18 15:22:37 +01:00
Timon Weitkamp 44179b71c2
Merge pull request #12 from TimonWeitkamp:review_perField_code
Refactor field analysis utilities and reporting; update column names for alerts, enhance directory setup, and improve KPI calculation robustness.
2026-02-18 15:18:13 +01:00
Timon 55d67ef503 Merge branch 'code-improvements' into review_perField_code 2026-02-18 15:17:11 +01:00
Timon 29a85357a5 Refactor field analysis utilities and reporting; update column names for alerts, enhance directory setup, and improve KPI calculation robustness. 2026-02-18 14:53:44 +01:00
Timon 1500bbcb1c Refactor KPI calculations and reporting utilities; normalize field details columns, update area change metrics, and enhance .gitignore for PNG exceptions. 2026-02-18 13:26:32 +01:00
Timon b2d4093601 Refactor KPI reporting and status alert logic; streamline directory structure for KPI reports and enhance field analysis summaries with additional metrics and alerts. 2026-02-18 12:02:25 +01:00
Timon f1821dab59 Enhance project configuration and reporting utilities; update .gitignore for PNG exceptions, add CI change thresholds, and improve historical data handling in KPI calculations. 2026-02-18 10:54:42 +01:00
Timon af5c53e084 Refactor patchiness KPI calculation to combine Gini Coefficient and Moran's I for comprehensive field heterogeneity assessment; update report to reflect new metrics and interpretations. 2026-02-18 10:09:10 +01:00
Timon 1f677f2626 Update terminology from DOY to DAH across multiple scripts and reports for consistency in crop age calculations 2026-02-18 09:36:54 +01:00
Nik Verweel 58eab001a6 Fix client selection edge cases 2026-02-18 09:20:46 +01:00
Timon f0a3afad52 Refactor risk assessment terminology in reports; replace 'Weed Risk' with 'Patchiness Risk' and update related calculations and alerts for consistency 2026-02-17 22:15:33 +01:00
Timon 253ff51ca2 Add field patchiness KPI calculation and update summaries; replace weed pressure metrics with patchiness metrics in reports 2026-02-17 21:57:34 +01:00
Nik Verweel bcddca77c9 Add icon to login screen 2026-02-17 16:31:52 +01:00
Nik Verweel 8b02f90f7b Create UID generator webapp 2026-02-17 16:20:22 +01:00
Timon 34159b3003 Enhance yield prediction capabilities by integrating Random Forest model with Forward Feature Selection; add robust data loading and validation for harvesting data across multiple utility scripts. 2026-02-17 15:02:30 +01:00
Timon 640e239815 Refactor field processing logic to simplify page breaks and enhance markdown formatting in CI report 2026-02-17 14:13:51 +01:00
Timon 14bd0fa47a Normalize field detail column names for consistency and improve centroid calculation in cane supply report 2026-02-17 14:00:32 +01:00
Timon e4e19df0c7 Update CI report parameters and improve map legend configurations
- Changed report date in CI report for cane supply to "2026-02-04".
- Updated output file naming convention for agronomic support report to reflect new report date.
- Enhanced map creation functions to allow customizable legend positions and improved layout settings.
- Adjusted widths for map arrangements to ensure better visual representation.
- Fixed minor issues in ggplot aesthetics for clearer legend positioning and improved readability.
- Corrected field size unit from hectares to acres in KPI summary generation.
2026-02-17 13:46:43 +01:00
Timon e7ab4295cf chore: Comment out return statement in calculate_weed_presence_kpi function for debugging 2026-02-17 08:00:03 +01:00
DimitraVeropoulou 2e683d0c6d Refactor KPI report generation to improve data handling and summary table creation; update field details mapping and enhance logging for better traceability. 2026-02-16 17:25:03 +01:00
DimitraVeropoulou e966d778f4 Enhance area change KPI calculation to handle multiple field naming conventions and improve interpretation logic for missing previous data 2026-02-16 16:05:54 +01:00
Timon a1fc01632a Add ignored directories to renv settings for better version control management 2026-02-16 15:34:00 +01:00
DimitraVeropoulou e16d920eea 1. removed gap score 2.fixed morans I to calculate per-field 2026-02-16 15:06:37 +01:00
DimitraVeropoulou 5f2dca0a92 remove gap score calculation --> moved to common 2026-02-16 15:05:52 +01:00
DimitraVeropoulou 35e474cf5c Add gap score calculation to common utils 2026-02-16 14:46:16 +01:00
DimitraVeropoulou 8e2d796b41 Added aura in client type map 2026-02-16 14:45:00 +01:00
DimitraVeropoulou 3f08326308 removed redudant variable definition 2026-02-16 12:12:16 +01:00
DimitraVeropoulou cea3f9a0e5 changed the path for cane supply too 2026-02-16 12:05:40 +01:00
DimitraVeropoulou 0503a93bcd fixed the path that the excel is being saved to 2026-02-16 11:51:10 +01:00
DimitraVeropoulou 951eb487b8 Refactor KPI export function to excel file that matches cane supply strycture 2026-02-16 11:04:31 +01:00
Timon 257e0bc0c0 chore: Update .gitignore to include additional Python, R, and temporary file patterns 2026-02-16 10:53:00 +01:00
Timon 8bc151ee4c chore: Remove obsolete .gitignore files from python_app and r_app 2026-02-16 10:28:33 +01:00
DimitraVeropoulou a9840171cb Enhance logging functionality and update report generation scripts
- Improved safe_log function to include timestamps and conditional logging
- Added diagnostic messages for field visualization processing
- Updated CI map rendering parameters for consistency
- Refined raster mapping functions in report_utils for clarity
- Added .png files to .gitignore
2026-02-16 10:21:55 +01:00
Timon Weitkamp 787a2d5b90
Merge pull request #10 from TimonWeitkamp/harvest-model-improvements
feat: Add spectral extraction and analysis scripts for SC-161 and SC-162
2026-02-16 10:16:40 +01:00
Timon d075302efa feat: Add spectral extraction and analysis scripts for SC-161 and SC-162
- Implemented `run_spectral_extraction.py` to batch extract spectral indices (NDVI, BSI, NDWI) from 4-band TIFF files, saving results in a structured CSV format.
- Created `spectral_features.py` for calculating various spectral indices, including NDVI, BSI, NDWI, CI_green, CI_red, GNDVI, SAVI, and EVI2.
- Added Jupyter notebook `02_season_normalization_analysis.ipynb` for analyzing season-length normalization, comparing ESA and Angata spectral indices, and visualizing growth patterns.
- Included functions for computing season age, plotting trajectories, and performing peak and amplitude analysis.
2026-02-16 10:11:43 +01:00
DimitraVeropoulou 684050d459 fixed the "key insights" calculation 2026-02-12 17:27:21 +01:00
DimitraVeropoulou eb1b7772e5 changed the named of the generated excel and rmd back to "kpi_summary_tables_week", as the 90 requests 2026-02-12 17:16:41 +01:00
DimitraVeropoulou 3106871a81 Remove the creation of weekly_tile_max_mosaic folder 2026-02-12 16:55:34 +01:00
DimitraVeropoulou be29e4fcb3 round to 2 decimals the gap score 2026-02-12 15:44:41 +01:00
DimitraVeropoulou 750db99a41 fixed the KPIs calculation for agronomic utils, fixed the path for saving the excel and rds, updated the main file 2026-02-12 15:43:58 +01:00
DimitraVeropoulou 13015f6ec0 Fix the output path so excel, rds and csv are saved in the same folder 2026-02-12 13:50:57 +01:00