@property<EOL><INDENT>def global_horizontal_irradiance(self):<DEDENT>
analysis_period = AnalysisPeriod(timestep=self.timestep,<EOL>is_leap_year=self.is_leap_year)<EOL>header_ghr = Header(data_type=GlobalHorizontalIrradiance(),<EOL>unit='<STR_LIT>',<EOL>analysis_period=analysis_period,<EOL>metadata=self.metadata)<EOL>glob_horiz = []<EOL>sp = Sunpath.from_location(self.location)<EOL>sp.is_leap_year = self.is_leap_year<EOL>for dt, dnr, dhr in zip(self.datetimes, self.direct_normal_irradiance,<EOL>self.diffuse_horizontal_irradiance):<EOL><INDENT>sun = sp.calculate_sun_from_date_time(dt)<EOL>glob_horiz.append(dhr + dnr * math.sin(math.radians(sun.altitude)))<EOL><DEDENT>return HourlyContinuousCollection(header_ghr, glob_horiz)<EOL>
Returns the global horizontal irradiance at each timestep.