Skip to content

Bump gstools from 1.6.0 to 1.7.0 #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 1, 2025

Bumps gstools from 1.6.0 to 1.7.0.

Release notes

Sourced from gstools's releases.

v1.7.0 'Morphic Mint'

Release Notes

This great release brings not only one but two impressive new features to GSTools: Plurigaussian Fields and Sum-Models. Plurigaussian Fields provide a smart way to introduce structure to random fields and with Sum-Models you are finally able to add two or more covariance models to better capture spatial patterns. In addition, we outsourced the cython code of GSTools into a separate package GSTools-Cython, which makes GSTools itself a lightweight pure python package.

Installation

You can install GSTools with conda:

conda install -c conda-forge gstools

or with pip:

pip install gstools

Documentation

The documentation can be found at: https://gstools.readthedocs.io/

What's new?

Enhancements

  • new feature: Plurigaussian simulations (PGS) (#370)
    • they simulate distributions of categorical data, e.g. lithofacies, hydrofacies, soil types, or cementitious materials
    • they naturally extend truncated Gaussian fields, which are already a part of GSTools through the field transformations
  • new feature: support for Sum-Models (#364)
    • added SumModel class
      • represents sum of covariance models
      • behaves just as a normal covariance model with kriging and field generation
      • covariance models can be added with overloaded + operator: model = m1 + m2
      • class is subscriptable to access sub-models by index: m1 = model[0]
      • included models will get a nugget of 0 and the nugget is stored separately in the sum-model
      • model variance is the sum of the sub-model variances
      • model length-scale is weighted sum of sub-model len-scales, where the weights are the ratios of the sub-models variance to the sum variance (motivated by the integral scale, which satisfies this relation)
      • anisotropy and rotation need to be the same for all included sub-models
      • parameters of the sub-models can be accessed by name with added index suffix: model[0].nu == model.nu_0
      • fitting: if len_scale is fixed, none of the len_scale_<i> can be fixed since len_scale is calculated from variance ratios
    • added Nugget class (empty SumModel)
      • allow len scale of 0 in CovModel to enable a pure nugget model
      • added zero_var and model attributes to Generator ABC to shortcut field generation for pure nugget models

Changes

  • outsourced cython code to a separate package GSTools-Cython (#376)
  • removed var_raw attribute from CovModel (was rarely used and only relevant for the truncated power law models)
    • BREAKING CHANGE (but not to many should be affected)
    • TPLCovModel now has a intensity attribute which calculates what var_raw was before
  • simplified variogram fitting (var_raw was a bad idea in the first place)
  • variogram plotting now handles a len-scale of 0 (to properly plot nugget models)
  • fitting: when sill is given and var and nugget are deselected from fitting, an error is raised if given var+nugget is not equal to sill (before, they were reset under the hood in a strange way)

... (truncated)

Changelog

Sourced from gstools's changelog.

[1.7.0] - Morphic Mint - 2025-04

Enhancements

  • new feature: Plurigaussian simulations (PGS) (#370)
    • they simulate distributions of categorical data, e.g. lithofacies, hydrofacies, soil types, or cementitious materials
    • they naturally extend truncated Gaussian fields, which are already a part of GSTools through the field transformations
  • new feature: support for Sum-Models (#364)
    • added SumModel class
      • represents sum of covariance models
      • behaves just as a normal covariance model with kriging and field generation
      • covariance models can be added with overloaded + operator: model = m1 + m2
      • class is subscriptable to access sub-models by index: m1 = model[0]
      • included models will get a nugget of 0 and the nugget is stored separately in the sum-model
      • model variance is the sum of the sub-model variances
      • model length-scale is weighted sum of sub-model len-scales, where the weights are the ratios of the sub-models variance to the sum variance (motivated by the integral scale, which satisfies this relation)
      • anisotropy and rotation need to be the same for all included sub-models
      • parameters of the sub-models can be accessed by name with added index suffix: model[0].nu == model.nu_0
      • fitting: if len_scale is fixed, none of the len_scale_<i> can be fixed since len_scale is calculated from variance ratios
    • added Nugget class (empty SumModel)
      • allow len scale of 0 in CovModel to enable a pure nugget model
      • added zero_var and model attributes to Generator ABC to shortcut field generation for pure nugget models

Changes

  • outsourced cython code to a separate package GSTools-Cython (#376)
  • removed var_raw attribute from CovModel (was rarely used and only relevant for the truncated power law models)
    • BREAKING CHANGE (but not to many should be affected)
    • TPLCovModel now has a intensity attribute which calculates what var_raw was before
  • simplified variogram fitting (var_raw was a bad idea in the first place)
  • variogram plotting now handles a len-scale of 0 (to properly plot nugget models)
  • fitting: when sill is given and var and nugget are deselected from fitting, an error is raised if given var+nugget is not equal to sill (before, they were reset under the hood in a strange way)

Bugfixes

  • pnt_cnt was not recalculated in vario_estimate when a mask was applied, together with a given sample size this resulted in an IndexError most of the times (#378)

[1.6.1] - Periodic Peach - 2025-01

see #375

  • added wheels for Python 3.13

Bugfixes

  • fix readthedocs.com problems (#375)
  • remove deprecated scipy dependency (#375)
Commits
  • 1edd2b9 Merge pull request #383 from GeoStat-Framework/prepare_v1.7
  • 480a805 changelog: more info on PGS
  • 8b92772 CI hotfix: provide path when downloading artifacts for pypi publishing
  • 437d6a9 update changelog for v1.7
  • 32d8537 remove social badges
  • 0a5697b Merge pull request #376 from GeoStat-Framework/outsource_cython
  • 12024ba Merge branch 'main' into outsource_cython
  • d5a6338 docs: polish section for parallel support
  • 1399d98 Merge pull request #364 from GeoStat-Framework/add_sum_model
  • ee622a7 move sum examples to number 12
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gstools](https://github.com/GeoStat-Framework/GSTools) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/GeoStat-Framework/GSTools/releases)
- [Changelog](https://github.com/GeoStat-Framework/GSTools/blob/main/CHANGELOG.md)
- [Commits](GeoStat-Framework/GSTools@v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: gstools
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants