iausathub / satchecker

IAU CPS SatHub tool for satellite position prediction
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Add spacetrack as a new data source; retrieve closest TLE #32

Closed mdadighat closed 8 months ago

mdadighat commented 8 months ago

Add spacetrack as a new data source with optional parameter for each endpoint (except the TLE ones), the default option if nothing is provided is spacetrack

Updated to retrieve closest TLE to the date specified, either before or after

github-actions[bot] commented 8 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
api/core
   routes.py43310077%23, 42, 63–69, 130–131, 141–142, 147–148, 155–157, 231, 240–241, 250–251, 258–260, 270, 336, 345–346, 355–356, 361–362, 369–371, 447, 456–457, 466–467, 474–476, 486–487, 549, 558–559, 568–569, 574–575, 644, 653–654, 663–664, 674–675, 704, 762–763, 770–772, 808–827, 848–866, 920, 988–992, 1037, 1044–1045, 1052–1064, 1174–1178, 1193–1194, 1202
   utils.py261158%9–16, 40–51
api/core/database
   models.py341265%13–15, 18, 44–50, 53
tests
   conftest.py15193%30
TOTAL68612482% 

Tests Skipped Failures Errors Time
16 0 :zzz: 0 :x: 0 :fire: 4.508s :stopwatch: