Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Slow performance for LAS 3 files which do not use "_Data" for data section headings #589

Open
Labels
@LouisLvx

Description

@LouisLvx

Describe the bug
For some big LAS 3 files reading is very long.
This is due to the regex in lasio/reader.py that searches "_Data" in the section title but in my example the section is "XXX_DATA".
Btw by using this regex it is very fast. Could you implement it ?

[...]elifre.search("_data",stitle.lower()):return"Las3_Data"[...]

To Reproduce
I cannot provide my files for confidential reasons but :
Take a las file:

  • with YOURKEY_DATA delimiter for data section
  • large amount of data (10k+ lines)

You will see that atm it takes a lot of time.

Expected behavior
Reading should last only a few seconds

Software versions (please complete the following information):

  • Python version: 3.10
  • Python distribution: conda
  • lasio version: 0.31

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp