MCPcopy Create free account
hub / github.com/SpaceNetLab/StarryNet / get_down_satellite

Function get_down_satellite

starrynet/sn_utils.py:41–45  ·  view source on GitHub ↗
(current_sat_id, current_orbit_id, sat_num)

Source from the content-addressed store, hash-verified

39
40
41def get_down_satellite(current_sat_id, current_orbit_id, sat_num):
42 if current_sat_id == sat_num - 1:
43 return [0, current_orbit_id]
44 else:
45 return [current_sat_id + 1, current_orbit_id]
46
47
48def sn_load_file(path, GS_lat_long):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected