Skip to main content

gSolve logo

codecov GitHub License Publish to PyPI Pypi version

gSolve

gSolve, a Python computer library by Earth Sciences New Zealand (formerly GNS Science) to transform relative gravity survey measurements to absolute gravity values and gravity anomalies and disturbances.

It is suitable for time varying gravity as well as Bouguer gravity.

This version is a substantial re-write of the previous python version to remove the limitation of a graphical user interface and to update to python 3 with modern software management.

Functionality

Process gravity data for time change microgravity and Bouguer surveys.

Data Import

  • Several input formats including manually read LaCoste and Romberg meters, Nomad upgraded L and R meters and the Scintrex CG6 meter instrument file.

Algorithm

  • calculate the meter calibration correction, beta.
  • corrects for earth tide using Longman and ETERNA formula.
  • option to correct for ocean loading using pyhardisp.
  • correct for drift across loops or whole survey.
  • network adjustment with three different network adjustment algorithms depending on user requirements.

calibrate meters to absolute values.

  • residuals can be filtered using a percentile cut filter.

Corrections

  • calculate normal gravity.
  • calculate terrain corrections.
  • calculate free air, simple and complete bouguer anomalies.

Plotting

  • plot raw observations
  • residual cumuluative probability density functions, CDF.
  • drift curve
  • network map

Data export

  • export to csv or excel with comprehensive metadata
  • save plot files

Installation

pip install gsolve

Usage

Example scripts are provided to demonstrate the software capability.

Support

Full documentation is available here. gSolve

Authors and acknowledgment

gSolve builds on many previous authors.

The current author team is Adrian Benson, Alison Kirkby, Craig Miller, Aleksandr Spesivtsev, Vaughan Stagpoole.

This version supersedes previous Gsolve versions e.g. McCubbine, J., Tontini, F. C., Stagpoole, V., Smith, E., & O’Brien, G. (2018). Gsolve, a Python computer program with a graphical user interface to transform relative gravity survey measurements to absolute gravity values and gravity anomalies. SoftwareX, 7, 129–137.

How to cite gSolve

Link to JOSS paper here when it is ready.

System requirements

Python 3.12+

License

Licenced with GPLv3.

Release files for gsolve 5.7.0

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

Source distribution (sdist)

Source distribution for gsolve 5.7.0
File Size Uploaded
gsolve-5.7.0.tar.gz 12.2 MB Details

Built distribution (wheel)

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

Total release size: 12.4 MB

Release files / gsolve-5.7.0.tar.gz

Download URL gsolve-5.7.0.tar.gz
Size 12.2 MB
Tags Source
SHA-256 checksum
How to use checksums
ebdb91c8e708cb4d8b6569d6ac42bcef7bf286b06821aea0789b6a07a236b43d
BLAKE2b-256 checksum
How to use checksums
02891e8e041eaed05f5ce988fef21ddd886056958f0879d4670a3eed33b4bb46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / gsolve-5.7.0-py3-none-any.whl

Download URL gsolve-5.7.0-py3-none-any.whl
Size 148.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1ca452bd765a46b49b80a00c0ca5e63f13bdbc7bf368b11781cb4e7eb6015ca
BLAKE2b-256 checksum
How to use checksums
566e6379171f4f2fe46146b613f1c38b53ae2aa9b087553d225b294edb04f96b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.7.0 This release

2 release files

5.6.2

2 release files

5.6.1

2 release files

5.6.0

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