Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion imap_processing/ialirt/calculate_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

logger = logging.getLogger(__name__)

STATIONS = ["Kiel"]
STATIONS = ["Kiel", "UKSA"]


def packets_created(start_file_creation: datetime, lines: list) -> dict:
Expand Down Expand Up @@ -123,6 +123,7 @@ def format_ingest_data(last_filename: str, log_lines: list) -> dict:
start_of_time.isoformat(),
end_of_time.isoformat(),
], # Overall time range of the data
"stations": list(STATIONS),
**station_dict,
}

Expand Down
6 changes: 5 additions & 1 deletion imap_processing/tests/ialirt/unit/test_calculate_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ def test_packets_created():
"2026-01-21T10:27:59Z",
],
"rate_kbps": [2.0, 2.0],
}
},
"UKSA": {
"last_data_received": [],
"rate_kbps": [],
},
}

assert actual_output == expected
Expand Down
Loading