v1.5.0 'Nifty Neon'
Release Notes
This release brings better support for spatio-temporal models as well as some updates for models on geographic coordinates.
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
- added
temporal
flag toCovModel
to explicitly specify spatio-temporal models #308- rotation between spatial and temporal dimension will be ignored
- added
spatial_dim
toCovModel
to explicitly set spatial dimension for spatio-temporal models- if not using
spatial_dim
, the provideddim
needs to include the possible temporal dimension spatial_dim
is always one less thanfield_dim
for spatio-temporal models
- if not using
- also works with
latlon=True
to have a spatio-temporal model with geographic coordinates - all plotting routines respect this
- the
Field
class now has atemporal
attribute which forwards the model attribute - automatic variogram fitting in kriging classes for
temporal=True
andlatlon=True
will raise an error
- added
geo_scale
toCovModel
to have a more consistent way to set the units of the model length scale for geographic coordinates #308- no need to use
rescale
for this anymore (was rather a hack) - added
gs.KM_SCALE
which is the same asgs.EARTH_RADIUS
for kilometer scaling - added
gs.DEGREE_SCALE
for great circle distance in degrees - added
gs.RADIAN_SCALE
for great circle distance in radians (default and previous behavior) - yadrenko variogram respects this and assumes the great circle distances is given in the respective unit
vario_estimate
also hasgeo_scale
now to control the units of the bins
- no need to use
vario_estimate
now forwards additional kwargs tostandard_bins
(bin_no
,max_dist
) #308- added
low
andhigh
arguments touniform
transformation #310
Changes
CovModel
s expect special arguments by keyword now #308- always use f-strings internally #283
- removed
verbose
attribute fromRandMeth
classes #309 - all arguments for
RandMeth
classes key-word-only now exceptmodel
#309 - rename "package" to "api" in doc structure #290
Bugfixes
- latex equations were not rendered correctly in docs #290