-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error_message M-LED process_clusters.R #23
Comments
Dear @beniaminogallizia, great that you are looking into an implementation of M-LED for Mozambique. The reason is most likely that you did no download the nighttime light dataset that is being read in line 79. The data file in question is referred to here: https://github.com/iiasa/RE4AFAGRI_platform/wiki/Examples-and-exercises#preparing-the-population-clusters-also-relevant-for-onsset and can be downloaded from here: https://eogdata.mines.edu/nighttime_light/annual/v21/2021/VNL_v21_npp_2021_global_vcmslcfg_c202205302300.median_masked.dat.tif.gz. Could you confirm if you downloaded it and unzipped it? |
It works! I was using the nighttime light file specific for Mozambique that i used for OnSSET, apparently it was not suitable. Thank you again! |
Great! Please keep us posted on your model development outcomes, if you wish :) |
Dear @beniaminogallizia, what version of R are you using? |
I'm using the following version: R-4.2.3. As suggested in one of the previous issue I didn't downgrade Rstudio. |
did you try to add the |
It showed me the message below so I look for other versions in the web (https://cran.r-project.org/src/contrib/Archive/randomForestSRC/). I didn't try too add Thank you |
Hi @beniaminogallizia , Can you post the console output of running Thanks |
I think there is an issue with the object Could you please run lines 60-75 of the
resources object?
|
Hi,
I'm working on a new country, Mozambique. I'm aving this error message while running process_cluster.R. In particular the run stopped at line 79. I already checked the version for R and Rstudio.
Error in (function (cond) :
error in evaluating the argument 'x' in selecting a method for function 'raster': subscript out of bounds
This is the clusters' matrix.
Do you have any suggestions?
Thank you in advance.
Beniamino
The text was updated successfully, but these errors were encountered: