build_spectral_mixture_brick: Helper function for building spectral mixture model bricks.

Description Usage Arguments Value Author(s)

Description

Build a SITS brick masking the clouds in the images.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
build_spectral_mixture_brick(
  brick_imgs,
  field_name,
  brick_prefix,
  brick_path,
  brick_n_img,
  no_data = -9999,
  gdal_format = "GTiff",
  gdal_options = c("TILED=YES", "COPY_SRC_OVERVIEWS=YES", "COMPRESS=LZW"),
  tmp_dir = tempdir()
)

Arguments

brick_imgs

A tibble with metadata of satellite imagery (see build_brick_tibble2).

field_name

A length-one character. The name of a column in brick_imgs with paths to image files.

brick_prefix

A lengh-one character. Prefix to append to produced file names.

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.

no_data

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

gdal_format

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

gdal_options

A character.

tmp_dir

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

Value

A tibble of metadata about the created bricks.

Author(s)

Alber Sanchez, alber.ipia@inpe.br


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