getNlTileTifLclNamePathVIIRS: 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 VIIRS .tif file

Usage

1
2
3
4
5
6
7
getNlTileTifLclNamePathVIIRS(
  nlType = "VIIRS.M",
  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 yearMonth 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

1
2
3
4
5
6
#using default dirNlTiles
## Not run: 
Rnightlights:::getNlTileTifLclNamePathVIIRS(nlType = "VIIRS.M", nlPeriod = "201401", tileNum = "1")
 #returns "/dataPath/tiles/VIIRS_2014_01_75N180W.tif"
 
## End(Not run)

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