Skip to content

Commit

Permalink
fix NORAD_CAT_ID in sgp4.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lizard-isana committed Nov 22, 2023
1 parent 80bd1e0 commit b3ddcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sgp4.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b3ddcbd

Please sign in to comment.