Skip to content

Request - Provide file-object instead of file-name #573

@SahandJ

Description

@SahandJ

Would it be possible to use segyio but instead of providing the file-name, rather provide a file-object as returned by open(), or more specifically smart_open from the smart-open library?

From my understanding, the file has to be on disk as segyio.open requires the file-name as an argument. However it looks like the read/write is done through C++ and I'm not sure if that would accept a file-object (I'm not very experienced with C++)

I hope that this would be something that could be added in the future. Currently we can use FUSE to fuse the remote cloud fs on disk.

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