@classmethod<EOL><INDENT>def combine(self, members, output_file, dimension=None, start_index=None, stop_index=None, stride=None):<DEDENT>
nco = None<EOL>try:<EOL><INDENT>nco = Nco()<EOL><DEDENT>except BaseException:<EOL><INDENT>raise ImportError("<STR_LIT>")<EOL><DEDENT>if len(members) > <NUM_LIT:0> and hasattr(members[<NUM_LIT:0>], '<STR_LIT:path>'):<EOL><INDENT>members = [ m.path for m in members ]<EOL><DEDENT>options  = ['<STR_LIT>']  <EOL>options += ['<STR_LIT>', '<STR_LIT:3>']  <EOL>options += ['<STR_LIT>']  <EOL>if dimension is not None:<EOL><INDENT>if start_index is None:<EOL><INDENT>start_index = <NUM_LIT:0><EOL><DEDENT>if stop_index is None:<EOL><INDENT>stop_index = '<STR_LIT>'<EOL><DEDENT>if stride is None:<EOL><INDENT>stride = <NUM_LIT:1><EOL><DEDENT>options += ['<STR_LIT>', '<STR_LIT>'.format(dimension, start_index, stop_index, stride)]<EOL><DEDENT>nco.ncrcat(input=members, output=output_file, options=options)<EOL>
Combine many files into a single file on disk.  Defaults to using the 'time' dimension.