docs: def decimal_time(year, month, day, hour, minute, second):
      """
      Returns the full time as a decimal value
  
      :param year:
          Year of events (integer numpy.ndarray)
      :param month:
          Month of events (integer numpy.ndarray)
      :param day:
          Days of event (integer numpy.ndarray)
      :param hour:
          Hour of event (integer numpy.ndarray)
      :param minute:
          Minute of event (integer numpy.ndarray)
      :param second:
          Second of event (float numpy.ndarray)
      :returns decimal_time:
          Decimal representation of the time (as numpy.ndarray)
      """
      tmo = np.ones_like(year, dtype=int)
      tda = np.ones_like(year, dtype=int)
      tho = np.zeros_like(year, dtype=int)
      tmi = np.zeros_like(year, dtype=int)
      tse = np.zeros_like(year, dtype=float)
      #
      # Checking inputs
      if any(month < 1) or any(month > 12):
          raise ValueError('Month must be in [1, 12]')
      if any(day < 1) or any(day > 31):
          raise ValueError('Day must be in [1, 31]')
      if any(hour < 0) or any(hour > 24):
          raise ValueError('Hour must be in [0, 24]')
      if any(minute < 0) or any(minute > 60):
          raise ValueError('Minute must be in [0, 60]')
      if any(second < 0) or any(second > 60):
          raise ValueError('Second must be in [0, 60]')
      #
      # Initialising values
      if any(month):
          tmo = month
      if any(day):
          tda = day
      if any(hour):
          tho = hour
      if any(minute):
          tmi = minute
      if any(second):
          tse = second
      #
      # Computing decimal
      tmonth = tmo - 1
      day_count = MARKER_NORMAL[tmonth] + tda - 1
      id_leap = leap_check(year)
      leap_loc = np.where(id_leap)[0]
      day_count[leap_loc] = MARKER_LEAP[tmonth[leap_loc]] + tda[leap_loc] - 1
      year_secs = ((day_count.astype(float) * SECONDS_PER_DAY) + tse +
                   (60. * tmi.astype(float)) + (3600. * tho.astype(float)))
      dtime = year.astype(float) + (year_secs / (365. * 24. * 3600.))
      dtime[leap_loc] = year[leap_loc].astype(float) + \
          (year_secs[leap_loc] / (366. * 24. * 3600.))
      return dtime