shashwatak / satellite-js

Modular set of functions for SGP4 and SDP4 propagation of TLEs.
MIT License
911 stars 145 forks source link

Improve TypeScript definitions for handling propagation errors. #78

Closed kylegmaxwell closed 4 years ago

kylegmaxwell commented 4 years ago

Update TypeScript definitions to include SatRec.error and boolean results for PositionAndVelocity. This allows handling of errors when the propagator fails, for example when given a time too far from the TLE epoch. Update version, changelog.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 81.874% when pulling 9dbc33f6ee362ce4323df30a7e414cbb0ac03cca on kylegmaxwell:develop into e957908df4e655e6396f2b2d73c160c55a9d7425 on shashwatak:develop.

ezze commented 4 years ago

@kylegmaxwell Thanks for contribution, released as 4.1.2.

kylegmaxwell commented 4 years ago

Thanks for the quick turnaround!