rremelgado / rsmove Goto Github PK
View Code? Open in Web Editor NEWRemote Sensing for Movement Ecology
Remote Sensing for Movement Ecology
I stumbled across this package and it's getEnv()
function to download JRC Global Surface Water data here (https://www.rdocumentation.org/packages/rsMove/versions/0.2.1/topics/getEnv). Aside from that webpage, it doesn't seem to be, or have ever been, in this package. Is this function lying around somewhere?
Running revdep checks for current rgdal on R-Forge - see:
https://stat.ethz.ch/pipermail/r-sig-geo/2019-November/027801.html
shows the errors in the attached check log, related to use of PROJ&/GDAL3
and required changes to sp and rgdal. If useful find a reference to a docker
image in this thread:
Changes will occur quite fast, and packages need to be prepared.
* checking examples ... ERROR
Running examples in ‘rsMove-Ex.R’ failed
The error most likely occurred in:
> ### Name: backSample
> ### Title: backSample
> ### Aliases: backSample
>
> ### ** Examples
>
> {
+
+ require(raster)
+
+ # read raster data
+ file <- list.files(system.file('extdata', '', package="rsMove"), 'ndvi.tif', full.names=TRUE)
+ r.stk <- stack(file)
+
+ # read movement data
+ data(shortMove)
+
+ # find sample regions
+ label <- labelSample(shortMove, 30, agg.radius=30, nr.pixels=2)
+
+ # select background samples (pca)
+ bSamples <- backSample(shortMove, r.stk, label, sampling.method='pca')
+
+ # select background samples (random)
+ bSamples <- backSample(shortMove, r.stk, sampling.method='random')
+
+ }
Loading required package: raster
Loading required package: sp
Warning in showSRID(uprojargs, format = "PROJ", multiline = "NO") :
Discarded datum WGS_1984 in CRS definition,
but +towgs84= values preserved
Error in labelSample(shortMove, 30, agg.radius = 30, nr.pixels = 2) :
"x" and "y" have different projections
Execution halted
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.