class="p">,</span>
        <span class="n">arr</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span><span class="p">,</span>
        <span class="n">bbox</span><span class="p">:</span> <span class="n">BoundingBox</span><span class="p">,</span>
    <span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;Write a chunk to a rasterio.DatasetWriter.&quot;&quot;&quot;</span>
        <span class="k">if</span> <span class="