build_brick_simple: Build a SITS brick of cloud-masked images.

Description Usage Arguments Value Author(s)

Description

Build a SITS brick of images. The clouds in the images are masked.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
build_brick_simple(
  landsat_path,
  modis_path,
  scene_shp,
  tile_shp,
  brick_scene,
  brick_from,
  brick_to,
  brick_bands,
  brick_prefix,
  brick_path,
  brick_n_img,
  gdal_options = "BIGTIFF=YES",
  gdal_format = "GTiff",
  no_data = -9999,
  tmp_dir = tempdir()
)

Arguments

landsat_path

A length-one character. Path to a directory of Landsat images.

modis_path

A length-one character. Path to a directory of MODIS images.

scene_shp

A length-one character. Path to a polygon shapefile of the boundaries of Landsat's scenes.

tile_shp

A length-one character. Path to a polygon shapefile of the boundaries of MODIS's scenes.

brick_scene

A length-one character. A Landsat's scene id. i.e. "225063"

brick_from

A length-one character. The first day of the brick.

brick_to

A length-one character. The last day of the brick.

brick_bands

A character. The Landsat's bands to use for building the brick.

brick_prefix

A legth-one character. Prefix for naming the bricks.

brick_path

A length-one character. A path for storing the resulting bricks.

brick_n_img

A length-one integer. The number of images to include in a brick.

gdal_options

A character. Options passed to gdal for raster creation.

gdal_format

A length-one character. Gdal format of the output file.

no_data

A length-one numeric. The value for no data.

tmp_dir

A length-one character. A path to a folder for storing temporal files.

Value

A list of bricks of bands (tibble), bricks of vegetation indexes (tibble), and bricks of mixture model (tibble)

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/sits.starfm documentation built on Sept. 3, 2020, 4:03 p.m.