Skip to content

Fix bottle oldest bug#255

Merged
ocefpaf merged 2 commits intopyoceans:mainfrom
ocefpaf:fix_bottle_oldest_bug
May 8, 2026
Merged

Fix bottle oldest bug#255
ocefpaf merged 2 commits intopyoceans:mainfrom
ocefpaf:fix_bottle_oldest_bug

Conversation

@ocefpaf
Copy link
Copy Markdown
Member

@ocefpaf ocefpaf commented May 7, 2026

The long term goal should be replace the custom pandas reader with seabirdfilehandler, until then I'm just updating to ensure pandas infer columns is used to avoid getting the wrong values in bottle ros files.

I'm also using coerce to numeric instead of a more error tolerant way to ensure malformed files can e partially read. The user can figure out why they are getting NaNs by comparing with the original values.

@ocefpaf
Copy link
Copy Markdown
Member Author

ocefpaf commented May 8, 2026

It turns out chardet became slopware after v6 and it wrecking havoc in all libraries that rely on it. I'm pinning to <7 for now, but I'm working on alternatives to replace it entirely.

@ocefpaf ocefpaf force-pushed the fix_bottle_oldest_bug branch from 2bbaf0e to 7b2b87e Compare May 8, 2026 16:28
@ocefpaf ocefpaf merged commit d55a28c into pyoceans:main May 8, 2026
15 checks passed
@ocefpaf ocefpaf deleted the fix_bottle_oldest_bug branch May 8, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant