SmartCane/python_app
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
..
experiments updated whole workflow and architercutre md 2026-01-12 09:34:13 +01:00
harvest_detection_experiments testing new branch 2026-01-12 14:56:54 +01:00
python_scripts wip 2026-01-12 14:55:25 +01:00
.gitignore wip 2023-10-10 17:02:35 +02:00
00_download_8band_pu_optimized.py Enhance download progress feedback and optimize tile overlap checks 2026-01-13 11:30:38 +01:00
01_planet_download.ipynb updated whole workflow and architercutre md 2026-01-12 09:34:13 +01:00
22_harvest_baseline_prediction.py Cleanup: Fix CI formula, reorganize shell scripts and test files 2026-01-14 16:58:51 +01:00
31_harvest_imminent_weekly.py Rename: python scripts to match pipeline stage numbers 2026-01-14 11:21:05 +01:00
download_planet_missing_dates.py updated code to fit in workflow better 2026-01-12 16:33:23 +01:00
harvest_date_pred_utils.py Cleanup: Fix CI formula, reorganize shell scripts and test files 2026-01-14 16:58:51 +01:00
merge_ci_data.R commit all stuff 2026-01-06 14:17:37 +01:00
model_307.pt updated code to fit in workflow better 2026-01-12 16:33:23 +01:00
model_config.json updated code to fit in workflow better 2026-01-12 16:33:23 +01:00
model_scalers.pkl updated code to fit in workflow better 2026-01-12 16:33:23 +01:00
requirements_darwin.txt wip 2023-10-22 21:45:20 +02:00
requirements_linux.txt wip 2023-10-22 21:45:20 +02:00
requirements_old.txt wip 2023-10-18 22:01:14 +02:00