You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (em >= 1.0 || em < -0.001) { // || (am < 0.95)
satrec.error_message = 'mean eccentricity ' + em + ' not within range 0.0 <= e < 1.0';
satrec.error = 1;
// sgp4fix to return if there is an error in eccentricity
console.log(satrec.error_message);
return [false, false];
}
to
if (em >= 1.0 || em < -0.01) { // || (am < 0.95)
satrec.error_message = 'mean eccentricity ' + em + ' not within range 0.0 <= e < 1.0';
satrec.error = 1;
// sgp4fix to return if there is an error in eccentricity
console.log(satrec.error_message);
return [false, false];
}
The text was updated successfully, but these errors were encountered:
line 1164 on sgp4.js
adjust
to
The text was updated successfully, but these errors were encountered: