Class NamedStacksOutputter
Object
NamedStacksOutputter
Outputs a named-set of stacks, performing appropriate checks on what is enabled or not.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
output
(NamedProvider<Stack> stacks, String outputName, boolean suppressSubdirectory, OutputterChecked outputter) Writes all or a subset from a set of named-stacks to a directory as a raster.
-
Method Details
-
output
public static void output(NamedProvider<Stack> stacks, String outputName, boolean suppressSubdirectory, OutputterChecked outputter) throws OutputWriteFailedException Writes all or a subset from a set of named-stacks to a directory as a raster.A second-level output manager filters which stacks are written.
- Parameters:
stacks
- the stacks to output (or a subset thereof according to the second-level output manager)outputName
- name to use for the directory, for checking if it is allowed, and for the second-level outputssuppressSubdirectory
- if true, a separate subdirectory is not created, and rather the outputs occur in the parent directory.outputter
- determines where and how the outputting occurs- Throws:
OutputWriteFailedException
- if the output cannot be written.
-