A method to parameterize the downward solar radiation at ground