Skip to main content

A simple Python package to automate the extraction of CPT data

Project description

cptextract


A Python package to automate extraction of cone penetration test (CPT) data from various sources.

Description

cptextract is a library of function and class to help extract Cone Penetration Test (CPT) data from csv and Excel files that are store inconsistenly. For example:

  • cpt data with different data headers or labels
  • cpt data stored in different Excel sheets names
  • cpt data table not starting at the first row
  • cpt data stored in units of kPa instead of MPa

Limitations

This package has been developed based on example data found on the New Zealand Geotechnical Database. Some other limitations include:

  • only extracts Depth, Cone tip resistance (qc), Friction resistance (fs) and U2 pore pressure (u2)
  • only works with units of meter for depth; and MPa or kPa for qc,fs and u2
  • accepted file types are .csv, .xls and .xlsx

Installation

pip install cptextract

Usage

Please refer to example notebook.

Contributors

TBC

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

cptextract-0.1.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cptextract-0.1.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file cptextract-0.1.1.tar.gz.

File metadata

  • Download URL: cptextract-0.1.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.7

File hashes

Hashes for cptextract-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8bbec622acc37e2c01be388298c40606ffcbf40cbbb2ce3aa914be1ccf666b4b
MD5 7de5d53cec8680aefacc8c7240305dee
BLAKE2b-256 f3531e683d1a6239f9baf40e5dc7106d2d748b3711344628a070ec8d8a417d09

See more details on using hashes here.

File details

Details for the file cptextract-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cptextract-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.7

File hashes

Hashes for cptextract-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7882ea9acdaaeddaf312c45173ff2f07bdba39f3deb6124db402afbc922801c6
MD5 153066bc35f6180bb8cf7b270f12187f
BLAKE2b-256 f7611009461758a4d86aa5f1a4de6e46a747ff6f3bbd1cefd7aca16ce983eaba

See more details on using hashes here.

Supported by

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