Learn R Programming

Rnightlights (version 0.2.4)

getNlTileTifLclNamePathOLS: Constructs the full path used to save/access the decompressed OLS .tif file

Description

Constructs the full path used to save/access the decompressed OLS .tif file

Usage

getNlTileTifLclNamePathOLS(nlType = "OLS.Y",
  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 year in which the tile was created

tileNum

ignored

Value

a character vector filename of the .tif OLS tile

Examples

Run this code
# NOT RUN {
#using default dirNlTiles
# }
# NOT RUN {
Rnightlights:::getNlTileTifLclNamePathOLS("2012", 1)
 #returns "/dataPath/tiles/OLS_2012.tif"
 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab