dllLS: Download Landsat scenes. Several criteria can be set to...

Description Usage Arguments Value

View source: R/Landsat.R

Description

Download Landsat scenes. Several criteria can be set to select scenes of interest: the extent of the study area, the time period of interest, the preferred sensors, tiers and maximum cloud percentage. Only scenes are downloaded that are not in the queue file yet. After download to a temporary folder, these scenes are compressed to a .tar.gz file, added to the the queue file and the level1 folder. Finally, the original downloaded files are removed from the temporary folder.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
dllLS(
  l1folder,
  queuefolder,
  queuefile,
  tmpfolder,
  logfile,
  ext,
  starttime,
  endtime,
  sensors,
  tiers,
  cld
)

Arguments

l1folder

level 1 folder

queuefolder

queue folder

queuefile

queue file

tmpfolder

folder with temporary data

logfile

file for logs

ext

extent of the study area of interest, this should be given as a vector containing - in order - xmin, xmax, ymin, ymax in degrees

starttime

start date (given as a vector with year, month, day)

endtime

end date (given as a vector with year, month, day)

sensors

sensors of interest, can be LC08, LE07, LT05, LT04, LM05, LM04

tiers

tiers of interest, T1 and T2 represent Tier 1 and 2, respectively

cld

maximum cloud percentage

Value

adds Landsat data to Level 1 folder


RETURN-project/makeDataCube documentation built on Feb. 11, 2022, 3:04 p.m.