main

wss_tools.quip.main.main(args)[source]

Driver for command line script.

First argument must be the QUIP Operation XML file. Other command line options are as accepted by Ginga, except for:

  • --mosaic-thumb-size can be used to specify desired width in pixels for individual images to be mosaicked in THUMBNAIL mode. If not given, the default width is 500 pixels. For Segment ID, the value is 256 regardless of this setting.

  • --n-cores can be used to specify the number of CPU cores used when rescaling images in THUMBNAIL mode. If not given, all available cores will be used.

  • --nocopy can be used with QUIP to instruct it to not copy its Ginga files to user’s HOME directory.

  • --log=filename, if given in command line, will be ignored because QUIP always writes Ginga’s log to ginga.log in the output directory provided by QUIP Operation XML file.

Parameters
argslist of str

Command line arguments.

Raises
OSError

Input XML does not exist.

ValueError

Input XML fails to validate built-in schema. Validation is skipped for Windows.