Download and processing framework for MODIS imagery. The package provides automated access to the global online data archives LP DAAC, LAADS and NSIDC as well as processing capabilities such as file conversion, mosaicking, subsetting and time series.
Other
58
stars
27
forks
source link
Error in if (ftpfiles[1] == FALSE) { : missing value where TRUE/FALSE needed #94
I use getHdf to download data, and there is the error. Error in if (ftpfiles[1] == FALSE) { : missing value where TRUE/FALSE needed
I saw the same issue , but the solution ,let R have some rest, won't work for me. Here is my code:
MODISoptions(localArcPath = "D:/data", MODISserverOrder = c("LAADS", "LPDAAC"))getHdf(product="MYD09A1", begin = "2014001", end = "2019365", tileH=25:27, tileV=3:6, checkIntegrity = FALSE)
and
sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
I use
getHdf
to download data, and there is the error.Error in if (ftpfiles[1] == FALSE) { : missing value where TRUE/FALSE needed
I saw the same issue , but the solution ,let R have some rest, won't work for me. Here is my code:MODISoptions(localArcPath = "D:/data", MODISserverOrder = c("LAADS", "LPDAAC"))
getHdf(product="MYD09A1", begin = "2014001", end = "2019365", tileH=25:27, tileV=3:6, checkIntegrity = FALSE)
and sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18363)Matrix products: default
locale: [1] LC_COLLATE=Chinese (Simplified)_China.936 LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] devtools_2.3.1 usethis_1.6.1 MODIS_1.2.2 raster_3.3-13 sp_1.4-2 mapdata_2.3.0 maps_3.3.0