- Errors in calculations are fixed, WGS72 is used instead of WGS84 (#107).
- Dependencies are upgraded.
- TypeScript definition for
ecfToEci
function is added.
- Fixed calculation of Doppler effect (
dopplerFactor
).
- Expose
error
in TypeScript definition ofSatRec
. - Fix TypeScript definition for
PositionAndVelocity
to allow error handling.
- Fix TypeScript definition for
gstime
(#73). - Fix documentation and TypeScript definition for
degreesLong
anddegreesLat
(#74).
- TypeScript support is added via new TypeScript definitions file (#71).
- Rollup and some other dependencies are upgraded.
- Node.js 12 support is added. Node.js 6 and Node.js 8 support is dropped (breaking change).
- Mocha, Chai and Istanbul are replaced by Jest.
- Dependencies are upgraded.
- Unnecessary calculations in
sgp4
function are reduced (#47). vkmpersec
calculation is moved to constants (#50).degreesToRadians
function is used in docs instead ofdeg2rad
constant (#53).- Typos' fixes (#54).
- Node.js 4 support is dropped (breaking change).
- Deprecated functions
gstimeFromJday
andgstimeFromDate
are removed (breaking change). - New transformation functions are added:
radiansToDegrees
,degreesToRadians
,radiansLat
,radiansLong
.
satrec
object is not cloned insgp4
andsgp4init
functions due to performance reasons.
- Wrong predictions for Molniya 3-47 orbits are fixed. Special thanks to @nhamer.
sgp4
function's call result is used insgp4init
.- Longitude of
eciToGeodetic
result is in [-PI; PI] range now.
- Library became ES and Common.js compatible.
- Source code is reorganized to match original Python library.
degreesLat
anddegreesLong
don't adjust input radians value and throwRangeError
if it's out of bounds (breaking change).invjday
function is added.- Julian day calculations take account of milliseconds (#38).
- Incorrect position and velocity bug for times not close to TLE epoch is fixed (#37).
- Continuous integration and test coverage are provided.
- Bower support is dropped.