Rastertool.postprocess_files

Rastertool.postprocess_files(inputfiles: List[str], outputfiles: List[str]) List[str][source]

Run a postprocess when all input files have been processed. This step may consist in transforming the outputs or mixing them to generate additional ones.

Note

This implementation does nothing. Override this method in the subclass to achieve special processing that needs the whole list of inputfiles and/or the output files generated when processing every single file (to mix them for instance).

Parameters:
  • inputfiles ([str]) – Input images to process

  • outputfiles ([str]) – List of generated files after executing the rastertool on the input files

Returns

[str]: Additional output files (by default empty list)