How yogeshwa-g/disaster-vision-web works
DisasterVision is a local web app for exploring dated glacier satellite imagery and producing an educational image-change forecast. A user selects a location and future year; the browser requests analysis, the web server validates and forwards it to the internal analysis server, and the engine compares historical images with the latest image before returning risk and threshold estimates. The app also discovers dataset locations, serves the latest-image preview, and includes an interactive Earth visualization. Calls and data flow are shown where supported by excerpts; some presentation wiring is not sampled.
Main entry points: client.py HTTP web server · app.js Browser interface · analysis_engine.py Dated image catalog · Server.py Analysis dispatch
Components 13
Web experience
- Browser interface
static/js/app.js - Interactive Earth
static/js/app.js - Web page
templates/index.html - Static assets
static
Server services
- HTTP web server
client.py - Location discovery
analysis_engine.py - Image preview
client.py - Analysis dispatch
Server.py
Image analysis
- Dated image catalog
analysis_engine.py - Pixel comparison
analysis_engine.py - Risk forecast
analysis_engine.py
Satellite data
- Glacier image folders
satellite_data/GLACIER
Other components
- User
Connections 19
- User → Browser interface: selects and requests
README.txt - Browser interface → HTTP web server: requests options
static/js/app.js - Browser interface → HTTP web server: requests preview
static/js/app.js - Browser interface → HTTP web server: submits analysis
static/js/app.js - HTTP web server → Web page: serves page
client.py - HTTP web server → Static assets: serves files
client.py - HTTP web server → Location discovery: reads options
client.py - HTTP web server → Image preview: routes preview
client.py - Image preview → Dated image catalog: lists dated images
client.py - Image preview → Glacier image folders: reads latest image
client.py - HTTP web server → Analysis dispatch: forwards analysis
client.py - Analysis dispatch → Location discovery: validates location
Server.py - Analysis dispatch → Dated image catalog: calls analysis
Server.py - Dated image catalog → Glacier image folders: lists image files
analysis_engine.py - Dated image catalog → Pixel comparison: compares dated images
analysis_engine.py - Pixel comparison → Glacier image folders: reads image pixels
analysis_engine.py - Dated image catalog → Risk forecast: passes changes
analysis_engine.py - Risk forecast → Pixel comparison: fits annual rate
analysis_engine.py - Browser interface → Interactive Earth: renders visualization
README.txt