-
Notifications
You must be signed in to change notification settings - Fork 55
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
Better interaction between Variogram() and Kriging() #63
Comments
Thanks for opening. OrdinaryKriging(variogram=None, coordinates=None, values=None, model='spherical' [....]) Then with a quick check if the variogram is given, it would work just like it did so far. For your use-case, you could just grab the # with V being an Variogram instance
OrdinaryKriging(coordinates=V.coordinates, values=V.values, **V.describe()) As a note: the scikit-gstat/skgstat/Variogram.py Line 1005 in c27e447
While this can't be pickled (internally, it's a lambda), the model function itself (imported from skgstat.models) should be pickleable and can be used along with the parameters. Then, for kriging there would be no need to recreate the Variogram instance. With the values, coordinates, the model (python function) and the parameters for the model, we can make Kriging work, right? |
Yeh, this looks good. describe() is missing the distance metric too I think... But what I would like too, is for it to actually include all argument sent to Variogram.init() (except coordinates and values), so that you could do something like
This is mostly for completeness. |
Assigned it to me, but: I need to concentrate on #58 since this stuff works well enough for us as is (hackety version) right now, but we do have problems with performance on large datasets... |
yeah, NP. Just wanted to make sure, that you are not waiting for me... |
The text was updated successfully, but these errors were encountered: