s1tiling.libs.file_naming.TemplateOutputFilenameGenerator

class s1tiling.libs.file_naming.TemplateOutputFilenameGenerator(template)[source]

Bases: OutputFilenameGenerator

Given a template: "text{key1}_{another_key}_..", inject the metadata instead of the template keys.

Most filename format templates can be fine tuned to end-user ideal filenames. While the filenames used for intermediary products may be changed, it’s not recommended for data flow stability. See [Processing].fname_fmt.* for the short list of filenames meants to be adapted.

New methods & Specialized methods

__init__

generate

Default implementation does nothing.

generate(basename, keys: Dict) str[source]

Default implementation does nothing.