Skip to content
Merged
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
2 changes: 1 addition & 1 deletion imap_processing/ialirt/calculate_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def packets_created(start_file_creation: datetime, lines: list) -> dict:
# Handle end of year rollover
prev = prev_doy[station]

if prev is not None and doy < prev:
if prev is not None and doy < prev and prev > 300 and doy < 30:
station_year[station] += 1

prev_doy[station] = doy
Expand Down
Loading