From 3df7c1c8974973b2e71a71a0f6994539ffdebd01 Mon Sep 17 00:00:00 2001 From: mdtanker Date: Wed, 26 Nov 2025 15:43:56 +0100 Subject: [PATCH 1/4] add todo to nearest_grid_fill --- src/invert4geom/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/invert4geom/utils.py b/src/invert4geom/utils.py index 9b605c8..b997625 100644 --- a/src/invert4geom/utils.py +++ b/src/invert4geom/utils.py @@ -138,6 +138,10 @@ def _nearest_grid_fill( filled grid """ + # TODO: also check out rasterio fillnodata() https://rasterio.readthedocs.io/en/latest/api/rasterio.fill.html#rasterio.fill.fillnodata + # uses https://gdal.org/en/stable/api/gdal_alg.html#_CPPv414GDALFillNodata15GDALRasterBandH15GDALRasterBandHdiiPPc16GDALProgressFuncPv + # can fill with nearest neighbor or inverse distance weighting + # get coordinate names original_dims = list(grid.sizes.keys()) From 53258f11349494caf0692def1e4ef4cb970aa586 Mon Sep 17 00:00:00 2001 From: mdtanker Date: Wed, 26 Nov 2025 15:44:12 +0100 Subject: [PATCH 2/4] Update zenodo metadata --- .zenodo.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.zenodo.json b/.zenodo.json index 47dc8ba..f4323a0 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -1,9 +1,10 @@ { - "title": "Inver4Geom: 3D geometric gravity inversions", + "title": "Invert4Geom: 3D geometric gravity inversions", "description": "

Invert4Geom is a Python library for performing 3D geometric gravity inversions, where the aim is to recover the geometry of a density contrast.

Documentation: https://invert4geom.readthedocs.io/

Source code: https://github.com/mdtanker/invert4geom

", "creators": [ { - "name": "The Invert4Geom Community" + "name": "Invert4Geom Community", + "role": "Research group" }, { "name": "Tankersley, Matt", From 46f8ddb9e76d479320098cbf5e9d307b545f1d31 Mon Sep 17 00:00:00 2001 From: mdtanker Date: Wed, 26 Nov 2025 15:47:49 +0100 Subject: [PATCH 3/4] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5822f6..b2a62b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased -This release is a major refactor of code with the goal of simplifying the user experience. Before, most of the code was written as functions, which required passing many parameters between functions, and outputs of one function to be used as input to the next function. This made using the library complicated, leading to easy mistakes and bugs. Most of the code has now been update to use object oriented programming (OOP), where it makes sense. **Unfortunately, this major refactor completely breaks the codebase!** For a small single-developer project like this, it is currently not worth the effort of proper slow deprecation of changed functions! Make sure to go through the documentation and examples and update your code accordingly before your update to this or future versions of the software. +This release is a major refactor of code with the goal of simplifying the user experience. Before, most of the code was written as functions, which required passing many parameters between functions, and outputs of one function to be used as input to the next function. This made using the library complicated, leading to easy mistakes and bugs. Most of the code has now been update to use object oriented programming (OOP), where it makes sense. **Unfortunately, this major refactor breaks part of the codebase!** For a small single-developer project like this, it is currently not worth the effort of proper slow deprecation of changed functions! Make sure to go through the documentation and examples and update your code accordingly before your update to this or future versions of the software. ### ✏️ Changed - Gravity data inputs should now be in xarray Datasets, instead of pandas DataFrames. From dd213575f174b98933b845fe581c83e5595ae9e0 Mon Sep 17 00:00:00 2001 From: mdtanker Date: Wed, 26 Nov 2025 16:34:04 +0100 Subject: [PATCH 4/4] remove role from .zenodo.json --- .zenodo.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.zenodo.json b/.zenodo.json index f4323a0..cf2f112 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -3,8 +3,7 @@ "description": "

Invert4Geom is a Python library for performing 3D geometric gravity inversions, where the aim is to recover the geometry of a density contrast.

Documentation: https://invert4geom.readthedocs.io/

Source code: https://github.com/mdtanker/invert4geom

", "creators": [ { - "name": "Invert4Geom Community", - "role": "Research group" + "name": "Invert4Geom Community" }, { "name": "Tankersley, Matt",