iausathub / satchecker

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

Add TLE data source to get-tle-data results #89

Closed mdadighat closed 2 months ago

mdadighat commented 2 months ago

Description:

Updated JSON results for the tools/get-tle-data endpoint to include the data_source for each TLE

Context:

Right now you can’t tell the difference between which TLEs came from Celestrak and which ones came from Space-Track - this is an issue because satellites can have different names in each source, so the TLE history can look confusing if the names switch back and forth (MESAT1 and OBJECT G for example.)

Jira issue: SCK-74

github-actions[bot] commented 2 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/api
   config.py291162%39–46, 70–81
   satchecker.py110%1
src/api/adapters/repositories
   satellite_repository.py54493%29, 33, 37, 41
   tle_repository.py80594%66, 72, 81, 90, 94
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.py49688%49–51, 86–88
src/api/services
   validation_service.py1121289%139, 159, 162–169, 172–179, 260–261
src/api/services/tasks
   development_tasks.py23230%1–145
   ephemeris_tasks.py401465%54–72, 115, 119, 146, 167–170
src/api/utils
   coordinate_systems.py1365063%34–45, 69–84, 104–108, 132–140, 160–172, 195–209, 235–256, 296–300, 409–413, 459
   propagation_strategies.py65198%123
TOTAL93713985% 

Tests Skipped Failures Errors Time
80 0 :zzz: 0 :x: 0 :fire: 16.954s :stopwatch: