-
Notifications
You must be signed in to change notification settings - Fork 14
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 running the Rnighlights code #76
Comments
Hi, I am having exactly the same issue, thank you in advance. |
Hi, Apologies for the late response. Please post the code that you are running. |
Hi, @chrisvwn! just the example from the web: library(Rnightlights) #(Optional performance enhancement if you have aria2c and gdal installed) #Optional performance enhancement. If extractMethod="rast" you can specify the number of ctry <- "TUR" #replace to run for any other country #download and process monthly VIIRS stats at the highest admin level #Optionally plot the data #melt the stats into key-value format for easy multi-line plotting with ggplot2 #extract date from the NL col names #format period as date #plot 2nd admin level sums for the year print(g) #quick conversion to interactive map with plotly |
Okay. Which version of Rnightlights do you have? |
Rnightlights version 0.3.0.0 |
Dear Chris, and I am getting the following error message. I have the latest version of nightlight and updated versions of all the package. processing missing data: IND:VIIRS.M:VCMCFG:avg_rade9:201401:sum, VIIRS.M:VCMCFG:avg_rade9:201402:sum, VIIRS.M:VCMCFG:avg_rade9:201403:sum, VIIRS.M:VCMCFG:avg_rade9:201404:sum, VIIRS.M:VCMCFG:avg_rade9:201405:sum. This may take a while. |
I'm having the same issue as the person above, but I have ensured my login credentials are correct. Any idea what is causing it not to register? |
Hi, So the package has not been maintained for a while and I guess there have been changes upstream. I may not be able to update the package any time soon. Please see if you can find an alternative for your use. |
Okay, no worries. Thanks for letting us know! All the best. |
Hi,
Thank you for creating this wonderful package. I had a problem when running the code. Please find below, I'd appreciate your support in resolving it.
#load libraries
library(Rnightlights)
library(lubridate)
library(reshape2)
setwd(".")
getCtryNlData("KEN", "KEN_adm0", "VIIRS.Y",
nlPeriods = nlRange("2015", "2016"),
nlStats = "sum",
ignoreMissing=FALSE)
#The results below is what I then see
Error in if (!file.exists(ntLtsPageLocalName) || file.size(ntLtsPageLocalName) == :
missing value where TRUE/FALSE needed
Once again, thank you.
The text was updated successfully, but these errors were encountered: