s1tiling.libs.file_naming.TemplateOutputFilenameGenerator
- class s1tiling.libs.file_naming.TemplateOutputFilenameGenerator(template)[source]
Bases:
OutputFilenameGeneratorGiven 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.
All Python standard format specifiers plus extra conversion fields are supported:
!cwill capitalize a field – only the first letter will be in uppercase!lwill output the field in lowercase!uwill output the field in uppercase
See [Processing].fname_fmt.* for the short list of filenames meant to be adapted, and the list of available fields.
New methods & Specialized methods
__init__Default implementation does nothing.
Tells whether the generator is specialized for several outputs