t data</span>
<span class="sd">    :param axis: (tuple) - axis to average over</span>
<span class="sd">    :param times_idc: (np.array) - time indices</span>
<span class="sd">    :param lats_idc: (np.array) - latitude indices</span>
<span class="sd">    :param lons_idc: (np.array) - longitude indices</span>
<span class="sd">    :param lvls_idc: (float) - level indices</span>
<span class="sd">    :param change_lvl_order: (boolean) - changes order of level dimension</span>
<span class="sd">    :return avg: (n