How priyajitpaul275/lunar-mission-browser works
This is a small Flask application for comparing lunar south-pole candidate sites. A user requests site data or a dated solar-illumination/Earth-visibility snapshot; the API computes a current result and a seven-day timeline using site geometry, then returns JSON. The app also serves a static page. Source evidence shows the server-side flow, but the page contents and any browser-side API calls were not provided.
Main entry points: app.py HTTP routes · sites.json Candidate sites · index.html Static page
Components 8
Web interface
- Browser
- Static page
static/index.html
API and calculations
- HTTP routes
app.py - Angle endpoint
app.py - Topocentric model
app.py - Terrain mask
app.py
Site data
- Candidate sites
sites.json
Other components
- User
Connections 9
- User → Browser: uses
- Browser → HTTP routes: requests
- HTTP routes → Static page: serves
app.py - HTTP routes → Angle endpoint: routes to
app.py - Angle endpoint → Topocentric model: calculates
app.py - Topocentric model → Terrain mask: gets limits
app.py - HTTP routes → Candidate sites: loads
app.py - Topocentric model → Candidate sites: reads site
app.py - Angle endpoint → Candidate sites: returns sites
app.py