ss="k">def</span> <span class="nf">check_time</span><span class="p">(</span><span class="n">ftime</span><span class="p">):</span>
    <span class="sd">&#39;&#39;&#39;Check if time variable is of type list. Otherwise convert to list.</span>

<span class="sd">    Parameters</span>
<span class="sd">    ----------</span>
<span class="sd">    ftime : list of str or str</span>
<span class="sd">        The time in hours of the field.</span>

<span class="sd">    Return</span>
<span class="sd">    ------</span>
<sp