an><span class="o">.</span><span class="n">exists</span><span class="p">(</span><span class="n">c</span><span class="o">.</span><span class="n">outputdir</span><span class="p">):</span>
        <span class="n">make_dir</span><span class="p">(</span><span class="n">c</span><span class="o">.</span><span class="n">outputdir</span><span class="p">)</span>

    <span class="c1"># get all files with flux data to be deaccumulated</span>
    <span class="n">inputfiles</span> <span class="o">=</span> <span class="n"