Use an accelerated numpy reader (np.genfromtxt
)
#446
Labels
data-section-parser
A bug or enhancement relating to the data section parser
enhancement
las3
stuff relating to LAS 3.0
Is your feature request related to a problem? Please describe.
lasio is quite slow - ref #444 - and we should use pandas' highly-optimised read functions, given that the LAS data section is often (not always) quite simply structured.
Describe the solution you'd like
Add an optional data section reader which uses
pd.read_fwf
and/orpd.read_csv
internally could be a significant improvement. The use of it would be controlled by a keyword argumentengine='pandas'
inLASFile.read
.Additional context
There have previously been discussions around this issue in #1.
The text was updated successfully, but these errors were encountered: