Skip to content
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

Link LAS 3 "data set" sections together #514

Open
kinverarity1 opened this issue Jun 14, 2022 · 0 comments
Open

Link LAS 3 "data set" sections together #514

kinverarity1 opened this issue Jun 14, 2022 · 0 comments
Labels
enhancement las3 stuff relating to LAS 3.0

Comments

@kinverarity1
Copy link
Owner

Is your feature request related to a problem? Please describe.
LAS 3 files can have linked parameter, curve ("definition") and data sections. These are currently independent sections in lasio. They should be linked.

See pages 4 and 5, and 17ff of the spec for more details. https://github.com/kinverarity1/lasio/blob/main/standards/LAS_3_File_Structure.pdf

Describe the solution you'd like
Full details of the API can be worked out, but as a starting point I suggest something like (pseudo-code):

>>> las.sections.keys()
['~Tops_Data', '~Tops_Definition', '~Tops_Parameter', ...]
>>> las.datasets.keys()
['Tops', ...]
>>> las.datasets['Tops']
{
'data': ?, 'defn': <type lasio.SectionItems>, 'param': <type lasio.SectionItems>,
'_sections': [...] # filtered version of las.sections
}

Describe alternatives you've considered
Open to other ideas, please discuss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement las3 stuff relating to LAS 3.0
Projects
None yet
Development

No branches or pull requests

1 participant