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

Description Usage Arguments Value Examples

View source: R/getnlfilename.R

Description

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

Usage

1
2
3
4
5
6
7
getNlTileTifLclNamePathOLS(
  nlType = "OLS.Y",
  configName = pkgOptions(paste0("configName_", nlType)),
  extension,
  nlPeriod,
  tileNum
)

Arguments

nlType

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

configName

character the config shortname of raster being processed

extension

character the extension 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

1
2
3
4
5
6
#using default dirNlTiles
## Not run: 
Rnightlights:::getNlTileTifLclNamePathOLS("2012", 1)
 #returns "/dataPath/tiles/OLS_2012.tif"
 
## End(Not run)

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.