Commit graph

262 commits

Author SHA1 Message Date
DimitraVeropoulou 274dd309e8 add the spanish translation 2026-03-18 09:47:52 +01:00
Timon 9ef0cee7f1 Remove outdated translation files for versions 90 and 91 2026-03-11 11:23:15 +01:00
Timon b7757f6a28 Dynamically derive supported languages from JSON keys in report language selection 2026-03-11 11:15:48 +01:00
Timon d794f31460 Add translations for Satellite Based Field Reporting in translations_91.json 2026-03-10 17:38:15 +01:00
Timon 58072d8f4a Refactor code structure for improved readability and maintainability 2026-03-10 16:53:09 +01:00
Timon 23bbd7b450 Update reference document path in report output configuration 2026-03-10 14:15:09 +01:00
Timon df2fb8bf7f Update report parameters and improve translation logging; modify field size variable name 2026-03-10 14:11:13 +01:00
Timon 8924fd1273 Refactor parallel processing in growth model utilities and streamline field alert generation in report utilities 2026-03-10 14:06:45 +01:00
Timon 74aa881ec3 Refactor translation handling by replacing tr_safe() with tr_key() and remove redundant tr_key() function definition 2026-03-10 13:20:13 +01:00
Timon c9c5554fa3 Add translation handling functions and update titles in report generation 2026-03-09 17:19:54 +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 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 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 ddeab0e3bd moved files, added sys architecture to webapps 2026-02-19 12:42:54 +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 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 a2d9f00ed1 Merge branch 'review_perField_code' into code-improvements 2026-02-18 15:22:37 +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
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
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