aleksandarsekulic / rmeteo Goto Github PK
View Code? Open in Web Editor NEWSpatio-temporal geostatistical mapping of meteorological data.
License: Other
Spatio-temporal geostatistical mapping of meteorological data.
License: Other
Hi,
when I try to predict the value at a single location, the following error occurs: Error in cbind(knn1$nn.dists, near_o1) :
number of rows of matrices must match (see arg 2).
As soon as there are at least two locations for which the value is to be predicted, everything works.
if(class(knn1$nn.idx[1])!='integer') { near_o1 <- apply(knn1$nn.idx, 2, function(x) {variable[x]}) near_o1 <- cbind(near_o1) nl_df <- cbind(knn1$nn.dists, near_o1) } else { near_o1 <- variable[knn1$nn.idx] near_o1 <- matrix(near_o1, nrow = attributes(knn1$nn.idx)$dim[1], ncol = attributes(knn1$nn.idx)$dim[2]) # nl_df <- t(c(knn1$nn.dists, near_o1)) nl_df <- cbind(knn1$nn.dists, near_o1) } }
Iβve spent lots of time to debug and solve this problems. But still get another problems bellow:
[1] "combination 1: " min.node.size num.trees mtry n.obs sample.fraction idw.p 10 10 250 12 6 0.95 3 [1] "Fold 1" Joining by: staid, date Joining by: staid, lon, lat, date [1] "Fold 2" Joining by: staid, date Joining by: staid, lon, lat, date [1] "Fold 3" Joining by: staid, date Joining by: staid, lon, lat, date [1] "Fold 4" Error in { : task 216 failed - "non-numeric matrix extent"
@AleksandarSekulic
It is a good work but there are too much problems. When can i get a stable version to learn ur idea?
Waiting for a stable version urgently!!!
Hello,
Was trying to execute a code example from the documentation for function near.obs, but the command
nearest_obs <- near.obs(locations = temp,
observations = temp,
zcol = "tempc",
n.obs = 5,
rm.dupl = TRUE)
returned an error message:
Error in if (class(knn1$nn.idx) != "integer") { :
the condition has length > 1
sessionInfo()
R version 4.2.1 (2022-06-23)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=uk_UA.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=uk_UA.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=uk_UA.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=uk_UA.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] spacetime_1.2-8 sp_1.4-6 meteo_1.0-1
ππ½ I maintain the cran checks badges. Please change to the new cran checks badge URL (e.g., https://badges.cranchecks.info/worst/dplyr.svg
). Old badges at (e.g. https://cranchecks.info/badges/worst/dplyr
) will be unavailable as of Jan 1st 2023.
Hello,
Was trying to execute an RFSI example, but have got an error message for rfsi
command:
[1] "Preparing data ..."
Error in rfsi(formula = fm.RFSI, data = meuse, zero.tol = 0, n.obs = 5, :
no slot of name "sp" for this object of class "SpatialPointsDataFrame"
sessionInfo()
R version 4.2.1 (2022-06-23)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=uk_UA.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=uk_UA.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=uk_UA.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=uk_UA.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] spacetime_1.2-8 sp_1.4-6 meteo_1.0-1
Hello
Very interested in trying this package for RFSI but I am not able to install it in R 4.0.4. I tried bot GitHub and RForge options and gives me an error for the CAST pkg not been available for this version of R when trying GitHub, and a general package βmeteoβ is not available for this version of R when trying RForge
Are there plans on updating it?! Also, are sf objects going to be possible as input?
Thanks
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.