>
    <span class="c1">#    # grid is defined in normal degree; new format</span>
    <span class="c1">#    grid = &#39;{}/{}&#39;.format(float(grid), float(grid))</span>


    <span class="c1"># determine grid format</span>
    <span class="c1"># assumes that nobody wants grid spacings of 20 deg or more</span>
    <span class="k">if</span> <span class="nb">float</span><span class="p">(</span><span class="n">grid</span><span class="p">)</span> <span class="o">&gt;=</span> <span class="mf">20.</span><span cl