Modelling solar irradiances using ground-based measurements