Skip to content
Open
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 ctd/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _parse_seabird(lines: list, ftype: str) -> dict: # noqa: C901, PLR0912, PLR
else:
msg = "Latitude not recognized."
raise ValueError(msg)
if "NMEA UTC (Time)" in line:
if "System UTC" in line: # ONLY change marisa made, CTD had no saved lat, lon, or time, so retrieving it from when file started writing.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove that comment.

time = line.split("=")[-1].strip()
# Should use some fuzzy datetime parser to make this more robust.
time = datetime.datetime.strptime(
Expand Down