Statistical analysis of a spatio‐temporal model with location‐dependent parameters and a test for spatial stationarity