Skip to content

Commit 1541117

Browse files
authored
bugfix for error propagation (IMAP-Science-Operations-Center#3205)
1 parent 4ca4f0a commit 1541117

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

imap_processing/ialirt/calculate_ingest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def packets_created(start_file_creation: datetime, lines: list) -> dict:
5050
# Handle end of year rollover
5151
prev = prev_doy[station]
5252

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

5656
prev_doy[station] = doy

0 commit comments

Comments
 (0)