R/build_example_param_file.R
build_example_param_file.Rd
Function used to write JSON parameter file. A function is provided instead than a json file to ensure directories to match the user folder tree.
build_example_param_file(
json_path = tempfile(fileext = "_sen2r_params.json"),
overwrite = TRUE
)
Path of the output file. Default is to save it on a temporary file, whose path is returned.
Logical value: should existing output file be overwritten? (default: TRUE)
The path of the created file.
License: GPL 3.0
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. doi:10.1016/j.cageo.2020.104473 , URL: https://sen2r.ranghetti.info/.
build_example_param_file()
#> [1] "/tmp/RtmpFvTjNK/file2b60eb3d185377_sen2r_params.json"