s="o">=</span> <span class="n">get_pattern_yearmonth</span><span class="p">()</span>
<span class="nb">print</span><span class="p">(</span><span class="n">years_months</span><span class="p">)</span>
<span class="n">input_dir</span> <span class="o">=</span> <span class="sa">r</span><span class="s1">&#39;/media/NAS-Divers/dev/datasets/OCO2/nc4-v10/&#39;</span>
<span class="n">output_dir</span> <span class="o">=</span> <span class="sa">r</span><span class="s1">&#39;/media/data-nvme/dev/datasets/OCO2/csv-v10/&#3