Submit jobs through `qsub` for the `GEDI_L4A_2_mean_var` function.

GEDI_L4A_2_mean_var.batch(
  site_info,
  outdir,
  which.point.in.which.file,
  num.folder,
  buffer = 0.005,
  cores = parallel::detectCores(),
  prerun = NULL
)

Arguments

site_info

List: list of site info including site_id, site_name, lon, and lat.

outdir

Character: the physical path within which the batch job folders will be created.

which.point.in.which.file

List: lists containing physical paths of GEDI tiles that intercept the each site.

num.folder

Numeric: the number of batch folders to be created.

buffer

Numeric: buffer distance (in degree) that is used to create the bounding box (default is 0.005 [~ 500 m]).

cores

Numeric: numbers of core to be used for the parallel computation. The default is the maximum current CPU number.

prerun

Character: a vector of strings that will be executed beforehand. The default is NULL.

Value

A list containing AGB mean and standard devieation for each site.