Skip to content

Commit

Permalink
2 kolommen toegevoegd voor klaibratie factor PM10 en PM2.5 voor in an…
Browse files Browse the repository at this point in the history
…dere tools
  • Loading branch information
ZuinigeRijder committed Sep 26, 2024
1 parent 203d525 commit f63e730
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions samenvatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ class KmlData:
PM25 = 4
RH = 5
TEMP = 6
PM10_KAL_FACTOR = 7
PM25_KAL_FACTOR = 8

# globals
KML = KmlData()
Expand Down Expand Up @@ -551,14 +553,14 @@ def get_corrected_next_csv_line() -> str:
return "" # finished

split = READAHEAD.curr_split
if len(split) != 7:
if len(split) < 7:
_ = D and dbg(f"#### Skipping line {READAHEAD.linecount}: [{line}]")
continue

_ = D and dbg(str(READAHEAD.linecount) + ": LINE=[" + line + "]")
next_line = READAHEAD.line.strip()
next_split = READAHEAD.next_split
if len(next_split) != 7:
if len(next_split) < 7:
_ = D and dbg(f"Next split skip: {READAHEAD.linecount}: [{next_line}]")
return line

Expand Down

0 comments on commit f63e730

Please sign in to comment.