v1.3.0 'Pure Pink' #163
MuellerSeb
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
|
WUHUUU!!! What a release! Congrats!! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks to the whole team of direct and indirect contributors: @LSchueler @mmaelicke @TobiasGlaubach @bsmurphy @AlrauneZ @banesullivan @fhesze @javoha @rth @mjziebarth |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Release Notes
A big step forward for GSTools. We now support geographical coordinates, directional variograms, auto-binning, arbitrary dimensions, normalizers and trends and much much more.
Installation
You can install GSTools with conda:
or with pip:
Documentation
The documentation can be found at: https://gstools.readthedocs.io/
What's new?
Topics
Geographical Coordinates Support (#113)
latlonto indicate a geographic model. When given, spatial dimension is fixed todim=3,anisandangleswill be ignored, since anisotropy is not well-defined on a sphere.field_dimto indicate the dimension of the resulting field. Will be 2 iflatlon=Truezeta:vario_yadrenko: given byvariogram(2 * np.sin(zeta / 2))cov_yadrenko: given bycovariance(2 * np.sin(zeta / 2))cor_yadrenko: given bycorrelation(2 * np.sin(zeta / 2))isometrizeandanisometrizemethods will convertlatlontuples (given in degree) to points on the unit-sphere in 3D and vice versadim,anisandanglesparameters, butlatlon=Truefit_variogramwill expect an estimated variogram with great-circle distances given in radianslatlonswitch implemented inestimate_varioroutineKrige Unification (#97)
Krigeclass now provides everything in one placeonly_meanin the call routineSimple/Ordinary/Universal/ExtDrift/Detrendedare only shortcuts toKrigewith limited input parameter listcovariancefunction to build up the kriging matrix (instead of variogram)unbiasedswitch was added to enable simple kriging (where the unbiased condition is not given)exactswitch was added to allow smother results, if anuggetis present in the modelcond_errparameter was added, where measurement error variances can be given for each conditional pointpseudo_inv), this is equal to solving the system with least-squares and prevents numerical errorsfit_normalizerandfit_variogramto automatically fit normalizer and variogram to given dataDirectional Variograms and Auto-binning (#87, #106, #131)
vario_estimateinstead ofvario_estimate_unstructured(old kept for legacy code) for simplicityvario_estimate_axisinstead ofvario_estimate_structured(old kept for legacy code) for simplicityno_dataoption added to allow missing valuesmaskkeyword was added to provide an external maskno_dataoption added to allow missing values (sovles #83)"x","y","z") or axis number (0,1,2,3, ...)Better Variogram fitting (#78, #145)
lossis now selectable for smoother handling of outlierslen_scaleis now mean of given bin-centersvarandnuggetis now mean of given variogram valuesCovModel update (#109, #122, #157)
rescaleargument and attribute to theCovModelclass to be able to rescale thelen_scale(usefull for unit conversion or rescalinglen_scaleto coincide with theintegral_scalelike it's the case with the Gaussian model)See: #90, GeoStat-Framework/PyKrige#119
len_rescaledattribute to theCovModelclass, which is the rescaledlen_scale:len_rescaled = len_scale / rescaledefault_rescaleto provide default rescale factor (can be overridden)doctestcallscorroutine and make use of therescaleargument (See: #90)HyperSpherical: (Replaces the oldIntersectionmodel) Derived from the intersection of hyper-spheres in arbitrary dimensions. Coincides with the linear model in 1D, the circular model in 2D and the classical spherical model in 3DSuperSpherical: like the HyperSpherical, but the shape parameter derived from dimension can be set by the user. Coincides with the HyperSpherical model by defaultJBessel: a hole model valid in all dimensions. The shape parameter controls the dimension it was derived from. Fornu=0.5this model coincides with the well knownwavehole model.TPLSimple: a simple truncated power law controlled by a shape parameternu. Coincides with the truncated linear model fornu=1Cubic: to be compatible with scikit-gstat in the futureCovModelclass is now using a float precision (CovModel._prec=3) to truncate longish outputCovModelclass now only showsanisandanglesif model is anisotropic resp. rotatedNormalizer, Trend and Mean (#124)
normalizesubmodule containing power-transforms for data to gain normalityNormalizerproviding basic functionality including maximum likelihood fittingLogNormal,BoxCox,BoxCoxShift,YeoJohnson,ModulusandManlyArbitrary dimensions (#112)
isometrizeandanisometrizeroutines to convert pointsNew Class for Conditioned Random Fields (#130)
CondSRFreplaces the conditioning feature of the SRF class, which was cumbersome and limited to Ordinary and Simple krigingCondSRFbehaves similar to theSRFclass, but instead of a covariance model, it takes a kriging class as input. With this kriging class, all conditioning related settings are defined.Enhancements
dimorshapeshape(variogram helper)field.toolssubpackagemeshio>=4.0and add as dependencyEARTH_RADIUSas constant providing earths radius in km (can be used to rescale models)latlon2posandpos2latlonto convert lat-lon coordinates to points on unit-sphere and vice versaRandMethclass got a switch to select the sampling strategypyproject.tomlto care about build dependencies, see #154Changes
pos2xyzandxyz2pospre_posroutine to save pos tuple and reformat it an unstructured tuple"unstructured"keyword is recognized everywhere, everything else is interpreted as"structured"(e.g."rectilinear")GSTOOLS_BUILD_PARALLEL=1, see #154[dev]dropped, can be reproduced bypip install gstools[test, doc], see #154Bugfixes
CovModel.opt_argnow sorted #103This discussion was created from the release v1.3.0 'Pure Pink'.
Beta Was this translation helpful? Give feedback.
All reactions