S2_generate_names: S2_granule_naming

View source: R/S2_generate_names.R

S2_generate_namesR Documentation

S2_granule_naming

Description

Creates a filename to store a downloaded 'granule', based on query response for a single 'granuleId'

Usage

S2_generate_names(x, destdir = NULL, ...)

Arguments

x

is the returned data S2_query_granule or S2_query_image

destdir

character destination to save downloaded files to. Will be created (recursivcely), if it does not exist.

...

arguments passed to S2_naming()

Details

This function allows to alter the automatic naming behavior for downloaded granules. Useful, when it is desired to add a custom prefix / suffix or make files be easier sortable by utm zone Id instead of acquision date.

Value

character names


IVFL-BOKU/sentinel2 documentation built on May 13, 2022, 11:15 p.m.