Commit graph

422 commits

Author SHA1 Message Date
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
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
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
DimitraVeropoulou 7eeed342f3 Update the cane supply main and util script (with the 2σ gap score) 2026-02-12 13:47:35 +01:00
Timon Weitkamp dbc097e42c
Merge pull request #9 from TimonWeitkamp/review_perField_code
Review per field code
2026-02-11 15:11:13 +01:00
Timon bb23e4eca7 Remove obsolete KPI validation and overview maps aggregation scripts 2026-02-11 14:47:39 +01:00
DimitraVeropoulou 613b35fc59 add missing bracket to gap score function 2026-02-11 14:44:09 +01:00
Timon 4cd62ab82e Enhance report utility functions and add validation scripts
- Updated `create_CI_map` and `create_CI_diff_map` functions to enforce a 1:1 aspect ratio for consistent map sizing.
- Modified `ci_plot` function to adjust widths of arranged maps for better layout.
- Changed raster merging method in `aggregate_per_field_mosaics_to_farm_level` from `mosaic` to `merge` for improved handling of field data.
- Introduced `test_kpi_validation.R` script to validate the structure of KPI RDS files, ensuring expected KPIs are present.
- Added `test_overview_maps_aggregation.R` script to test the aggregation pipeline for overview maps, including loading field mosaics, creating a farm-level mosaic, and generating visualizations.
2026-02-11 14:32:36 +01:00
DimitraVeropoulou 97d1ea33f1 add the 2σ calculate_gap_filling_kpi in common utils + comment out old function 2026-02-11 14:03:58 +01:00
DimitraVeropoulou 4968162bfc Add huss in the client type map 2026-02-11 13:31:56 +01:00
Timon b6fa1956c0 Enhance debugging output and improve date handling in TIFF removal script; update report utility functions for better map layout and historical data handling. 2026-02-11 09:48:07 +01:00
Timon 2d6f062c27 changes again 2026-02-10 22:11:58 +01:00
Timon a40b9c1dfe coderabbit fixes 2026-02-10 22:01:02 +01:00
Timon dd83a9e27f some messy updates to script 90, wil l need to do some cleaning tomorrow... 2026-02-10 21:53:49 +01:00
Timon 6f54ed263b wip 2026-02-10 19:56:57 +01:00
Timon cfd29fa84d sat downloader only starts tiling at 25+ fields in geojson 2026-02-10 19:51:02 +01:00
Timon e5a48ca447 remove file 2026-02-10 19:28:49 +01:00
Timon 8de05ce968 modified: r_app/91_CI_report_with_kpis_cane_supply.Rmd 2026-02-10 19:17:12 +01:00
Timon 5ba610d897 Merge remote-tracking branch 'origin/review_perField_code' into code-improvements 2026-02-10 19:13:20 +01:00
Timon 53bfc20f96 Enhance field boundary loading with success flags and improve dummy point handling in hexbin map generation 2026-02-10 17:57:07 +01:00
DimitraVeropoulou 8db2b641ce updated the name of the 90/91 files 2026-02-10 17:52:15 +01:00
Timon 3d3df151d3 Update .gitignore to include cache files, enhance R Markdown report paths, and improve KPI calculation script for clarity and error handling 2026-02-10 17:50:12 +01:00
DimitraVeropoulou cf7d28e276 added missing bracket and added the total acres var in the reports detail 2026-02-10 17:50:08 +01:00
DimitraVeropoulou 4b862bc016 Issue: two variables were in the same line. 2026-02-10 17:46:28 +01:00
Timon f2da320fb6 Refactor KPI calculation scripts for improved error handling and clarity 2026-02-10 16:12:07 +01:00
Timon b1b96e6c6a gap filling worked to per-field 2026-02-10 16:01:59 +01:00
Timon 054cc85bdb small issues 2026-02-10 15:38:23 +01:00
Timon 0dc46628fd Address CodeRabbit review feedback - [description of changes] 2026-02-10 12:45:41 +01:00
Timon 51d479673d Merge branch 'backward-compat-no-tiling' into code-improvements 2026-02-10 12:23:18 +01:00
Timon 1867101032 Merge branch 'code-improvements' of https://github.com/TimonWeitkamp/smartcane_experimental_area into code-improvements 2026-02-10 11:34:40 +01:00
Timon ede84679d7 code rabbit review stuff 2026-02-10 11:34:29 +01:00
Nik Verweel b1cffdad1d Create ODK Viewer web tool 2026-02-10 10:33:47 +01:00
Timon bfd56ccd16 seperate scripts work for angata, except for the word doc. 2026-02-09 20:34:11 +01:00
Timon 3ee3f9e31c shaving off some more details... 2026-02-09 10:40:01 +01:00
DimitraVeropoulou 58d3e655ab
Merge pull request #6 from TimonWeitkamp/SC-119
Sc 119
2026-02-05 14:51:02 +01:00
DimitraVeropoulou 5be79bcc87 Implemented the changed for ISO numbering to 90 script (generated the simple word file) 2026-02-05 12:11:33 +01:00
Nik Verweel 654742ab22 Add API specific exclusions to gitignore to prevent accidental token pushing 2026-02-05 11:37:01 +01:00
DimitraVeropoulou cc38d25a54 Changed the week and year numbering to use ISO in the kpi_utils. Update the 80 script to call the function. 2026-02-05 10:54:55 +01:00
Timon Weitkamp db4e8c68e5
Merge pull request #5 from TimonWeitkamp/new_gap_calculation
New gap calculation
2026-02-04 16:41:35 +01:00
DimitraVeropoulou 9f217df98a Changed the generated doc to match the one in Linear (SC-20) BUT i cannot run the coded parts. 2026-02-04 16:24:56 +01:00
Nik Verweel 4b1a51d0e9 Add mill layer option to GeoJSON viewer 2026-02-04 13:40:06 +01:00