-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
I notice at the top of the from_btl(fname) function that it says:
DataFrame constructor to open Seabird CTD BTL-ASCII format.
But the _read_file(fname) function is actually opening the file with a UTF-8 encoding.
My work around at the moment is to open the BTL file in NotePad++ and convert the ASCII files to UTF-8, but maybe we could pass the file encoding as from_btl(fname, encoding='utf-8'), then _read_file(fname, encoding='utf-8'). Doing so shouldn't change the existing behavior, but will give the option for the developer to set the file encoding if necessary.
Thoughts?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels