Godstrument/workers
jing 301005bdbc 🛰 world_sats: real satellites as a source (SGP4 from cached Celestrak TLEs)
The sky's own schedule joins the orchestra. Unlike world_iss (which begs a web
API per position), world_sats fetches TLEs once from Celestrak — the stations
plus the named recon birds GAOFEN and COSMOS — caches them to
~/.cache/godverse/tles.txt (24 h freshness, atomic writes, stale-on-failure),
and propagates every craft locally with SGP4 at any rate, no per-fix HTTP.

For the venue city (--lat/--lon, retargeted by run.py) it computes each craft's
elevation above the horizon and emits:
  /gs/sats/best_elev       highest elevation among all tracked (-30..90 deg)
  /gs/sats/overhead_count  how many above 10 deg
  /gs/sats/iss_lat/iss_lon ISS sweep (available even without world_iss)
  /gs/sats/recon_elev      best elevation among only the GAOFEN/COSMOS watchers
  /gs/sats/pass.event      impulse when any craft crosses rising through 30 deg

Wiring: config.json declares the six signals with norm ranges + labels, three
starter routes (best_elev -> pad.brightness, pass -> delay.feedback,
recon_elev -> lfo.rate) and adds sats.best_elev to the cosmos group; run.py adds
the worker to the WORLD profile and the lat/lon retarget set; requirements notes
the pure-python sgp4 dep. The worker is import-safe (sits out if sgp4 is absent)
and exits politely with no cache and no network. Grimoire + manual entry added.

Math ported from GODSIGH's verified satellites layer: TLE -> Satrec.twoline2rv
(handles no_kozai), SGP4 -> TEME km, GMST rotation -> WGS-84 geodetic, then an
ECEF up-vector for elevation. Verified end-to-end against live Celestrak data:
98 sats tracked, ISS position/altitude plausible, and all signals arrive over
the hub WebSocket correctly normalized with their routes active.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 16:42:03 +10:00
..
audio_worker.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
midi_worker.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
replay_db.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
replay_quakes.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
replay_weather.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
sim_esp32.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
vision_worker.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_air.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_almanac.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_bank.py Accounts, socio-economic feeds, and hub fixes (track deployed work) 2026-07-05 16:18:35 +10:00
world_clock.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_crypto.py 📈 the trading desk — see the data, pin the ticker, hear the market think 2026-07-06 20:29:08 +10:00
world_dealgod.py Accounts, socio-economic feeds, and hub fixes (track deployed work) 2026-07-05 16:18:35 +10:00
world_debt.py Accounts, socio-economic feeds, and hub fixes (track deployed work) 2026-07-05 16:18:35 +10:00
world_econ.py Accounts, socio-economic feeds, and hub fixes (track deployed work) 2026-07-05 16:18:35 +10:00
world_ephemeris.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_fire.py Accounts, socio-economic feeds, and hub fixes (track deployed work) 2026-07-05 16:18:35 +10:00
world_fx.py 📈 the trading desk — see the data, pin the ticker, hear the market think 2026-07-06 20:29:08 +10:00
world_iss.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_planes.py Accounts, socio-economic feeds, and hub fixes (track deployed work) 2026-07-05 16:18:35 +10:00
world_quakes.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_sats.py 🛰 world_sats: real satellites as a source (SGP4 from cached Celestrak TLEs) 2026-07-13 16:42:03 +10:00
world_sky.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_sport.py 🏟 tune the stadium roster — seven sports round the clock 2026-07-07 22:49:03 +10:00
world_sun.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_weather.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_wiki.py Godstrument: a multi-modal sensor-fusion instrument 2026-07-05 02:13:05 +10:00
world_zodiac.py Chinese zodiac + seasons + live wildfires; overlapping concept groups 2026-07-05 02:48:50 +10:00