Comments (7)
Hi @masiddique, the tests are passing here, perhaps you are trying to run the runtests.jl
scripts directly in the Julia prompt?
The way we test packages in Julia is by running:
Pkg.test("GeoStats")
Can you please give more information?
from geostats.jl.
Yes, I was running it at the prompt. Running Pkg.test("GeoStats")
works fine, so my mistake.
However, I was wondering how to pass covariance models to unikrig()
function since we don't have the functions to generate such models, like GaussianCovariance()
or SphericalCovariance()
?
from geostats.jl.
I will document it better, thank you for your feedback. See if the example below works for you:
using GeoStats
# create some data
dim = 3; nobs = 10
X = rand(dim, nobs); z = rand(nobs)
x₀ = rand(dim)
# define a covariance model
cov = GaussianCovariance(1.,1.) # sill and range
# estimation
μ, σ² = kriging(x₀, X, z, cov=cov)
μ, σ² = unikrig(x₀, X, z, cov=cov)
from geostats.jl.
I get error:
UndefVarError: GaussianCovariance not defined
in include_string(::String, ::String) at loading.jl:441
in eval(::Module, ::Any) at boot.jl:234
in (::Atom.##65#68)() at eval.jl:40
in withpath(::Atom.##65#68, ::Void) at utils.jl:30
in withpath(::Function, ::Void) at eval.jl:46
in macro expansion at eval.jl:109 [inlined]
in (::Atom.##64#67{Dict{String,Any}})() at task.jl:60
from geostats.jl.
Thank you for catching this @masiddique, I had it fixed in the master branch but forgot to tag a new version of the package in the Julia ecosystem. I will be sending the new version for approval today, meanwhile you can get it working in the development branch by typing:
Pkg.checkout("GeoStats")
This will download the latest (unstable) version of GeoStats
.
from geostats.jl.
Thank you @juliohm . The example given above works now.
from geostats.jl.
@masiddique you should now be able to use the stable version again:
Pkg.free("GeoStats")
The fix was merged. Thank you again.
from geostats.jl.
Related Issues (20)
- Allow string names in `rand` geostats processes
- Remove GslibIO.jl from test dependencies in Variography.jl
- Review DatamineAngles and VulcanAngles HOT 1
- Use more efficient Makie functions for Grid domains HOT 1
- Multi-output / Multi-task Processes HOT 3
- Add option in `geojoin` to also match by additional columns HOT 1
- Consider the usage of multi-threading in `geojoin` HOT 1
- Refactor `parent` of `AbstractGeoTable` to fill missing values
- Add `Rotate(theta)` for 2D rotation
- Improve show of `TransformedGrid`
- Add viz recipe for `Vec` and `Ray`
- Covariance types from Variogram
- Add `geotable.geometry = geometry` syntax to set domain HOT 1
- Rename `Strecth` to `Scale` HOT 1
- Documentation Versioning HOT 2
- Fix `show` of very large `GeoTable` HOT 1
- Observable transform pipelines HOT 1
- Add support for `geotable[bools, cols]` HOT 1
- Allow other Kriging variants in sequential Gaussian simulation
- Online generation of large realizations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geostats.jl.