A new approach for assessing the clear-sky direct normal irradiance in real time