def concat_write_pklc(lcbasedir,<EOL>objectid,<EOL>aperture='<STR_LIT>',<EOL>postfix='<STR_LIT>',<EOL>sortby='<STR_LIT>',<EOL>normalize=True,<EOL>outdir=None,<EOL>recursive=True):
concatlcd = concatenate_textlcs_for_objectid(lcbasedir,<EOL>objectid,<EOL>aperture=aperture,<EOL>sortby=sortby,<EOL>normalize=normalize,<EOL>recursive=recursive)<EOL>if not outdir:<EOL><INDENT>outdir = '<STR_LIT>'<EOL><DEDENT>if not os.path.exists(outdir):<EOL><INDENT>os.mkdir(outdir)<EOL><DEDENT>outfpath = os.path.join(outdir, '<STR_LIT>' % (concatlcd['<STR_LIT>'],<EOL>aperture))<EOL>pklc = lcdict_to_pickle(concatlcd, outfile=outfpath)<EOL>return pklc<EOL>
This concatenates all text LCs for the given object and writes to a pklc.

    Basically a rollup for the concatenate_textlcs_for_objectid and
    lcdict_to_pickle functions.