How aleforfab/dancingwiththesars works
Dancing with the SARs is a web app for exploring radar backscatter and surface-change signals: users choose a study and parameters, request event comparisons and a time series, inspect individual dates or a start/finish difference, and follow links to source SAR scenes. The frontend page coordinates API requests; FastAPI validates requests and dispatches Earth Engine processing or ASF catalog searches. Earth Engine currently uses a Sentinel-1 development fallback, not direct NISAR processing. The README documents the optical context view and change-layer options; some backend and frontend implementation details were not sampled.
Main entry points: page.tsx Workspace · main.py FastAPI service · Map.tsx Layer map · ControlPanel.tsx Study controls
Components 14
Study interface
- Workspace
dancing-with-the-sars-frontend/app/page.tsx - Study controls
dancing-with-the-sars-frontend/components/ControlPanel.tsx - Layer map
dancing-with-the-sars-frontend/components/Map.tsx - Timeline controls
dancing-with-the-sars-frontend/components/TimeScrubber.tsx - Backscatter chart
dancing-with-the-sars-frontend/components/DanceChart.tsx - Source scenes
dancing-with-the-sars-frontend/components/AsfGranules.tsx
API coordination
- FastAPI service
dancing-with-sars-backend/main.py - Request validation
dancing-with-sars-backend/schemas.py
Radar processing
- Earth Engine service
dancing-with-sars-backend/services/gee_service.py
Scene catalog
- ASF search service
dancing-with-sars-backend/services/asf_service.py
Other components
- Analyst
- Mapbox basemap
- Google Earth Engine
- ASF archive
Connections 19
- Analyst → Workspace: uses
- Workspace → Study controls: renders
- Workspace → Layer map: supplies layers
- Workspace → Timeline controls: supplies observations
- Workspace → Backscatter chart: supplies series
- Workspace → Source scenes: supplies scenes
- Study controls → Workspace: updates settings
- Timeline controls → Workspace: updates dates
- Layer map → Mapbox basemap: uses basemap
- Workspace → FastAPI service: requests analysis
- FastAPI service → Request validation: validates requests
- FastAPI service → Earth Engine service: dispatches radar jobs
- Earth Engine service → Google Earth Engine: queries and renders
- FastAPI service → ASF search service: dispatches searches
- ASF search service → ASF archive: searches catalog
- FastAPI service → Workspace: returns results
- Workspace → Layer map: passes tile URLs
- Workspace → Backscatter chart: passes time series
- Workspace → Source scenes: passes granules