Skip to content

Commit

Permalink
treat blank observations as 0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
betaBison authored and scivision committed Oct 18, 2023
1 parent b3e0fc5 commit fc50a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/georinex/nav3.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def rinexnav3(fn: T.TextIO | Path, use: set[str] = None, tlim: tuple[datetime, d
for j, i in enumerate(svi):
try:
darr[j, compact_index] = [
float(raws[i][LF * k : LF * (k + 1)]) for k in range(len(compact_index))
float(raws[i][LF * k : LF * (k + 1)] or 0) for k in range(len(compact_index))
]
except ValueError:
logging.info(f"malformed line for {sv}")
Expand Down

0 comments on commit fc50a82

Please sign in to comment.