Estimation of the total solar radiation from meteorological data