Identification of periods of clear sky irradiance in time series of GHI measurements