build_cloud_brick: Helper function for building cloud 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_cloud_brick(
  brick_imgs,
  field_name,
  brick_prefix,
  brick_path,
  brick_scene,
  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_scene

A length-one character. The scene or tile of the 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. Options passed to gdal for raster creation.

tmp_dir

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

Value

A lenth-one character. Path to a brick file.

Author(s)

Alber Sanchez, alber.ipia@inpe.br


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