# NOT RUN {
#download VIIRS tiles for "KEN" which are tiles 2 and 5 for the specified
#time periods
# }
# NOT RUN {
downloadNlTiles("VIIRS", "201201", c(2, 5))
# }
# NOT RUN {
#same as above but getting the tileList automatically
# }
# NOT RUN {
downloadNlTiles("VIIRS", "201201",
tileName2Idx(getCtryTileList(ctryCodes="KEN",
nlType="VIIRS")))
# }
# NOT RUN {
#returns TRUE if the download was successful
# }
Run the code above in your browser using DataLab