All settings are stored in config.yaml. The configuration is organized into several sections:
database:
name: "data/casm_rfi_sky.db"
retention_days: 7
name: Path to SQLite database fileretention_days: Number of days to keep snapshotscache:
tle_file: "data/celestrak_cache.txt"
horizon_file: "data/CASM_horizon.csv"
geo_file: "data/geo_cache.json"
tle_file: Cached satellite TLE datahorizon_file: Horizon profile data from HeyWhatsThatgeo_file: GeoJSON data for map visualizationopensky:
username: ""
password: ""
Leave empty for anonymous access (limited to 400 calls/hour). Register at https://opensky-network.org for higher limits.
timing:
tle_fetch_interval: 7200 # 2 hours
plane_fetch_interval: 300 # 5 minutes
db_snapshot_interval: 1800 # 30 minutes
live_poll_interval_ms: 2500 # 2.5 seconds
tle_fetch_interval: How often to refresh satellite TLE dataplane_fetch_interval: How often to fetch aircraft positionsdb_snapshot_interval: How often to save snapshots to databaselive_poll_interval_ms: Frontend refresh rate (milliseconds)server:
dev_host: "0.0.0.0"
dev_port: 5666
prod_host: "0.0.0.0"
prod_port: 9893
prod_workers: 4
dev_host, dev_port: Development server settingsprod_host, prod_port: Production server settingsprod_workers: Number of Gunicorn worker processesobservatory:
name: "CASM"
latitude: 37.2317
longitude: -118.2951
altitude_m: 1222
Enter your observatory’s exact coordinates and altitude.
panorama:
id: "BTV9VXUH"
resolution: "0.1"
Get your panorama ID from https://www.heywhatsthat.com/
id: Your unique panorama identifierresolution: Degrees per point (lower = more detail, slower)visualization:
beam_width_deg: 100
globe_scale_power: 0.3
plane_search_box_deg: 4.0
beam_width_deg: Width of observation beam for visualizationglobe_scale_power: Power function for scaling altitudes on 3D globeplane_search_box_deg: Search radius around observatory for aircraft (degrees)Use GPS or mapping service to get precise latitude/longitude/altitude
observatory:
name: "YOUR_OBSERVATORY_NAME"
latitude: YOUR_LAT
longitude: YOUR_LON
altitude_m: YOUR_ALT
panorama:
id: "YOUR_PANORAMA_ID"
make test
Override configuration via environment variables (optional):
export FLASK_DEBUG=1
export FLASK_ENV=development
make dev