getNlTileTifLclNameVIIRS: Constructs the filename of the decompressed VIIRS .tif file

Description Usage Arguments Value Examples

View source: R/getnlfilename.R

Description

Constructs the filename of the decompressed VIIRS .tif file

Usage

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

Arguments

nlType

character string the nlType

configName

character the config shortname of raster being processed

extension

character the extension of raster being processed

nlPeriod

the nlPeriod 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:::getNlTileTifLclNameVIIRS("201401", 1, "VIIRS.M")
 #returns "VIIRS_201401_75N180W.tif"
 
## End(Not run)

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