There was an error while loading. Please reload this page.
1 parent 4ca4f0a commit 1541117Copy full SHA for 1541117
1 file changed
imap_processing/ialirt/calculate_ingest.py
@@ -50,7 +50,7 @@ def packets_created(start_file_creation: datetime, lines: list) -> dict:
50
# Handle end of year rollover
51
prev = prev_doy[station]
52
53
- if prev is not None and doy < prev:
+ if prev is not None and doy < prev and prev > 300 and doy < 30:
54
station_year[station] += 1
55
56
prev_doy[station] = doy
0 commit comments