downloadNlTilesVIIRS: Download VIIRS nightlight tile

Description Usage Arguments Value Examples

View source: R/downloadnltiles.R

Description

Download VIIRS nightlight tile

Usage

1
2
3
downloadNlTilesVIIRS(nlPeriod, tileNum,
  downloadMethod = pkgOptions("downloadMethod"), nlType,
  configName = pkgOptions(paste0("configName_", nlType)))

Arguments

nlPeriod

the nlPeriod of the tile to download

tileNum

the index of the tile as given by getNlTiles

downloadMethod

The method to use for download.

nlType

A character string of nlType

configName

character the type of raster being processed

Value

TRUE/FALSE Whether the download was successful

Examples

1
2
3
4
5
## Not run: 
if(Rnightlights:::downloadNlTilesVIIRS("201401", "1"))
  print("download successful")
  
## End(Not run)

Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.