From ff9961b84671aef9e77b768ebdebfcb8342fd2aa Mon Sep 17 00:00:00 2001 From: Smittix Date: Mon, 2 Mar 2026 11:45:20 +0000 Subject: [PATCH] fix: add missing METEOR-M2-4 TLE data for pass predictions METEOR-M2-4 was defined as an active weather satellite but had no orbital data, so pass predictions always returned empty. Added TLE entry and CelesTrak name mapping for automatic refresh. Co-Authored-By: Claude Opus 4.6 --- data/satellites.py | 3 +++ routes/satellite.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/data/satellites.py b/data/satellites.py index f29d483..ffc3681 100644 --- a/data/satellites.py +++ b/data/satellites.py @@ -26,4 +26,7 @@ TLE_SATELLITES = { 'METEOR-M2-3': ('METEOR-M2 3', '1 57166U 23091A 25028.81539352 .00000157 00000+0 94432-4 0 9993', '2 57166 98.7690 91.9652 0001790 107.4859 252.6519 14.23646028 77844'), + 'METEOR-M2-4': ('METEOR-M2 4', + '1 59051U 24039A 26061.19281216 .00000032 00000+0 34037-4 0 9998', + '2 59051 98.6892 21.9068 0008025 115.2158 244.9852 14.22415711104050'), } diff --git a/routes/satellite.py b/routes/satellite.py index f36c627..f2e998b 100644 --- a/routes/satellite.py +++ b/routes/satellite.py @@ -468,7 +468,8 @@ def refresh_tle_data() -> list: 'NOAA 20 (JPSS-1)': 'NOAA-20', 'NOAA 21 (JPSS-2)': 'NOAA-21', 'METEOR-M 2': 'METEOR-M2', - 'METEOR-M2 3': 'METEOR-M2-3' + 'METEOR-M2 3': 'METEOR-M2-3', + 'METEOR-M2 4': 'METEOR-M2-4' } updated = []