Commit graph

15 commits

Author SHA1 Message Date
Timon 458b8247be Cleanup: Fix CI formula, reorganize shell scripts and test files
- Fixed CI calculation: changed from NDVI (NIR-Red)/(NIR+Red) to correct NIR/Green-1 formula in:
  * process_single_tile() function
  * create_ci_band() utility function
  * Updated create_mask_and_crop() documentation

- Renamed numbered shell scripts for clarity (matching R script numbering):
  * 01_run_planet_download -> 10_planet_download.sh
  * 02_run_ci_extraction -> 20_ci_extraction.sh
  * 03_run_growth_model -> 30_growth_model.sh
  * 04_run_mosaic_creation -> 40_mosaic_creation.sh
  * 09_run_calculate_kpis -> 80_calculate_kpis.sh
  * 10_run_kpi_report -> 90_kpi_report.sh

- Archived obsolete shell scripts to old_sh/:
  * build_mosaic.sh, build_report.sh, interpolate_growth_model.sh
  * 05_run_dashboard_report.sh, 06_run_crop_messaging.sh
  * 11_run_yield_prediction.sh/ps1
  * runcane.sh, runpython.sh, smartcane.sh, update_RDS.sh

- Deleted test/debug files and temporary outputs:
  * analyze_*.R, benchmark_gpu_vs_cpu.py, convert_angata_harvest.py
  * debug_mosaic.R, examine_kpi_results.R, generate_sar_report.R
  * inspect_8band_structure.R, inspect_tif_bands.R
  * old_working_utils.R, predict_harvest_operational.R
  * run_kpi_calculation.R, run_report.R, simple_sar_test.R
  * data_validation_tool/, harvest_ci_pattern_analysis.png, kpi_debug.out

- Enhanced harvest prediction: Added threshold tuning (0.40-0.45) and field type handling

- Enhanced mosaic creation: Improved tile detection and routing logic
2026-01-14 16:58:51 +01:00
Martin Folkerts 499744db6d moved logging arroudn 2024-08-30 12:09:13 +02:00
Martin Folkerts ad2f41482f updated create_report.sh to have borders option 2024-08-28 14:52:42 +02:00
Martin Folkerts 64a576d638 okay 2024-08-20 17:01:58 +02:00
Martin Folkerts 8bac58b121 okay 2024-07-19 10:57:50 +02:00
Martin Folkerts d9fafcea43 wip 2024-07-02 16:51:55 +02:00
Martin Folkerts f7d660356c okay; 2024-03-10 21:53:20 +01:00
Martin Folkerts 2fd4f70abe fixed typo in directory name 2024-01-30 16:12:14 +01:00
Martin Folkerts 40a611585e minor changes to build_report.sh 2024-01-30 16:06:55 +01:00
Martin Folkerts 33cb0dd7da wip 2024-01-24 21:46:08 +01:00
Martin Folkerts 3eaf471f05 wip 2024-01-10 21:42:32 +01:00
Martin Folkerts da9d94880f wip 2024-01-09 10:49:25 +01:00
Martin Folkerts 3fb55ddcce added rule for missing mergedTifs; 2023-12-24 18:02:17 +01:00
Martin Folkerts c40ff0c79f updated scripts 2023-12-12 11:20:05 +01:00
Martin Folkerts 4c730c0167 wip 2023-10-24 17:08:04 +02:00