mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-21 02:32:18 +00:00
fix(satellites): stop requesting the CelesTrak sar group, which does not exist
The core catalog asked CelesTrak for GROUP=sar on every update. CelesTrak has no such group (sarsat is search and rescue), so that read failed each time and the layer row read DEGRADED with "1 CelesTrak group unavailable" even when every real group loaded. Each failed read also put the TLE feed into a 60 s cooldown. Drop sar from the catalog groups, the client allowlist, the proxy allowlist and the group-to-class table. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01DLPqdcmfWbcfzrXmBKZc5z
This commit is contained in:
9 files changed
+12
-12
No files matched your search
@@ -5,9 +5,9 @@ import { SATELLITE_CLASS_DISPLAY, SATELLITE_CLASS_IDS } from './classes.js';
|
||||
/**
|
||||
* Satellite Orbits — Real-time positions via CelesTrak TLE + SGP4 propagation.
|
||||
*
|
||||
* Loads eleven CelesTrak groups: stations, visual, GPS, GLONASS, Galileo, the
|
||||
* geosynchronous belt, and the Earth resources, weather, Planet, SAR and
|
||||
* science groups. Each object is filed under one of six classes
|
||||
* Loads ten CelesTrak groups: stations, visual, GPS, GLONASS, Galileo, the
|
||||
* geosynchronous belt, and the Earth resources, weather, Planet and science
|
||||
* groups. Each object is filed under one of six classes
|
||||
* (src/layers/satellites/classes.js) whose visibility the layer row toggles; dense mode
|
||||
* (setParams catalog:'dense', the STARLINK toggle) adds the Starlink shell as
|
||||
* points-only extras.
|
||||
@@ -211,6 +211,9 @@ export const RING_ROTATION_MS = 1000;
|
||||
* proxy; `tag` is the internal group key used for POINT_STYLES lookup.
|
||||
* Note: CelesTrak's GLONASS group is named 'glo-ops' (not
|
||||
* 'glonass-operational' — that name 404s upstream).
|
||||
* Every entry must be a group CelesTrak serves: one that is not fails on every
|
||||
* update, so the layer row reads DEGRADED ("1 CelesTrak group unavailable")
|
||||
* for good. CelesTrak has no `sar` group (`sarsat` is search and rescue).
|
||||
*/
|
||||
|
||||
export const CATALOG_GROUPS = [
|
||||
@@ -225,7 +228,6 @@ export const CATALOG_GROUPS = [
|
||||
{ tag: 'resource', path: 'resource' },
|
||||
{ tag: 'weather', path: 'weather' },
|
||||
{ tag: 'planet', path: 'planet' },
|
||||
{ tag: 'sar', path: 'sar' },
|
||||
{ tag: 'science', path: 'science' },
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user