Code Monkey home page Code Monkey logo

georcb's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

georcb's Issues

Cost-based distances for large datasets

While package gdistance works well enough for most purposes, for really large datasets it may be more efficient to wrap up the geodesic C++ library by Danil Kirsanov.
It implements a geodesic (shortest path) algorithm for a triangular mesh (triangulated surface).

Doing so would also require to implement methods for constructing and manipulating the meshes.
We could borrow that functionality from r-inla.

Possible divergence of the method krige.conv ?

Hi,

I am using your very useful code, and thank you for it !

Nevertheless, when I am using the krige.conv method, I have some problem of divergence that I don't observe using the standard krige.conv method of GeoR with the same parameters.

Adding the distance matrices give me very diverging results when the geodata set increase. For one or two points to krige on my network I don't have any problem, but when there are more than 500 points to "merge", very extreme values appear.

Did you already observe this phenomenon ? Do you have any idea about which parameters could be badly given in my function ?

krige.conv(geodata= Obs,
locations = PT_gd$coords,
krige=krige.control(cov.model="spherical",cov.pars=c(30,500), nugget=0),
dd.dists.mat=distances, dl.dists.mat=distances_to_obs )

Thank you.

Kind regards,

Pierre

P.S. I checked my distance matrices and they seems to be ok.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.