get_testsite_Data: get_testsite_Data

Description Usage Arguments Author(s)

Description

This function named 'get_testsite_Data' loads entire satellite scene tif files of selected bands and crops them to a predefined extent, the result is stored in a new subfolder 'testsite' in each acquisition folder

Usage

1
2
get_testsite_Data(store_directory, s02, ls8, ref_CRS, ext, res, needed_bands,
  name_bands)

Arguments

store_directory

Directory where all satellite scenes are stored in subfolders

s02, ls8

defines, whether data from Sentinel or Landsat subfolder is used

ref_CRS

used coordinate reference system; in case data is stored in different coordinate systems, it will be reprojected to this coordinate system

ext

extent of testsite the scenes will be cropped to

res

if data needs to be reprojected, this will be the resolution of the resulting raster file

needed_bands

define bands, which should be cropped (these are the input file names - satellite specific) (e.g "band1", "band5", "B04", "B08")

name_bands

define name of output tif-files (e.g "green", "NIR", "SWIR")

Author(s)

Sebastian Buchelt (M.Sc. EAGLE - University of Wuerzburg)


SebEagle/snowcoveR documentation built on May 31, 2019, 12:07 p.m.