You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed luna to download AVHRR data, and I keep getting the following error:
> library('luna') # for avhrr, modis, sentinel, and landsat data
>
> getAVHRR(start_date = '1981-06-24',
+ end_date = '1981-06-24',
+ path = 'data/ndvi-rasters/avhrr',
+ overwrite = FALSE,
+ update = FALSE)
Creating index of available AVHRR files on 2023-07-02
Downloading AVHRR tile for 1981-06-24
Error in match.arg(method, c("auto", "internal", "wininet", "libcurl", :
'arg' must be NULL or a character vector
The error occurs with both the GitHub version (remotes::install_github("rspatial/luna")) and the version from install.packages("luna", repos = "https://rspatial.r-universe.dev"). I believe it's because download.file doesn't have a default method and getAVHRR can't pass the method argument since the download.file call is missing a ....
Cheers,
Stefano
The text was updated successfully, but these errors were encountered:
Hi,
I just installed
luna
to download AVHRR data, and I keep getting the following error:The error occurs with both the GitHub version (
remotes::install_github("rspatial/luna")
) and the version frominstall.packages("luna", repos = "https://rspatial.r-universe.dev")
. I believe it's becausedownload.file
doesn't have a defaultmethod
andgetAVHRR
can't pass themethod
argument since thedownload.file
call is missing a...
.Cheers,
Stefano
The text was updated successfully, but these errors were encountered: