A Cox Process with State-Dependent Exponential Pulses to Model Rainfall