Learn R Programming

Rnightlights (version 0.2.4)

getNlTileTifLclNameOLS: Constructs the filename of the decompressed OLS .tif file

Description

Constructs the filename of the decompressed OLS .tif file

Usage

getNlTileTifLclNameOLS(nlType = "OLS.Y",
  configName = pkgOptions(paste0("configName_", nlType)), nlPeriod)

Arguments

nlType

character string the nlType

configName

character the type of raster being processed

nlPeriod

the nlPeriod in which the tile was created

Value

a character vector filename of the .tif OLS tile

Examples

Run this code
# NOT RUN {
#using default dirNlTiles
# }
# NOT RUN {
Rnightlights:::getNlTileTifLclNameOLS("2004")
 #returns "OLS_2004_00N180W.tif"
 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab