refactor(satellites): the UCS pack keeps only the operator, owner country and purpose the layer reads

This commit is contained in:
Sameh Khamis committed 2026-11-08 15:55:02 -08:00
1 parent 6ca53febad
commit b72f453fea
5 files changed
+7 -19

No files matched your search

-5
View File
@@ -29,9 +29,6 @@ COLUMNS = {
'operator': 'Operator/Owner',
'operatorCountry': 'Country of Operator/Owner',
'purpose': 'Purpose',
'detailedPurpose': 'Detailed Purpose',
'users': 'Users',
'orbitClass': 'Class of Orbit',
}
STARLINK = re.compile(r'\bstarlink\b', re.I)
@@ -68,8 +65,6 @@ def build(xlsx: Path) -> dict:
record = [norad]
for key, column in COLUMNS.items():
text = clean(row[header[column]])
if key == 'orbitClass':
text = text.upper()
if text not in index[key]:
index[key][text] = len(tables[key])
tables[key].append(text)