code: def _get_data_collections(dnr_values, dhr_values, metadata, timestep, is_leap_year):
          
          analysis_period = AnalysisPeriod(timestep=timestep, is_leap_year=is_leap_year)
          dnr_header = Header(data_type=DirectNormalIrradiance(),
                              unit='W/m2',
                              analysis_period=analysis_period,
                              metadata=metadata)
          direct_norm_rad = HourlyContinuousCollection(dnr_header, dnr_values)
          dhr_header = Header(data_type=DiffuseHorizontalIrradiance(),
                              unit='W/m2',
                              analysis_period=analysis_period,
                              metadata=metadata)
          diffuse_horiz_rad = HourlyContinuousCollection(dhr_header, dhr_values)
  
          return direct_norm_rad, diffuse_horiz_rad
docs: Return two data collections for Direct Normal , Diffuse Horizontal