def __init__(self, location, direct_normal_irradiance,<EOL>diffuse_horizontal_irradiance, timestep=<NUM_LIT:1>, is_leap_year=False):
timestep = timestep or <NUM_LIT:1><EOL>self._timestep = timestep<EOL>self._is_leap_year = is_leap_year<EOL>assert isinstance(timestep, int), '<STR_LIT>''<STR_LIT>'.format(type(timestep))<EOL>self.location = location<EOL>self.direct_normal_irradiance = direct_normal_irradiance<EOL>self.diffuse_horizontal_irradiance = diffuse_horizontal_irradiance<EOL>self.metadata = {'<STR_LIT:source>': location.source, '<STR_LIT>': location.country,<EOL>'<STR_LIT>': location.city}<EOL>
Create a wea object.