A non-homogeneous Poisson based model for daily rainfall data