Skip to main content

Automated well log mnemonics parser

Project description

alaska: The las file aliaser

DOI

alaska is a Python package that reads mnemonics from LAS files and outputs an aliased dictionary of mnemonics and its aliases, as well as a list of mnemonics that cannot be found. It uses three different methods to find aliases to mnemonics: locates exact matches of a mnemonic in an alias dictionary, identifies keywords in mnemonics' description then returns alias from the keyword extractor, and predicts alias using all attributes of the curves.

Sample Usage

from alaska import Alias
from welly import Project
import lasio

path = "testcase.las"
a = Alias()
parsed, not_found = a.parse(path)

In this case, parsed is the aliased dictionary that contains mnemonics and its aliases, and not_found is the list of mnemonics that the aliaser did not find. Users can manually alias mnemonics in the not_found list and add them to the dictionary of aliased mnemonics

Parameters of the Alias class can be changed, and the defaults are the following

a = Alias(dictionary=True, keyword_extractor=True, model=True, prob_cutoff=.5)

Users can choose which parser to use/not to use by setting the parsers to True/False. The prob_cutoff is the confidence the user wants the predictions made by model parser to have.

Then, the aliased mnemonics can be inputted into welly as demonstrated below.

from welly import Project
p = Project.from_las(path)
data = p.df(keys=list(parsed.keys()), alias=parsed)
print(data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alaska-0.0.4.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

alaska-0.0.4-py3-none-any.whl (5.0 MB view details)

Uploaded Python 3

File details

Details for the file alaska-0.0.4.tar.gz.

File metadata

  • Download URL: alaska-0.0.4.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for alaska-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f4ae250a0f6275873dd84b9c05f5a301a8dfd59807080c54817ab4c06d9eafc5
MD5 788d0b80fd3c78174e6121667c527a5b
BLAKE2b-256 dbcb220134aaa4b8fe6e4e86a52ecb0e2926a3de6b259065c9de7df1949a7369

See more details on using hashes here.

File details

Details for the file alaska-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: alaska-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for alaska-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 db2203f055c43599ac75da9849e7bfc15e20682b9d36ad05d82e675b355a37d9
MD5 bd315c73ffe1c216d43e994a100813ee
BLAKE2b-256 c6ed282b5e5e1988681698fe613329195e053f17dd79c0945d0b7c862252d971

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page