Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jul 24, 2024
1 parent c765622 commit 864efd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _modules/kerchunk/grib2.html
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ <h1>Source code for kerchunk.grib2</h1><div class="highlight"><pre>
<span class="p">)</span>

<span class="k">if</span> <span class="n">validate</span> <span class="ow">and</span> <span class="ow">not</span> <span class="n">result</span><span class="p">[</span><span class="s2">&quot;attrs&quot;</span><span class="p">]</span><span class="o">.</span><span class="n">is_unique</span><span class="p">:</span>
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Attribute mapping for grib file </span><span class="si">{</span><span class="n">basename</span><span class="si">}</span><span class="s2"> is not unique)&quot;</span><span class="p">)</span>
<span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Attribute mapping for grib file </span><span class="si">{</span><span class="n">basename</span><span class="si">}</span><span class="s2"> is not unique&quot;</span><span class="p">)</span>

<span class="k">return</span> <span class="n">result</span><span class="o">.</span><span class="n">set_index</span><span class="p">(</span><span class="s2">&quot;idx&quot;</span><span class="p">)</span>
</pre></div>
Expand Down

0 comments on commit 864efd2

Please sign in to comment.