getNlTileZipLclNameVIIRS: Constructs the filename used to save/access the downloaded...

Description Usage Arguments Value Examples

View source: R/getnlfilename.R

Description

Constructs the filename used to save/access the downloaded VIIRS tile .tgz file

Usage

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

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

tileNum

The index of the tile as given in nlTileIndex

Value

A character string filename of the compressed .tgz VIIRS tile

Examples

1
2
3
4
5
## Not run: 
Rnightlights:::getNlTileZipLclNameVIIRS("201401", 1)
 #returns "./tiles/VIIRS_2014_01_75N180W.tgz"
 
## End(Not run)

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