Learn R Programming

sen2r (version 1.6.0)

gipp_init: Copy L2A_GIPP.xml in sen2r

Description

Internal function to copy L2A_GIPP.xml from default Sen2Cor directory to sen2r. After that, user will allow editing Sen2Cor options in sen2r without affecting standalone Sen2Cor behaviour.

Usage

gipp_init(gipp_sen2r_path = NA, force = FALSE, dem_warning = FALSE)

Value

TRUE if the file was copied, FALSE elsewhere (invisible output)

Arguments

gipp_sen2r_path

Character path of the output GIPP XML file. By default it is equal to NA (meaning the default sen2r GIPP path).

force

Logical: if TRUE, the file is copied in any case; if FALSE (default), only if it does not yet exist.

dem_warning

TEMPORARY ARGUMENT Logical: if TRUE, a warning about the fact that DEM_Directory XML parameter was not overwritten is shown (default is FALSE). This argument will be removed when use_dem = TRUE will become the default.

Author

Luigi Ranghetti, phD (2020)

References

L. Ranghetti, M. Boschetti, F. Nutini, L. Busetto (2020). "sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data. Computers & Geosciences, 139, 104473. tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473"), URL: https://sen2r.ranghetti.info/.

Examples

Run this code
if (FALSE) {
gipp_init()
}

Run the code above in your browser using DataLab