Combine Output Files#
Several related PSOUT files can be combined together into one large *.psout
file.
Command Line#
Usage: py -m mhi.psout.combine [-h] [-o OUTPUT] [pattern]
Combine multiple *.psout files into one single *.psout file.
pattern is used to select the *.psout files to combine together.
It defaults to */*.psout, which finds all *.psout files in subdirectories
of the current working directory.
The OUTPUT defaults to a common prefix of all files which match the pattern.
For example, if the directory Example.if18 contains:
Example_1_01.psoutthroughExample_1_90.psout,Example_2_01.psoutthroughExample_2_90.psout,Example_3_01.psoutthroughExample_3_90.psout
with one run in each file, then
py -m mhi.psout.combine Example.if18\Example_1_*.psoutwould write in the current working directoryExample_1.psoutcontaining 90 runs from the 90 matching*.psoutfiles.py -m mhi.psout.combine Example.if18\*.psoutwould write in the current working directoryExample.psoutcontaining all runs from the 270*.psoutfiles.py -m mhi.psout.combinemight also write in the current working directoryExample.psoutcontaining all runs from the 270*.psoutfiles, assuming no other subdirectory containing*.psoutfiles existed.
When runs are added to the output file, Source= and Run= attributes
are included in the run’s variables, to identify where the run came from.