Learn R Programming

Rnightlights (version 0.2.4)

getNlTileTifLclNameVIIRS: Constructs the filename of the decompressed VIIRS .tif file

Description

Constructs the filename of the decompressed VIIRS .tif file

Usage

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

Arguments

nlType

character string the nlType

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 vector filename of the .tif VIIRS tile

Examples

Run this code
# NOT RUN {
#using default dirNlTiles
# }
# NOT RUN {
Rnightlights:::getNlTileTifLclNameVIIRS("201401", 1, "VIIRS.M")
 #returns "VIIRS_201401_75N180W.tif"
 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab