Skip to content

ASCII BTL File #141

@upsonp

Description

@upsonp

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions