Skip to content

v1.3.3 'Pure Pink'

Compare
Choose a tag to compare
@MuellerSeb MuellerSeb released this 08 Aug 12:24
· 456 commits to main since this release
1304059

Release Notes

This release comes with a new storage framework for all Field classes and a better transform sub-module.

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

See: #197

  • gstools.transform:
    • add keywords field, store, process and keep_mean to all transformations to control storage and respect normalizer
    • added apply_function transformation
    • added apply as wrapper for all transformations
    • added transform method to all Field (sub)classes as interface to transform.apply
    • added checks for normal fields to work smoothly with recently added normalizer submodule
  • Field:
    • allow naming fields when generating and control storage with store keyword
    • all subclasses now have the post_process keyword (apply mean, normalizer, trend)
    • added subscription to access fields by name (Field["field"])
    • added set_pos method to set position tuple
    • allow reusing present pos tuple
    • added pos, mesh_type, field_names, field_shape, all_fields properties
  • CondSRF:
    • memory optimization by forwarding pos from underlying krige instance
    • only recalculate kriging field if pos tuple changed (optimized ensemble generation)
  • performance improvement by using np.asarray instead of np.array where possible
  • updated examples to use new features
  • added incomplete lower gamma function inc_gamma_low (for TPLGaussian spectral density)
  • filter nan values from cond_val array in all kriging routines #201

Bugfixes

  • inc_gamma was defined wrong for integer s < 0