GravTools
GravTools is an open source software toolbox for the analysis of relative gravity surveys. GravTools is developed at Austria's Federal Office of Metrology and Surveying (BEV).
- The source code is hosted on github.com: https://github.com/ahellers/GravTools
- The python package is published on pypi.org: https://pypi.org/project/grav-toolbox/
Installation
The python 3 package is available on the Python package index website (pypi.org) and can be easily installed using pip.
Install python package with pip:
pip install grav-toolbox
Optional dependency for GIS data export
GravTools allows users to export adjustment results to shapefiles for data visualization in external GIS programs (e.g. QGIS).
To enable these features the optional package "geopandas" needs to be installed by executing:
pip install grav-toolbox[gis]
Release notes
More details are provided along with version tags on github.
0.3.3 (2025-01-08)
- New dialog for drift determination based on the reduced observations as shown in the observations plot. One drift polynomial is fitted per station. This feature is useful for calculating the drift correction coefficient for Scintrex CG5 and CG6 meters based on stationary observations.
0.3.4 (2025-02-07)
- Fixed bug in the data export dialog.
0.3.5 (2025-09-24)
- Fixed bug: The survey name was recognized as instrument S/N when loading CG6 solo observation files.
0.3.6 (2026-01-02)
- Loading a new json gravimeter file now triggers the calculation of updated gravity reductions.
- Future pandas warning concerning timezone aware datetime64 types fixed.
- Bugfix: Problem when loading stations with integer-type statio names from CSV files fixed (resulted in duplicated entries in the station list).
- Handling of station filters in the GUI (stations tab) improved.
0.3.7 (2026-03-27)
- Fixed syntaxWarning that was caused by regex expressions in the CG5 observation file loading method.
- The setup IDs are now created based on the observation reference time and the survey name (combined hash). This allows multiple observations at the same time in different surveys within one campaign. Now it is possible to analyze campaigns with two ore more gravimeters being used in parallel.
- Fixed a bug that caused an error when reading negative dhf values from the instrument height column in LynxLG CG6 observation files.
0.3.8 (2026-05-20)
- Fixed compatibility with pandas >= 3.0: replaced in-place
.values[:] = 0writes with direct Series assignment to comply with Copy-on-Write semantics (survey.py); fixedValueError: assignment destination is read-onlyin Longman (1959) tidal correction caused by.valuesreturning a read-only array from a pandas Index (longman1959.py). - Fixed compatibility with NumPy >= 2.0: replaced deprecated
np.NANwithnp.nan(mlr_bev_legacy.py) and replaced broken.values.astype(np.int64) / 10**9datetime conversion with a resolution-independentto_unix_seconds()helper (survey.py, correction_time_series.py). - Packaging migrated from setup.cfg to pyproject.toml (PEP 621); explicit minimum version requirements added for all dependencies.
- Code quality refactoring: file renames, unused imports/variables removed, bare
exceptclauses narrowed, optional geopandas import centralised, f-string modernisation, context managers for file I/O. - Added an API reference, changelog and a landing page for documentation build with mkdocs (html). The documentation is accessible via the about menu in the GUI.
License and copyright
Copyright (C) 2021 Andreas Hellerschmied (andreas.hellerschmied@bev.gv.at)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Metadata
Release files for grav-toolbox 0.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grav_toolbox-0.3.8.tar.gz | 1.4 MB | Without provenance | Details for grav_toolbox-0.3.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grav_toolbox-0.3.8-py3-none-any.whl | Python 3 | none | any | Details for grav_toolbox-0.3.8-py3-none-any.whl |
Total release size: 2.8 MB
Release files / grav_toolbox-0.3.8.tar.gz
| Download URL | grav_toolbox-0.3.8.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03b47052cadfd8b7ea83feb8ca11d1f9e32f16aad634d1eb131c136ebb6d5217
|
|
BLAKE2b-256 checksum How to use checksums |
11c90378adb64913138a9017d1053f43378f554caf8c35402e90b0a506edfaca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / grav_toolbox-0.3.8-py3-none-any.whl
| Download URL | grav_toolbox-0.3.8-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
042911eaee6757517762b3bc6ac79eb62c76d802bd8879340104c405681f75b7
|
|
BLAKE2b-256 checksum How to use checksums |
0c39aa687afdb6ac1f1b08a7821f36cfa52aa91849f1eb583a2c3b63e33b0d53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for grav-toolbox 0.3.8
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.