extractParallelCrop: Extract values from raster and crop by extent

Description Usage Arguments Value

View source: R/extractValuesCrop.R

Description

Extract values from raster and crop by extent

Usage

1
2
3
4
5
6
7
extractParallelCrop(
  ls_l8,
  l8_doys,
  e1,
  col_names = paste0("B", 2:7),
  max_cores
)

Arguments

ls_l8

a file list of Landsat 8 or Sentinel-1. All files should have the same extent.

l8_doys

a list of julian day of Landsat 8 or Sentinel-1 (numeric). This should be the same order and length as ls_l8.

e1

an extent of cropping.

col_names

names of bands. If L8, this should be B2, B3...B7. If S1, this should be VV and VH.

max_cores

numeric. Maximum numbers of cores used for parallel processing.

Value

a dataframe of data values for each location.


dulvrq/ddl8s1ts documentation built on May 2, 2021, 5:18 a.m.