From b3ddcbd89ba8255db7c3a0a00d4db81eb04efb98 Mon Sep 17 00:00:00 2001 From: Isana Kashiwai Date: Thu, 23 Nov 2023 02:41:24 +0900 Subject: [PATCH] fix NORAD_CAT_ID in sgp4.js --- src/sgp4.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sgp4.js b/src/sgp4.js index 9e7393d..f6b8650 100644 --- a/src/sgp4.js +++ b/src/sgp4.js @@ -85,7 +85,7 @@ Orb.SGP4.prototype = { "MEAN_ANOMALY": Number(line2.substring(43, 51)), "EPHEMERIS_TYPE": Number(line1.substring(62, 63)), "CLASSIFICATION_TYPE": Number(line1.slice(7, 7)), - "NORAD_CAT_ID": Number(line1.slice(2, 6)), + "NORAD_CAT_ID": Number(line1.slice(2, 7)), "ELEMENT_SET_NO": Number(line1.substring(64, 68)), "REV_AT_EPOCH": Number(line2.substring(64, 68)), "BSTAR": bstar,