docs: def solar_noon(self, date=None, local=True):
          """Calculates the solar noon (the time when the sun is at its highest
          point.)
  
          :param date: The date for which to calculate the noon time.
                       If no date is specified then the current date will be used.
          :type date:  :class:`~datetime.date`
  
          :param local: True  = Time to be returned in location's time zone;
                        False = Time to be returned in UTC.
                        If not specified then the time will be returned in local time
          :type local:  bool
  
          :returns: The date and time at which the solar noon occurs.
          :rtype: :class:`~datetime.datetime`
          """
  
          if local and self.timezone is None:
              raise ValueError("Local time requested but Location has no timezone set.")
  
          if self.astral is None:
              self.astral = Astral()
  
          if date is None:
              date = datetime.date.today()
  
          noon = self.astral.solar_noon_utc(date, self.longitude)
  
          if local:
              return noon.astimezone(self.tz)
          else:
              return noon