iausathub / satchecker

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

Only allow updates from Space-Track to update the has_current_sat_number flag #106

Closed mdadighat closed 6 days ago

mdadighat commented 6 days ago

Description:

Only allow updates from Space-Track to update the has_current_sat_number flag to prevent differences in Celestrak satellite names from being marked as primary

Context:

Occasionally Celestrak has a different name for a satellite, and that update throws off the has_current_sat_number flag, since we want to stick with Space-Track as the more "official" of the two sources.

github-actions[bot] commented 6 days ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/api
   satchecker.py110%1
src/api/adapters/repositories
   satellite_repository.py70691%35, 39, 43, 47, 51, 55
   tle_repository.py891089%63, 69, 75, 84, 93, 97, 101, 220–235
src/api/domain/models
   tle.py19195%52
src/api/entrypoints
   extensions.py10190%32
src/api/entrypoints/v1/routes
   routes.py371073%22, 63, 92, 114–126
   tools_routes.py681085%51–53, 88–90, 181–190
src/api/services
   tools_service.py26485%106–130
   validation_service.py112199%139
src/api/services/tasks
   ephemeris_tasks.py40782%56, 81, 126, 130, 158, 179–182
src/api/utils
   coordinate_systems.py138199%458
   propagation_strategies.py65198%123
TOTAL9425394% 

Tests Skipped Failures Errors Time
103 0 :zzz: 0 :x: 0 :fire: 15.897s :stopwatch: