Skip to main content

pygeochemtools

A CLI based eclectic set of geochemical data manipulation, QC and plotting tools.

Pygeochemtools is a python library and command line interface tool to enable rapid manipulation, filtering, QC and plotting of geochemical data. It is primarily designed to allow people with limited or no coding experience to deal with very large datasets when programs like Excel will struggle. It is designed to natively load and manipulate the geochemical datasets output by the Geological Survey of South Australia, but will easily handle other datasets with a little bit of configuration in later updates.

Why pygeochemtools

The SA Geodata database (available via the SARIG portal) contains over 10 Gb of geochemical data. That’s a lot of chemistry. Explorers often request extracts of this data set, but then find it a challenge to handle all that data. Because of the size and amount of data, programs like Excel wont even open the file, and if the extract is small enough to open, explorers often find the format of the data a challenge. Generally, people like to use wide data for analysis, where each row in a table represents all the data about a single sample. But database exports are in a long format where each row represents a single data point.

Pygeochemtools provides an abstraction and cli to make loading, filtering and restructuring this data easy. It uses python libraries like dask and pandas under the hood to be able to deal with 'larger than memory' datasets, so you can load and filter those large datasets and then output something more easy to handle with Excel or other tools.

Functionality

Currently pygeochemtools provides the following functionality:

  • Filter large datasets based on a list of elements, sample type or drillhole numbers (or a combination of all three) and convert from long to wide format.
  • Add detailed geochemical methods columns onto the SARIG geochemical dataset.
  • Extract single element datasets from large geochemical datasets.
  • Plot maximum down hole geochemical data maps.
  • Plot maximum down hole chemistry per interval geochemical data maps.

Metadata

Release files for pygeochemtools 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygeochemtools 0.1.2
File Size Uploaded
pygeochemtools-0.1.2.tar.gz 26.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygeochemtools 0.1.2
File Interpreter ABI Platform
pygeochemtools-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 58.3 kB

Release files / pygeochemtools-0.1.2.tar.gz

Download URL pygeochemtools-0.1.2.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b3683c589960932c83f5f23c00be0be6b5ee6a0fb2cdaf26954a9cd50741bdef
BLAKE2b-256 checksum
How to use checksums
92c749a21216dda7e8462cb30d265ba9b0c8dfe6481cc401fe5ff7f848a39ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

Release files / pygeochemtools-0.1.2-py3-none-any.whl

Download URL pygeochemtools-0.1.2-py3-none-any.whl
Size 31.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d3594a772f8ee76a65009b9c9ab4f352e257b0418260724d5bb874a5350bcee
BLAKE2b-256 checksum
How to use checksums
bef85038c16c6cc4193b960bcdf98074ef74263437b1c3b9b13d28e727f1d225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page