Find ISS passes that start or end in the earth's shadow
Visibility was only checked at the highest point, so passes that enter the shadow on the way up (or leave it on the way down) were dropped. Sample the whole pass and keep the part above 10°, sunlit, under a dark sky; times now match Clear Outside. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
70b02f865d
commit
581d12324d
3 files changed
+39
-27
No files matched your search
@@ -103,7 +103,7 @@ def test_next_pass_grid_shows_height_direction_brightness_and_clouds():
|
||||
p = astro.next_visible_pass(TLE, NOW)
|
||||
cells = {label: value for label, value, _ in pass_cells(p, CLOUDS)}
|
||||
assert cells["VÝŠKA"] == "40°"
|
||||
assert cells["SMĚR"] == "Z → JV"
|
||||
assert cells["SMĚR"] == "V → V" # out of the earth's shadow high in the east, sinking there
|
||||
assert cells["JASNOST"].startswith("−") and cells["JASNOST"].endswith(" mag") and "," in cells["JASNOST"]
|
||||
assert cells["MRAKY"] == "100 %"
|
||||
assert {label: value for label, value, _ in pass_cells(p, ())}["MRAKY"] == "--"
|
||||
|
||||
Reference in new issue
Block a user