docs: def greg2julian(year, month, day, hour, minute, second):
      """
      Function to convert a date from Gregorian to Julian format
  
      :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 julian_time:
          Julian representation of the time (as float numpy.ndarray)
      """
      year = year.astype(float)
      month = month.astype(float)
      day = day.astype(float)
  
      timeut = hour.astype(float) + (minute.astype(float) / 60.0) + \
          (second / 3600.0)
  
      julian_time = ((367.0 * year) -
                     np.floor(
                         7.0 * (year + np.floor((month + 9.0) / 12.0)) / 4.0) -
                     np.floor(3.0 *
                              (np.floor((year + (month - 9.0) / 7.0) / 100.0) +
                               1.0) / 4.0) +
                     np.floor((275.0 * month) / 9.0) +
                     day + 1721028.5 + (timeut / 24.0))
      return julian_time