-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header
is messy
#184
Comments
I had another go at fixing this yesterday, and wanted to capture some notes. Dealing with the current well header tricky for a few reasons:
One thing I tried, which I thought would help, was using I'd be interested to know what you think about this, @patrick-reinhard. I'm torn on whether the header needs to be useful in v0.5.0, but I think it is something I need to fix soon, because it's going to have consequences for plugging in |
Hi Matt, Thanks for putting some thought into this. Sharing my thoughts:
I agree there should be interfacing possible for the header attribute of the well. You can now
Agreed, to me it makes sense to set
Those column names to make make sense, and we could parse any other header data (from dlisio) to that same format.
Agreed. If you want to push your branch I can have a look at that multindexing. I think this could be a change we can put in
One last thought what I think is missing from the design of |
The new Pandas approach just build a dataframe from a LAS file -- unless you build the well yourself, in which case it's a dictionary object. The
Header
class is still there inheader.py
but I don't think it's used for anything. So it's polymorphic, and confusing.Key philosophy:
welly
is not a representation of LAS files. That's whatlasio
is for.Proposal:
welly
should regain itsHeader
object, even if it simply stores everything in a DataFrame. The header object should have good LAS -> Header and Header -> LAS actions, but also be constructable and serializable by other means.The text was updated successfully, but these errors were encountered: