build_brick_starfm: Build a SITS brick using a fusion model (StarFM) to fill in...

Description Usage Arguments Value Author(s)

Description

Build a SITS brick using a fusion odel (StarFM) to finnin the gaps. To build the StarFM model and for each image, this function finds the next best image using the mean MODIS-Landsat cloud cover as parameter.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
build_brick_starfm(
  landsat_path,
  modis_path,
  scene_shp,
  tile_shp,
  brick_scene,
  brick_year,
  brick_bands,
  brick_path,
  cloud_threshold,
  n_best_img = 23,
  img_per_year = 23,
  image_step = 16,
  temp_dir = NULL,
  no_data = -9999,
  gdal_options = c("TILED=YES", "COPY_SRC_OVERVIEWS=YES", "COMPRESS=LZW")
)

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_year

A length-one numeric. A PRODES year.

brick_bands

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

brick_path

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

cloud_threshold

DEPRECATED. A length-one numeric. The approximated proportion of clouds in the brick.

n_best_img

A length-one numeric. Use only only this number of images. Best means less cloudy.

img_per_year

A length-one numeric. The number of images in a brick-year. The default is 23.

image_step

A length-one numeric. The number of days between images.

temp_dir

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

no_data

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

gdal_options

A character. Options passed to gdal for raster creation.

Value

A tibble.

Author(s)

Alber Sanchez, alber.ipia@inpe.br


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