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
downloadNlTilesOLS(nlPeriod,
  downloadMethod = pkgOptions("downloadMethod"), nlType = "OLS.Y",
  configName = pkgOptions(paste0("configName_", nlType)),
  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 type of raster being processed

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)

Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.