code: def _full_to_yearly_ts(self, arr, dt):
          
          time_defined = self.def_time and not ('av' in self.dtype_in_time)
          if time_defined:
              arr = utils.times.yearly_average(arr, dt)
          return arr
docs: Average the full timeseries within each year.