SmartCane/r_app/experiments/interactive_sar_visualization/README.md
2025-09-05 15:23:41 +02:00

58 lines
1.7 KiB
Markdown

# Interactive SAR Visualization
This folder contains all the code and reports for Sentinel-1 SAR data analysis and visualization.
## Files Overview
### Core Analysis Functions
- `sar_analysis_functions.R` - SAR data loading, metrics calculation, field statistics
- `sar_visualization.R` - Interactive mapping functions using tmap
- `test_sar_analysis.R` - Test script for validating SAR analysis functions
### Reports & Notebooks
- `Interactive_SAR_Report.Rmd` - Main interactive HTML report (working version)
- `SAR_exploration_report.Rmd` - Alternative comprehensive report
- `SAR_quick_test.Rmd` - Quick test report for debugging
### Utility Scripts
- `generate_sar_report.R` - Automated report generation script
- `simple_sar_test.R` - Basic SAR data loading test
## Data Sources
The SAR data is located in: `../../../python_scripts/data/aura/weekly_SAR_mosaic/`
- Contains 8 weeks of Sentinel-1 data (weeks 26-33, 2025)
- VV, VH bands in linear scale, dB scale, and filtered versions
- Field boundaries from: `../../../pivot.geojson`
## Generated Outputs
Reports are generated in: `../../../output/`
- `Interactive_SAR_Report.html` - Main interactive report
- Other test outputs
## Usage
To generate the main interactive report:
```r
source("generate_sar_report.R")
```
Or run directly:
```r
rmarkdown::render("Interactive_SAR_Report.Rmd", output_file = "../../../output/Interactive_SAR_Report.html")
```
## Features
- ✅ Interactive VV/VH backscatter maps
- ✅ Radar Vegetation Index (RVI) calculation and mapping
- ✅ Static RGB temporal composite
- ✅ Change detection analysis
- ✅ Time series plots
- ✅ Field boundary integration with popups
- 🔄 Interactive RGB composite (in progress)
Created: August 21, 2025
Author: Timon (with GitHub Copilot)