Timon
6efa6b6b05
"wip"
2026-02-03 14:56:04 +01:00
Timon
9e0534cb70
add readme
2026-02-02 15:42:55 +01:00
Timon
86460aa189
table width to page instead of content
2026-02-02 15:37:57 +01:00
Timon
3fe1cf8638
removed emoticons
2026-02-02 15:35:36 +01:00
DimitraVeropoulou
19986706b9
changed the gap_score calculation from using the lower 25% of CI values to excluding pixels eith values 2σ lower than the median.
2026-02-02 13:30:06 +01:00
Timon
14300f6832
updating inbetween stuff, not finished yet
2026-02-02 12:07:10 +01:00
DimitraVeropoulou
39536ab72a
testing
2026-02-02 11:49:04 +01:00
Timon
1c08070965
script 40 per-field weekly mosaics - tested with aura
2026-01-29 21:49:15 +01:00
Timon
9b8c971902
script 30 refactored to per field
2026-01-29 21:36:47 +01:00
Timon
4d6bba828f
refactored 10 20
2026-01-29 21:10:24 +01:00
Timon
d1f352f21c
updated sc-91
2026-01-29 17:26:03 +01:00
Timon
4445f72e6f
works for angata and aura
2026-01-29 16:04:04 +01:00
Timon
dd915f9b9e
adjusting scripts to work for all projects
2026-01-29 09:04:46 +01:00
Timon
b2de819fc4
Fix backward compatibility: Support non-tiled (single-file) mosaic projects
...
- Script 80: Add fallback logic to detect and handle single-file mosaics
- Weekly stats utils: Support both tile-based and single-file mosaic detection
- Pipeline runner: Auto-detect mosaic mode (tiled vs single-file)
- Flexible grid size detection for tile-based projects (5x5, 10x10, etc)
Fixes:
- Script 80 now checks weekly_tile_max/{grid_size} first, falls back to weekly_mosaic
- calculate_field_statistics handles both tile patterns and single-file patterns
- run_full_pipeline detects project mode automatically
- All verification checks are now flexible and don't assume fixed paths
Projects like 'aura' (small ROI < 10km) will use single-file approach automatically
Projects like 'angata' (large ROI >= 10km) will use tile-based approach automatically
2026-01-28 11:19:07 +01:00
Nik Verweel
fde60cbbdf
Additional CSV delimiter fix
2026-01-28 09:59:11 +01:00
Nik Verweel
1646b5dd2d
Fixed exported CSV delimiter to comma for easier opening
2026-01-28 09:54:36 +01:00
Nik Verweel
89588201bd
Added extra functionality to geojson viewer (search and zoom), plus label fixes
2026-01-27 18:17:01 +01:00
Nik Verweel
0a19473292
Enhanced zooming and filtering mechanics for sugar mill web app
2026-01-27 17:39:19 +01:00
Nik Verweel
06299cc99f
Added polygon analysis functionality
2026-01-27 17:32:01 +01:00
Nik Verweel
e87f0f46aa
Add frontpage link to the polygon editor
2026-01-27 14:01:44 +01:00
Nik Verweel
f231911d7b
Mill viewer updates and fixes
2026-01-27 10:32:39 +01:00
Timon
40a7d4d691
Merge code-improvements: integrate remote changes
2026-01-27 09:20:05 +01:00
Timon Weitkamp
24401d436a
Merge pull request #4 from TimonWeitkamp/timon/sc-64-apply-the-new-structure-to-the-code
...
Timon/sc 64 apply the new structure to the code. mainly new numbering structure, and cleaned some code.
2026-01-27 09:12:51 +01:00
Timon
9a55d2fcf8
Refactor full pipeline script to include intelligent checking of existing outputs and dynamic execution of scripts. Added new Python scripts for RGB validation and evaluation template creation. Enhanced error handling and logging throughout the pipeline.
2026-01-27 08:58:06 +01:00
Timon
4143bdf4d7
updateing csv file
2026-01-20 12:06:45 +01:00
Timon
c11b10a73f
working on visualisation, not working too well...
2026-01-18 11:25:31 +01:00
Timon
9f312131d7
integration lstm 31 and 80 complete - angata kpi file now dynamic
2026-01-18 10:14:08 +01:00
Timon
1f5add7485
refactored script 80
2026-01-18 09:27:16 +01:00
Timon
41bbc370f2
harvest pred working better now
2026-01-18 08:22:02 +01:00
Timon
7975f8ad06
8 week data working now
2026-01-18 07:39:30 +01:00
Timon
3e4430b3be
added last columns of trends, only harvest imminent and age left to do
2026-01-16 09:10:39 +01:00
Timon
8d84c8cab5
phase 2 cv trend implemented
2026-01-16 08:30:47 +01:00
Timon
6e88acef25
added some more stats and functions calculate and export csv and rds file for future ref
2026-01-16 08:04:45 +01:00
Timon
4e94a9a78b
expanding csv table
2026-01-15 15:35:16 +01:00
Timon
fabbf3214d
Enhance harvest detection logic and testing framework
...
- Updated `detect_mosaic_mode` function to check for grid-size subdirectories in addition to tile-named files.
- Added comprehensive tests for DOY reset logic in `test_doy_logic.py`.
- Implemented feature extraction tests in `test_feature_extraction.py`.
- Created tests for growing window method in `test_growing_window_only.py`.
- Developed a complete model inference test in `test_model_inference.py`.
- Added a debug script for testing two-step refinement logic in `test_script22_debug.py`.
2026-01-15 14:30:54 +01:00
Timon
d6448b8703
Refactor: Update system architecture documentation to reflect Python integration and add complete pipeline overview
2026-01-15 10:25:38 +01:00
Timon
4c7ca85d29
Add script 23: Convert harvest format from production to standard, remove diagnostic script
2026-01-15 09:28:13 +01:00
Timon
7b347ddba6
Fix: Revert run_phase1_growing_window to original GitHub version (off-by-one fix) and move test scripts to harvest_detection_experiments/tests
2026-01-15 09:08:07 +01:00
Timon
beedf2f94c
wip
2026-01-15 08:23:52 +01:00
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
Timon
d365b5838b
Move: archive old KPI scripts (09, 09b, 09c, 20) to old_scripts/ for testing
2026-01-14 11:37:13 +01:00
Timon
04e1641a18
Create 80_calculate_kpis.R: unified KPI calculation (per-field SC-64 + farm-level metrics)
2026-01-14 11:36:06 +01:00
Timon
62106eeb3b
Update: source() calls to reference renamed util files (20_, 30_, 40_)
2026-01-14 11:24:27 +01:00
Timon
ab19c2b99d
Rename: python scripts to match pipeline stage numbers
2026-01-14 11:21:05 +01:00
Timon
b7ef583efa
Rename: number utils to match their main scripts
2026-01-14 11:16:23 +01:00
Timon
5aa456fbf5
Rename: 01_ to 10_ for stage consistency
2026-01-14 11:12:11 +01:00
Timon
e69a7c5465
Rename: align stage numbering with Bitbucket structure
2026-01-14 11:10:28 +01:00
Timon
252b4049b3
Rename: align stage numbering with Bitbucket structure
2026-01-14 11:08:33 +01:00
Timon
ef29cb5c2c
Move experimental files to r_app/experiments
2026-01-14 11:07:40 +01:00
Timon
6d5509dd1b
Remove: cleanup test/draft files not in Bitbucket
2026-01-14 11:05:57 +01:00