Comments (2)
I'm happy you're finding this code to be useful. It's been some years since I was seriously using this code myself so here's my best guess/recollection.
- I recommend setting ipdw_range to a multiple of the distance among observation points. In the vignette I set it to 10x this value but I think it depends on what kind of spatial density you have in your observations. Try a few and see how it looks (you could also try a few in a leave-one-out cross validation scheme). I chose the second break for ipdw_dist because the first would be 0. Do you see a need to have this be set by the user instead of hard-coded?
- I think this was ported from the reference code in Suominen et al. 2010 and I believe it's to enforce realistic spatial decay in a simple way without being overly complicated.
- I don't recall this being an issue. My initial guess is that it's a spatial duplicate with one of your other points or that its distance with another point is smaller that the resolution of your raster inputs/outputs/intermediates.
P.S. I don't know if you're a Python user but even if you're not it might be a good idea to take a look at the following Python implementation in case it's useful to read through:
https://github.com/wrightky/ipdw
from ipdw.
Thanks for the responses! I am just returning from vacation today, but will take a closer look this week and then close the comment.
from ipdw.
Related Issues (20)
- ipdw output land area should be masked out as NA
- Add ability to set a custom distance weighting power
- Add ability to drop any areas that have a number of overlapping layers below some threshold
- Save power and range setting in output objects
- Generalize beyond Kattegat
- Check whether paramlist is available before running ipdw
- Show ggplot style outputs in vignette HOT 1
- Explain the projstr parameter on costrasterGen
- Add informative error msg if costrasterGen extent is misspelled as `pols`
- Convert package to sf HOT 1
- costrasterGen CRAN error HOT 1
- Python version of ipdw HOT 2
- Please remove dependencies on **rgdal**, **rgeos**, and/or **maptools** HOT 1
- Cannot run the example HOT 6
- testthat warnings on raster object formation HOT 2
- Reference Stachelek and Madden 2015 in vignette
- Add CRAN badge
- Add resolution argument to costrasterGen
- paramList arg is ambiguous
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 ipdw.