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.6.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 gsolve 5.6.2
File Size Uploaded
gsolve-5.6.2.tar.gz 12.2 MB Details

Built distribution (wheel)

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

Total release size: 12.4 MB

Release files / gsolve-5.6.2.tar.gz

Download URL gsolve-5.6.2.tar.gz
Size 12.2 MB
Tags Source
SHA-256 checksum
How to use checksums
469ba51fa170c5a757c062a66bd4d28e534617b22478552a713871369745d76b
BLAKE2b-256 checksum
How to use checksums
2e167fa9f24a2ed73ba9c2d1669dcf29bd51932db0e4a5c6728662e6333f3e3e
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 4, 2026.

Transparency log

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

Download URL gsolve-5.6.2-py3-none-any.whl
Size 146.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13219e0b445322d8096e2f6f425eb49e1ee71338bdbcd5f5aeacb922dcc326d3
BLAKE2b-256 checksum
How to use checksums
05cbdf0ec89697fd7fd123c06cf26139dd6e236f6a29c3958ac97032c0cff37a
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 4, 2026.

Transparency log

Release history Release notifications | RSS feed

5.7.0

2 release files

This release

5.6.2 This release

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