Learn R Programming

Rnightlights (version 0.2.4)

getNlTifLclNameOLS: Constructs the filename used to save/access the decompressed OLS .tif file

Description

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

Usage

getNlTifLclNameOLS(nlType, configName = pkgOptions(paste0("configName_",
  nlType)), nlPeriod)

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

Value

a character vector filename of the .tif VIIRS tile

Examples

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

Run the code above in your browser using DataLab