powered by
Download VIIRS nightlight tile
downloadNlTilesVIIRS(nlPeriod, tileNum, downloadMethod = pkgOptions("downloadMethod"), 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
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