Learn R Programming

Rnightlights (version 0.2.4)

getNlTileZipLclNameVIIRS: Constructs the filename used to save/access the downloaded VIIRS tile .tgz file

Description

Constructs the filename used to save/access the downloaded VIIRS tile .tgz file

Usage

getNlTileZipLclNameVIIRS(nlType,
  configName = pkgOptions(paste0("configName_", nlType)), nlPeriod,
  tileNum)

Arguments

nlType

The particular VIIRS type e.g. VIIRS.D for daily VIIRS

configName

character the type of raster being processed

nlPeriod

The nlPeriod in which the tile was created

tileNum

The index of the tile as given in nlTileIndex

Value

A character string filename of the compressed .tgz VIIRS tile

Examples

Run this code
# NOT RUN {
Rnightlights:::getNlTileZipLclNameVIIRS("201401", 1)
 #returns "./tiles/VIIRS_2014_01_75N180W.tgz"
 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab