well-id / dliswriter

An open-source Python package for writing DLIS files.
https://well-id-widcdliswriter.readthedocs-hosted.com/index.html
MIT License
5 stars 0 forks source link

How to edit an existing dlis file? #36

Open wanggy-1 opened 3 weeks ago

wanggy-1 commented 3 weeks ago

Hi. Is it possible use dliswriter to add a new channel to an existing dlis file? For example, I have loaded a dlis file using the package dlisio and extracted the data I want from a specific channel. Now I have modified the data using some external programs. What should I do if I want to add the modified data as a new channel to the original dlis file?

the-mysh commented 1 week ago

Hi @wanggy-1 ! Sorry for the delayed reply. The dlis format unfortunately does not allow for easy editing of the file contents. We have it in our plans to implement something like this, but it is a bigger and (at the moment) not the top-priority project in the company. I think you can expect some developments in this in a few months.

the-mysh commented 1 week ago

At the moment, the only existing solution is to create a new dlis file structure from scratch, like in this example.