downloadNlTilesOLS: Download OLS nightlight tile

Description Usage Arguments Value Examples

View source: R/downloadnltiles.R

Description

Download OLS nightlight tile

Usage

1
2
3
4
5
6
7
8
downloadNlTilesOLS(
  nlPeriod,
  downloadMethod = pkgOptions("downloadMethod"),
  nlType = "OLS.Y",
  configName = pkgOptions(paste0("configName_", nlType)),
  extension,
  multiTileStrategy = pkgOptions("multiTileStrategy")
)

Arguments

nlPeriod

the nlPeriod of the tile

downloadMethod

The method to use for download.

nlType

A character string of nlType

configName

character the config shortname of the raster to process

extension

character the extension of the raster to process

multiTileStrategy

character How to handle multiple tiles per nlPeriod

Value

TRUE/FALSE Whether the download was successful

Examples

1
2
3
4
5
## Not run: 
if(Rnightlights:::downloadNlTilesOLS("201405"))
  print("download successful")
  
## End(Not run)

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