powered by
Download VIIRS nightlight tile
downloadNlTilesVIIRS(nlPeriod, tileNum, downloadMethod = pkgOptions("downloadMethod"), nlType, configName = pkgOptions(paste0("configName_", nlType)))
the nlPeriod of the tile to download
the index of the tile as given by getNlTiles
getNlTiles
The method to use for download.
A character string of nlType
character the type of raster being processed
TRUE/FALSE Whether the download was successful
# NOT RUN { if(Rnightlights:::downloadNlTilesVIIRS("201401", "1")) print("download successful") # } # NOT RUN { # }
Run the code above in your browser using DataLab