def _get_band_indexes(self, indexes=None):
if indexes:<EOL><INDENT>if isinstance(indexes, list):<EOL><INDENT>return indexes<EOL><DEDENT>else:<EOL><INDENT>return [indexes]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return range(<NUM_LIT:1>, self.process.config.output.profile(self.tile)["<STR_LIT:count>"] + <NUM_LIT:1>)<EOL><DEDENT>
Return valid band indexes.