@staticmethod<EOL><INDENT>def _get_data_collections(dnr_values, dhr_values, metadata, timestep, is_leap_year):<DEDENT>
analysis_period = AnalysisPeriod(timestep=timestep, is_leap_year=is_leap_year)<EOL>dnr_header = Header(data_type=DirectNormalIrradiance(),<EOL>unit='<STR_LIT>',<EOL>analysis_period=analysis_period,<EOL>metadata=metadata)<EOL>direct_norm_rad = HourlyContinuousCollection(dnr_header, dnr_values)<EOL>dhr_header = Header(data_type=DiffuseHorizontalIrradiance(),<EOL>unit='<STR_LIT>',<EOL>analysis_period=analysis_period,<EOL>metadata=metadata)<EOL>diffuse_horiz_rad = HourlyContinuousCollection(dhr_header, dhr_values)<EOL>return direct_norm_rad, diffuse_horiz_rad<EOL>
Return two data collections for Direct Normal , Diffuse Horizontal