powered by
Download VIIRS nightlight tile
downloadNlTilesVIIRS(nlYearMonth, tileNum, downloadMethod = pkgOptions("downloadMethod"))
the year in "YYYYMM" format e.g. "201204"
the index of the tile as given by getNlTiles("VIIRS")
The method to use for download.
TRUE/FALSE Whether the download was successful
# NOT RUN { if(downloadNlTilesVIIRS("201205", "1")) print("download successful") # } # NOT RUN { # }
Run the code above in your browser using DataLab