Commit graph

481 commits

Author SHA1 Message Date
Timon a1692817fe Add environment configuration for PyTorch and harvest dependencies
- Created `environment_pytorch.yml` to define the conda environment for PyTorch with GPU support, including necessary packages like GDAL and SentinelHub.
- Added `requirements_harvest.txt` for Python package dependencies related to data harvesting, including PyTorch, Pandas, NumPy, and others.
2026-02-24 15:12:18 +01:00
Timon 442d1ac46c Update date range in batch pipeline and enhance area unit preference handling 2026-02-24 15:12:03 +01:00
Timon 83951efca2 Refactor gap filling score calculations to use 1σ method; ensure all fields are included in output 2026-02-24 13:48:06 +01:00
Timon e0bfbccf0e Refactor area calculation functions and enhance error handling; add area conversion utility 2026-02-24 13:07:55 +01:00
Timon b487cc983f Refactor translation function and update reports to use new area unit preference
- Renamed translation function from `t` to `tr_key` for clarity and consistency.
- Updated all instances of translation calls in `90_CI_report_with_kpis_agronomic_support.Rmd` and `91_CI_report_with_kpis_cane_supply.Rmd` to use `tr_key`.
- Introduced a new helper function `get_area_unit_label` to manage area unit preferences across the project.
- Modified area calculations in `91_CI_report_with_kpis_cane_supply.Rmd` to utilize area from analysis data instead of recalculating.
- Added area unit preference setting in `parameters_project.R` to allow for flexible reporting in either hectares or acres.
- Updated `MANUAL_PIPELINE_RUNNER.R` to include language parameter for report generation.
- Adjusted translations in the `translations.xlsx` file to reflect changes in the report structure.
2026-02-24 12:16:44 +01:00
Timon 9afceea121 Enhance KPI calculation scripts and reporting:
- Update trend categorization thresholds in KPI calculations for clarity.
- Improve comments for better understanding of trend interpretations.
- Refactor report generation to use consistent terminology for trends.
- Add batch pipeline runner for weekly reporting across multiple dates.
- Minor formatting adjustments across various scripts for consistency.
2026-02-24 10:48:17 +01:00
Nik Verweel fb5dbb7651
Merge pull request #15 from TimonWeitkamp/translation
First translation iteration
2026-02-23 16:09:19 +01:00
Nik Verweel c0092d90a9 Fix alert table and finish first translation iteration 2026-02-23 16:06:02 +01:00
Nik Verweel 54c4b3f93b Merge branch 'code-improvements' into translation 2026-02-23 14:47:20 +01:00
Nik Verweel 17f59edd70 Minor translation updates 2026-02-23 14:38:38 +01:00
DimitraVeropoulou 29c1e77d06
Merge pull request #14 from TimonWeitkamp/review_perField_code
Growth trend
2026-02-23 14:33:03 +01:00
DimitraVeropoulou 32c1bc358c
Merge branch 'code-improvements' into review_perField_code 2026-02-23 14:31:47 +01:00
DimitraVeropoulou d4553693e6 Refactor KPI reporting functions; update directory parameters for historical data loading and fix historical data for four weeks trend 2026-02-23 13:38:41 +01:00
Nik Verweel eafb6f68be Spanish CI graph 2026-02-23 11:40:47 +01:00
Nik Verweel f583ea838b Corrected Spansih translations Jordi 2026-02-23 11:34:15 +01:00
Nik Verweel fd0e0d0cc6 Updated translations 2026-02-20 10:55:35 +01:00
Timon 6bdbea12cc feat: Add implementation guide for SmartCane code improvements
- Introduced core and optional features for the code improvements merge.
- Documented detailed implementation checklist for core features including database migration, model updates, job changes, form modifications, shell script wrappers, and Python package files.
- Added optional enhancements such as country-based project organization, download scheduling, project search feature, and harvest prediction setup documentation.
- Included testing checklist and post-merge data recreation strategy.
2026-02-19 15:03:14 +01:00
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
Nik Verweel 24fd5bb8b3 Merge remote-tracking branch 'origin/code-improvements' into translation 2026-02-18 16:02:27 +01:00
Nik Verweel 4ba2d5d84f Upload translation strings 2026-02-18 15:36:08 +01:00
Nik Verweel fa5db056a4 Initial localisation report text 2026-02-18 15:30:49 +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