Description Usage Arguments Value Examples
View source: R/downloadnltiles.R
Download VIIRS nightlight tile
1 2 3 4 5 6 7 8 | downloadNlTilesVIIRS(
nlPeriod,
tileNum,
downloadMethod = pkgOptions("downloadMethod"),
nlType,
configName = pkgOptions(paste0("configName_", nlType)),
extension
)
|
nlPeriod |
the nlPeriod of the tile to download |
tileNum |
the index of the tile as given by |
downloadMethod |
The method to use for download. |
nlType |
A character string of nlType |
configName |
character the config short name of raster being processed |
extension |
character the extension of raster being processed |
TRUE/FALSE Whether the download was successful
1 2 3 4 5 | ## Not run:
if(Rnightlights:::downloadNlTilesVIIRS("201401", "1"))
print("download successful")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.