mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-10 21:32:23 +00:00
fix(satellites): the UCS pack build drops rows whose NORAD number is not positive
This commit is contained in:
1 parent
3bf7e9edb7
commit
573479d7ab
2 files changed
+6
-3
No files matched your search
@@ -62,6 +62,9 @@ def build(xlsx: Path) -> dict:
|
||||
except (TypeError, ValueError):
|
||||
invalid_norad += 1
|
||||
continue
|
||||
if norad <= 0:
|
||||
invalid_norad += 1
|
||||
continue
|
||||
record = [norad]
|
||||
for key, column in COLUMNS.items():
|
||||
text = clean(row[header[column]])
|
||||
|
||||
Reference in new issue
Block a user